Can't kill a non-numeric process ID at /opt/zimbra/bin/zmstatctl line 207

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
GreatGazoo
Posts: 7
Joined: Fri Sep 26, 2014 7:39 am

Can't kill a non-numeric process ID at /opt/zimbra/bin/zmstatctl line 207

Postby GreatGazoo » Fri Sep 26, 2014 7:45 am

I used ps aux | grep zimbra and lsof | grep LISTEN and did not find anything that really helped.  Anyone had to deal with before?



Raunaq
Zimbra Employee
Zimbra Employee
Posts: 39
Joined: Fri Sep 12, 2014 11:22 pm

Can't kill a non-numeric process ID at /opt/zimbra/bin/zmstatctl line 207

Postby Raunaq » Fri Sep 26, 2014 8:06 am

Hello GreatGazoo,



Did you tried restarting all the services by

zmcontrol restart
GreatGazoo
Posts: 7
Joined: Fri Sep 26, 2014 7:39 am

Can't kill a non-numeric process ID at /opt/zimbra/bin/zmstatctl line 207

Postby GreatGazoo » Fri Sep 26, 2014 8:16 am

I have several times and no matter what it always comes back. I updated the kernel on Ubuntu 12.04 as recommended but since then this is occurring.
User avatar
quanah
Zimbra Alumni
Zimbra Alumni
Posts: 1668
Joined: Fri Sep 12, 2014 10:33 pm
Contact:

Can't kill a non-numeric process ID at /opt/zimbra/bin/zmstatctl line 207

Postby quanah » Fri Sep 26, 2014 1:42 pm

Looks like you have a stale pid file on disk you need to remove.
--
Quanah Gibson-Mount
Product Architect, Symas http://www.symas.com/
OpenLDAP Core team http://www.openldap.org/project/
RuiSimoes
Posts: 10
Joined: Sat Sep 13, 2014 2:31 am

Can't kill a non-numeric process ID at /opt/zimbra/bin/zmstatctl line 207

Postby RuiSimoes » Tue Oct 28, 2014 10:59 am

Look into the dir "/opt/zimbra/zmstat/pid/"



If you have something... rename to ".old" and try to start the service "/opt/zimbra/bin/zmstatctl start"
GreatGazoo
Posts: 7
Joined: Fri Sep 26, 2014 7:39 am

Can't kill a non-numeric process ID at /opt/zimbra/bin/zmstatctl line 207

Postby GreatGazoo » Wed Oct 29, 2014 2:40 pm

I have the following under that directory:



  1. zmstat-allprocs.pid  

  2. zmstat-fd.pid      

  3. zmstat-io-x.pid      

  4. zmstat-proc.pid

  5. zmstat-cpu.pid     

  6. zmstat-fd-real.pid

  7. zmstat-ldap.pid      

  8. zmstat-vm.pid

  9. zmstat-df.pid

  10. zmstat-io.pid

  11. zmstat-mtaqueue.pid


GreatGazoo
Posts: 7
Joined: Fri Sep 26, 2014 7:39 am

Can't kill a non-numeric process ID at /opt/zimbra/bin/zmstatctl line 207

Postby GreatGazoo » Wed Oct 29, 2014 3:01 pm

Turns out that was it...THANK YOU
pivert
Posts: 18
Joined: Sat Sep 13, 2014 12:12 am

Re: Can't kill a non-numeric process ID at /opt/zimbra/bin/zmstatctl line 207

Postby pivert » Fri Jul 19, 2019 8:35 pm

Same issue, found this in the folder:

Code: Select all

zimbra@srv:~/zmstat/pid$ ls -lh
total 0
-rw-r----- 1 zimbra zimbra 0 Mar 13  2017 zmstat-allprocs.pid
-rw-r----- 1 zimbra zimbra 0 Mar 13  2017 zmstat-cpu.pid
-rw-r----- 1 zimbra zimbra 0 Mar 13  2017 zmstat-fd-real.pid
-rw-r----- 1 zimbra zimbra 0 Mar 13  2017 zmstat-fd.pid
-rw-r----- 1 zimbra zimbra 0 Mar 13  2017 zmstat-io-x.pid
-rw-r----- 1 zimbra zimbra 0 Mar 13  2017 zmstat-io.pid
-rw-r----- 1 zimbra zimbra 0 Mar 13  2017 zmstat-ldap.pid
-rw-r----- 1 zimbra zimbra 0 Mar 13  2017 zmstat-mtaqueue.pid
-rw-r----- 1 zimbra zimbra 0 Mar 13  2017 zmstat-nginx.pid
-rw-r----- 1 zimbra zimbra 0 Mar 13  2017 zmstat-proc.pid
-rw-r----- 1 zimbra zimbra 0 Mar 13  2017 zmstat-vm.pid



  • Deleting them fixed the problem (they were all empty, 0 bytes, and more than 2 years old)
  • After deletion and a zmcontrol start, files were recreated, each containing a PID.
  • Zimbra team should add a routine to ensure this folder is cleaned during upgrades, and maybe on restarts.

Return to “Administrators”

Who is online

Users browsing this forum: JDunphy and 17 guests