ZABBIX BUGS AND ISSUES

zabbix server becomes defunct when killed

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.8.2, 1.9.0 (alpha)
  • Component/s: Server (S)
  • Labels:
    None
  • Zabbix ID:
    NA

Description

When zabbix_server is killed, it sometimes becomes forever defunct (zombie). The reason for this is that if a child process acquires a lock and then dies, the lock is not freed and the parent process cannot complete finalization steps which require that lock.

Activity

Hide
Aleksandrs Saveljevs added a comment -

Fixed in pre-1.8.2 in r11202.

Show
Aleksandrs Saveljevs added a comment - Fixed in pre-1.8.2 in r11202.
Hide
Ivan added a comment -

km zabbix # zabbix_server -V
Zabbix Server v1.8.3 (revision 13928) (16 August 2010)
Compilation time: Feb 25 2011 19:15:45

km zabbix # /etc/init.d/zabbix-server stop

  • Stopping Zabbix server ... [ !! ]
    km zabbix # ps aux | grep zab
    zabbix 2930 0.0 3.6 44984 6916 ? SN 14:17 0:02 /usr/sbin/zabbix_server
    zabbix 2942 0.0 0.0 0 0 ? ZN 14:17 0:02 [zabbix_server] <defunct>
    zabbix 2943 1.7 0.0 0 0 ? ZN 14:17 1:40 [zabbix_server] <defunct>
    zabbix 2944 0.0 0.0 0 0 ? ZN 14:17 0:00 [zabbix_server] <defunct>
    zabbix 2945 0.0 0.0 0 0 ? ZN 14:17 0:00 [zabbix_server] <defunct>
    zabbix 2946 0.0 0.0 0 0 ? ZN 14:17 0:00 [zabbix_server] <defunct>
    zabbix 2947 0.0 0.0 0 0 ? ZN 14:17 0:00 [zabbix_server] <defunct>
    zabbix 2948 0.0 0.0 0 0 ? ZN 14:17 0:00 [zabbix_server] <defunct>
    zabbix 2949 0.0 0.0 0 0 ? ZN 14:17 0:00 [zabbix_server] <defunct>
    zabbix 2950 0.0 0.0 0 0 ? ZN 14:17 0:00 [zabbix_server] <defunct>
    zabbix 2951 0.0 0.0 0 0 ? ZN 14:17 0:04 [zabbix_server] <defunct>
    zabbix 2952 0.4 0.0 0 0 ? ZN 14:17 0:28 [zabbix_server] <defunct>
    zabbix 2953 0.0 0.0 0 0 ? ZN 14:17 0:05 [zabbix_server] <defunct>
    zabbix 2954 0.6 0.0 0 0 ? ZN 14:17 0:35 [zabbix_server] <defunct>
    zabbix 2955 0.5 0.0 0 0 ? ZN 14:17 0:32 [zabbix_server] <defunct>
    zabbix 2956 0.0 0.0 0 0 ? ZN 14:17 0:00 [zabbix_server] <defunct>
    zabbix 2957 0.0 0.0 0 0 ? ZN 14:17 0:00 [zabbix_server] <defunct>
    zabbix 2958 0.0 0.0 0 0 ? ZN 14:17 0:00 [zabbix_server] <defunct>
    root 14477 0.0 0.4 4096 808 pts/1 S+ 15:55 0:00 grep --colour=auto zab
    zabbix 21271 0.0 0.0 2728 88 ? SN Apr07 0:00 /usr/sbin/zabbix_agentd
    zabbix 21272 0.3 0.3 2728 580 ? SN Apr07 175:31 /usr/sbin/zabbix_agentd
    zabbix 21273 0.1 0.3 2748 596 ? SN Apr07 110:24 /usr/sbin/zabbix_agentd
Show
Ivan added a comment - km zabbix # zabbix_server -V Zabbix Server v1.8.3 (revision 13928) (16 August 2010) Compilation time: Feb 25 2011 19:15:45 km zabbix # /etc/init.d/zabbix-server stop
  • Stopping Zabbix server ... [ !! ] km zabbix # ps aux | grep zab zabbix 2930 0.0 3.6 44984 6916 ? SN 14:17 0:02 /usr/sbin/zabbix_server zabbix 2942 0.0 0.0 0 0 ? ZN 14:17 0:02 [zabbix_server] <defunct> zabbix 2943 1.7 0.0 0 0 ? ZN 14:17 1:40 [zabbix_server] <defunct> zabbix 2944 0.0 0.0 0 0 ? ZN 14:17 0:00 [zabbix_server] <defunct> zabbix 2945 0.0 0.0 0 0 ? ZN 14:17 0:00 [zabbix_server] <defunct> zabbix 2946 0.0 0.0 0 0 ? ZN 14:17 0:00 [zabbix_server] <defunct> zabbix 2947 0.0 0.0 0 0 ? ZN 14:17 0:00 [zabbix_server] <defunct> zabbix 2948 0.0 0.0 0 0 ? ZN 14:17 0:00 [zabbix_server] <defunct> zabbix 2949 0.0 0.0 0 0 ? ZN 14:17 0:00 [zabbix_server] <defunct> zabbix 2950 0.0 0.0 0 0 ? ZN 14:17 0:00 [zabbix_server] <defunct> zabbix 2951 0.0 0.0 0 0 ? ZN 14:17 0:04 [zabbix_server] <defunct> zabbix 2952 0.4 0.0 0 0 ? ZN 14:17 0:28 [zabbix_server] <defunct> zabbix 2953 0.0 0.0 0 0 ? ZN 14:17 0:05 [zabbix_server] <defunct> zabbix 2954 0.6 0.0 0 0 ? ZN 14:17 0:35 [zabbix_server] <defunct> zabbix 2955 0.5 0.0 0 0 ? ZN 14:17 0:32 [zabbix_server] <defunct> zabbix 2956 0.0 0.0 0 0 ? ZN 14:17 0:00 [zabbix_server] <defunct> zabbix 2957 0.0 0.0 0 0 ? ZN 14:17 0:00 [zabbix_server] <defunct> zabbix 2958 0.0 0.0 0 0 ? ZN 14:17 0:00 [zabbix_server] <defunct> root 14477 0.0 0.4 4096 808 pts/1 S+ 15:55 0:00 grep --colour=auto zab zabbix 21271 0.0 0.0 2728 88 ? SN Apr07 0:00 /usr/sbin/zabbix_agentd zabbix 21272 0.3 0.3 2728 580 ? SN Apr07 175:31 /usr/sbin/zabbix_agentd zabbix 21273 0.1 0.3 2748 596 ? SN Apr07 110:24 /usr/sbin/zabbix_agentd

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: