Many zombies processes

After update to version 2.52 i have many Zombie processes.




[root@stor2rrd ~]# for pid in $(ps axo pid=,stat= | awk '$2~/^Z/ { print $1 }') ; do pstree -p -a -s -A "$pid" ; done
systemd,1 --switched-root --system --deserialize 22
  `-perl,1874 -w /home/stor2rrd/stor2rrd/bin/svcperf.pl SW3700_bkp_second
      `-(ssh,17256)
systemd,1 --switched-root --system --deserialize 22
  `-perl,1586 -w /home/stor2rrd/stor2rrd/bin/svcperf.pl SW5000_NB_main
      `-(ssh,17307)
systemd,1 --switched-root --system --deserialize 22
  `-perl,1607 -w /home/stor2rrd/stor2rrd/bin/svcperf.pl SW5000_NB_second
      `-(ssh,17444)
systemd,1 --switched-root --system --deserialize 22
  `-perl,1533 -w /home/stor2rrd/stor2rrd/bin/svcperf.pl SW5030_DB_second
      `-(ssh,17564)
systemd,1 --switched-root --system --deserialize 22
  `-perl,16491 -w /home/lpar2rrd/lpar2rrd/bin/lpar2rrd-daemon.pl
      `-(perl,17851)

Comments

  • Hi,

    this output:

    date
    ps -ef| grep defunct

  • This server with OS CentOS 7.6 is virtual.
    I add vProcessors (x2, summary 8 vCPU), but it not effect.

  • [root@stor2rrd /]# date
    Mon Mar 25 15:26:39 MSK 2019
    [root@stor2rrd /]# ps -ef| grep defunct
    stor2rrd   520  1874  0 15:26 ?        00:00:00 [ssh] <defunct>
    stor2rrd   531  1650  0 15:26 ?        00:00:00 [ssh] <defunct>
    stor2rrd   551  1586  0 15:26 ?        00:00:00 [ssh] <defunct>
    root       574 28752  0 15:26 pts/3    00:00:00 grep --color=auto defunct
    stor2rrd 28902  1533  0 15:24 ?        00:00:00 [ssh] <defunct>
    stor2rrd 31981  1646  0 15:25 ?        00:00:00 [ssh] <defunct>
    stor2rrd 32076  1826  0 15:25 ?        00:00:00 [ssh] <defunct>
    lpar2rrd 32551 16491  1 15:26 ?        00:00:00 [perl] <defunct>

  • they will disapper, it is not a problem.
    it is just a record in the process table it does not spend any resources.
  • Yes, Pavel. Oldest is killed OS, but born new.
    Just for info.
    Nagios spam me warning mail every 3-5 minutes. Somthing changed in new version.
  • change nagios tresholds :)
    they is not killed by the OS, they disapper after their parents exit. defunct cannot be killed, it is not a proces in fact.
Sign In or Register to comment.