Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-8501

Memory leak in server poller

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 2.2.4rc1
    • 2.2.3
    • Server (S)

      There is a problem after upgrading to 2.2.3.

      Poller increases the memory usage and goes into swap.

      The server is using 14GB RAM and 4GB SWAP.

      Zabbix server v2.2.3 (revision 44105) (7 April 2014)
      Compilation time: Apr 07 2014 09:12:05

      root 13149 0.0 0.1 2223520 23704 ? S Jul14 0:27 /usr/sbin/zabbix-server: poller #1 [got 20 values in 5.152309 sec, getting values]
      root 13150 0.0 0.1 2223672 23776 ? S Jul14 0:28 /usr/sbin/zabbix-server: poller #2 [got 0 values in 0.000002 sec, idle 1 sec]
      root 13151 0.0 0.1 2223772 23864 ? S Jul14 0:28 /usr/sbin/zabbix-server: poller #3 [got 12 values in 5.041238 sec, getting values]
      root 13152 0.0 0.1 2223752 24012 ? S Jul14 0:28 /usr/sbin/zabbix-server: poller #4 [got 6 values in 5.102845 sec, getting values]
      root 13153 0.0 0.1 2223680 23884 ? S Jul14 0:28 /usr/sbin/zabbix-server: poller #5 [got 20 values in 5.047595 sec, getting values]
      root 13154 0.0 0.1 2223644 23916 ? S Jul14 0:28 /usr/sbin/zabbix-server: poller #6 [got 0 values in 0.000003 sec, idle 1 sec]
      root 13155 0.0 0.1 2223328 23360 ? S Jul14 0:26 /usr/sbin/zabbix-server: poller #7 [got 4 values in 0.013041 sec, idle 1 sec]
      root 13156 0.0 0.1 2223724 24056 ? S Jul14 0:27 /usr/sbin/zabbix-server: poller #8 [got 1 values in 0.001280 sec, getting values]
      root 13157 0.0 0.1 2223736 23948 ? S Jul14 0:28 /usr/sbin/zabbix-server: poller #9 [got 12 values in 5.035019 sec, getting values]
      root 13158 0.0 0.1 2223912 24312 ? S Jul14 0:28 /usr/sbin/zabbix-server: poller #10 [got 22 values in 5.046622 sec, getting values]

      root 13149 0.0 0.3 2244644 55340 ? S Jul14 3:09 /usr/sbin/zabbix-server: poller #1 [got 0 values in 0.000003 sec, idle 1 sec]
      root 13150 0.0 0.3 2244760 55408 ? S Jul14 3:09 /usr/sbin/zabbix-server: poller #2 [got 0 values in 0.000002 sec, idle 1 sec]
      root 13151 0.0 0.3 2244516 54928 ? S Jul14 3:09 /usr/sbin/zabbix-server: poller #3 [got 0 values in 0.000003 sec, idle 1 sec]
      root 13152 0.0 0.3 2245292 55800 ? S Jul14 3:10 /usr/sbin/zabbix-server: poller #4 [got 0 values in 0.000003 sec, idle 1 sec]
      root 13153 0.0 0.3 2245040 55268 ? S Jul14 3:10 /usr/sbin/zabbix-server: poller #5 [got 23 values in 3.798081 sec, getting values]
      root 13154 0.0 0.3 2244816 55204 ? S Jul14 3:08 /usr/sbin/zabbix-server: poller #6 [got 0 values in 0.000003 sec, idle 1 sec]
      root 13155 0.0 0.3 2244544 55024 ? S Jul14 3:08 /usr/sbin/zabbix-server: poller #7 [got 0 values in 0.000002 sec, idle 1 sec]
      root 13156 0.0 0.3 2244992 55436 ? S Jul14 3:09 /usr/sbin/zabbix-server: poller #8 [got 16 values in 4.123414 sec, getting values]
      root 13157 0.0 0.3 2244420 54904 ? S Jul14 3:08 /usr/sbin/zabbix-server: poller #9 [got 10 values in 0.023651 sec, idle 1 sec]
      root 13158 0.0 0.3 2244768 55408 ? S Jul14 3:09 /usr/sbin/zabbix-server: poller #10 [got 0 values in 0.000002 sec, idle 1 sec]

      13150: zabbix-server
      START SIZE RSS PSS DIRTY SWAP PERM MAPPING
      0000000000400000 1048K 428K 4K 0K 0K r-xp /usr/sbin/zabbix-server-mysql
      0000000000706000 324K 8K 0K 4K 0K r--p /usr/sbin/zabbix-server-mysql
      0000000000757000 16K 12K 8K 12K 0K rw-p /usr/sbin/zabbix-server-mysql
      000000000075b000 24K 12K 12K 12K 0K rw-p [anon]
      00000000024ab000 132K 72K 24K 72K 0K rw-p [heap]
      00000000024cc000 224K 224K 148K 224K 0K rw-p [heap]
      0000000002504000 25636K 25560K 25560K 25560K 0K rw-p [heap]
      00007f41ac000000 132K 4K 4K 4K 0K rw-p [anon]
      00007f41ac021000 65404K 0K 0K 0K 0K ---p [anon]
      00007f41b104d000 48K 0K 0K 0K 0K r-xp /lib64/libnss_files-2.17.so
      00007f41b1059000 2044K 0K 0K 0K 0K ---p /lib64/libnss_files-2.17.so
      00007f41b1258000 4K 4K 0K 4K 0K r--p /lib64/libnss_files-2.17.so
      00007f41b1259000 4K 4K 0K 4K 0K rw-p /lib64/libnss_files-2.17.so
      00007f41b125a000 84K 0K 0K 0K 0K r-xp /lib64/libgcc_s.so.1
      00007f41b126f000 2044K 0K 0K 0K 0K ---p /lib64/libgcc_s.so.1
      00007f41b146e000 4K 4K 0K 4K 0K r--p /lib64/libgcc_s.so.1
      00007f41b146f000 4K 4K 0K 4K 0K rw-p /lib64/libgcc_s.so.1
      00007f41b1479000 4K 0K 0K 0K 0K ---p [anon]
      00007f41b147a000 8192K 8K 4K 8K 0K rw-p [anon]
      00007f41b1c7a000 305052K 204K 2K 204K 0K rw-s /SYSV7301c1e7
      00007f41c4661000 1728616K 2488K 24K 2488K 0K rw-s /SYSV6701c1e7
      00007f422de7b000 4096K 4K 0K 4K 0K rw-s /SYSV7401c1e7
      00007f422e27b000 16384K 15616K 165K 15616K 0K rw-s /SYSV7801c1e7
      00007f422f27b000 8192K 8164K 77K 8164K 0K rw-s /SYSV6801c1e7
      00007f422fa7b000 120K 0K 0K 0K 0K r-xp /lib64/libselinux.so.1
      00007f422fa99000 2044K 0K 0K 0K 0K ---p /lib64/libselinux.so.1
      00007f422fc98000 4K 4K 0K 4K 0K r--p /lib64/libselinux.so.1
      00007f422fc99000 4K 4K 0K 4K 0K rw-p /lib64/libselinux.so.1
      00007f422fc9a000 4K 0K 0K 0K 0K rw-p [anon]
      00007f422fc9b000 12K 0K 0K 0K 0K r-xp /lib64/libkeyutils.so.1.4
      00007f422fc9e000 2044K 0K 0K 0K 0K ---p /lib64/libkeyutils.so.1.4
      00007f422fe9d000 4K 4K 0K 4K 0K r--p /lib64/libkeyutils.so.1.4
      00007f422fe9e000 4K 4K 0K 4K 0K rw-p /lib64/libkeyutils.so.1.4
      00007f422fe9f000 36K 0K 0K 0K 0K r-xp /usr/lib64/libkrb5support.so.0.1
      00007f422fea8000 2044K 0K 0K 0K 0K ---p /usr/lib64/libkrb5support.so.0.1
      00007f42300a7000 4K 4K 0K 4K 0K r--p /usr/lib64/libkrb5support.so.0.1
      00007f42300a8000 4K 4K 0K 4K 0K rw-p /usr/lib64/libkrb5support.so.0.1
      00007f42300a9000 12K 0K 0K 0K 0K r-xp /usr/lib64/libcom_err.so.2.1
      00007f42300ac000 2044K 0K 0K 0K 0K ---p /usr/lib64/libcom_err.so.2.1
      00007f42302ab000 4K 4K 0K 4K 0K r--p /usr/lib64/libcom_err.so.2.1
      00007f42302ac000 4K 4K 0K 4K 0K rw-p /usr/lib64/libcom_err.so.2.1
      00007f42302ad000 152K 0K 0K 0K 0K r-xp /usr/lib64/libk5crypto.so.3.1
      00007f42302d3000 2048K 0K 0K 0K 0K ---p /usr/lib64/libk5crypto.so.3.1
      00007f42304d3000 4K 4K 0K 4K 0K r--p /usr/lib64/libk5crypto.so.3.1
      00007f42304d4000 4K 4K 0K 4K 0K rw-p /usr/lib64/libk5crypto.so.3.1
      00007f42304d5000 4K 0K 0K 0K 0K rw-p [anon]
      00007f42304d6000 804K 0K 0K 0K 0K r-xp /usr/lib64/libkrb5.so.3.3
      00007f423059f000 2044K 0K 0K 0K 0K ---p /usr/lib64/libkrb5.so.3.3
      00007f423079e000 40K 40K 0K 40K 0K r--p /usr/lib64/libkrb5.so.3.3
      00007f42307a8000 8K 8K 0K 8K 0K rw-p /usr/lib64/libkrb5.so.3.3
      00007f42307aa000 240K 0K 0K 0K 0K r-xp /usr/lib64/libgssapi_krb5.so.2.2
      00007f42307e6000 2048K 0K 0K 0K 0K ---p /usr/lib64/libgssapi_krb5.so.2.2
      00007f42309e6000 4K 4K 0K 4K 0K r--p /usr/lib64/libgssapi_krb5.so.2.2
      00007f42309e7000 8K 8K 0K 8K 0K rw-p /usr/lib64/libgssapi_krb5.so.2.2
      00007f42309e9000 200K 0K 0K 0K 0K r-xp /usr/lib64/libidn.so.11.6.8
      00007f4230a1b000 2048K 0K 0K 0K 0K ---p /usr/lib64/libidn.so.11.6.8
      00007f4230c1b000 4K 4K 0K 4K 0K r--p /usr/lib64/libidn.so.11.6.8
      00007f4230c1c000 4K 4K 0K 4K 0K rw-p /usr/lib64/libidn.so.11.6.8
      00007f4230c1d000 112K 0K 0K 0K 0K r-xp /usr/lib64/libsasl2.so.2.0.25
      00007f4230c39000 2044K 0K 0K 0K 0K ---p /usr/lib64/libsasl2.so.2.0.25
      00007f4230e38000 4K 4K 0K 4K 0K r--p /usr/lib64/libsasl2.so.2.0.25
      00007f4230e39000 4K 4K 0K 4K 0K rw-p /usr/lib64/libsasl2.so.2.0.25
      00007f4230e3a000 32K 0K 0K 0K 0K r-xp /usr/lib64/libgdbm.so.4.0.0
      00007f4230e42000 2044K 0K 0K 0K 0K ---p /usr/lib64/libgdbm.so.4.0.0
      00007f4231041000 4K 4K 0K 4K 0K r--p /usr/lib64/libgdbm.so.4.0.0
      00007f4231042000 4K 4K 0K 4K 0K rw-p /usr/lib64/libgdbm.so.4.0.0
      00007f4231043000 32K 0K 0K 0K 0K r-xp /usr/lib64/libOpenIPMIutils.so.0.0.1
      00007f423104b000 2044K 0K 0K 0K 0K ---p /usr/lib64/libOpenIPMIutils.so.0.0.1
      00007f423124a000 4K 4K 0K 4K 0K r--p /usr/lib64/libOpenIPMIutils.so.0.0.1
      00007f423124b000 4K 4K 0K 4K 0K rw-p /usr/lib64/libOpenIPMIutils.so.0.0.1
      00007f423124c000 148K 0K 0K 0K 0K r-xp /usr/lib64/liblzma.so.5.0.4
      00007f4231271000 2044K 0K 0K 0K 0K ---p /usr/lib64/liblzma.so.5.0.4
      00007f4231470000 4K 4K 0K 4K 0K r--p /usr/lib64/liblzma.so.5.0.4
      00007f4231471000 4K 4K 0K 4K 0K rw-p /usr/lib64/liblzma.so.5.0.4
      00007f4231472000 92K 20K 0K 0K 0K r-xp /lib64/libpthread-2.17.so
      00007f4231489000 2044K 0K 0K 0K 0K ---p /lib64/libpthread-2.17.so
      00007f4231688000 4K 4K 0K 4K 0K r--p /lib64/libpthread-2.17.so
      00007f4231689000 4K 4K 4K 4K 0K rw-p /lib64/libpthread-2.17.so
      00007f423168a000 16K 4K 4K 4K 0K rw-p [anon]
      00007f423168e000 1704K 176K 1K 0K 0K r-xp /lib64/libcrypto.so.1.0.0
      00007f4231838000 2044K 0K 0K 0K 0K ---p /lib64/libcrypto.so.1.0.0
      00007f4231a37000 108K 108K 0K 108K 0K r--p /lib64/libcrypto.so.1.0.0
      00007f4231a52000 44K 44K 4K 44K 0K rw-p /lib64/libcrypto.so.1.0.0
      00007f4231a5d000 16K 8K 4K 8K 0K rw-p [anon]
      00007f4231a61000 384K 4K 0K 0K 0K r-xp /lib64/libssl.so.1.0.0
      00007f4231ac1000 2044K 0K 0K 0K 0K ---p /lib64/libssl.so.1.0.0
      00007f4231cc0000 16K 16K 0K 16K 0K r--p /lib64/libssl.so.1.0.0
      00007f4231cc4000 24K 24K 0K 24K 0K rw-p /lib64/libssl.so.1.0.0
      00007f4231cca000 4K 0K 0K 0K 0K rw-p [anon]
      00007f4231ccb000 84K 4K 0K 0K 0K r-xp /lib64/libz.so.1.2.7
      00007f4231ce0000 2044K 0K 0K 0K 0K ---p /lib64/libz.so.1.2.7
      00007f4231edf000 4K 4K 0K 4K 0K r--p /lib64/libz.so.1.2.7
      00007f4231ee0000 4K 4K 0K 4K 0K rw-p /lib64/libz.so.1.2.7
      00007f4231ee1000 1680K 668K 4K 0K 0K r-xp /lib64/libc-2.17.so
      00007f4232085000 2048K 0K 0K 0K 0K ---p /lib64/libc-2.17.so
      00007f4232285000 16K 16K 0K 16K 0K r--p /lib64/libc-2.17.so
      00007f4232289000 8K 8K 8K 8K 0K rw-p /lib64/libc-2.17.so
      00007f423228b000 16K 16K 12K 16K 0K rw-p [anon]
      00007f423228f000 76K 4K 0K 0K 0K r-xp /lib64/libresolv-2.17.so
      00007f42322a2000 2048K 0K 0K 0K 0K ---p /lib64/libresolv-2.17.so
      00007f42324a2000 4K 4K 0K 4K 0K r--p /lib64/libresolv-2.17.so
      00007f42324a3000 4K 4K 0K 4K 0K rw-p /lib64/libresolv-2.17.so
      00007f42324a4000 8K 0K 0K 0K 0K rw-p [anon]
      00007f42324a6000 12K 4K 0K 0K 0K r-xp /lib64/libdl-2.17.so
      00007f42324a9000 2044K 0K 0K 0K 0K ---p /lib64/libdl-2.17.so
      00007f42326a8000 4K 4K 0K 4K 0K r--p /lib64/libdl-2.17.so
      00007f42326a9000 4K 4K 0K 4K 0K rw-p /lib64/libdl-2.17.so
      00007f42326aa000 400K 4K 0K 0K 0K r-xp /usr/lib64/libcurl.so.4.3.0
      00007f423270e000 2044K 0K 0K 0K 0K ---p /usr/lib64/libcurl.so.4.3.0
      00007f423290d000 8K 8K 0K 8K 0K r--p /usr/lib64/libcurl.so.4.3.0
      00007f423290f000 4K 4K 0K 4K 0K rw-p /usr/lib64/libcurl.so.4.3.0
      00007f4232910000 56K 4K 0K 0K 0K r-xp /usr/lib64/liblber-2.4.so.2.8.5
      00007f423291e000 2044K 0K 0K 0K 0K ---p /usr/lib64/liblber-2.4.so.2.8.5
      00007f4232b1d000 4K 4K 0K 4K 0K r--p /usr/lib64/liblber-2.4.so.2.8.5
      00007f4232b1e000 4K 4K 0K 4K 0K rw-p /usr/lib64/liblber-2.4.so.2.8.5
      00007f4232b1f000 288K 4K 0K 0K 0K r-xp /usr/lib64/libldap-2.4.so.2.8.5
      00007f4232b67000 2044K 0K 0K 0K 0K ---p /usr/lib64/libldap-2.4.so.2.8.5
      00007f4232d66000 4K 4K 0K 4K 0K r--p /usr/lib64/libldap-2.4.so.2.8.5
      00007f4232d67000 8K 8K 0K 8K 0K rw-p /usr/lib64/libldap-2.4.so.2.8.5
      00007f4232d69000 20K 0K 0K 0K 0K r-xp /usr/lib64/libOpenIPMIposix.so.0.0.1
      00007f4232d6e000 2044K 0K 0K 0K 0K ---p /usr/lib64/libOpenIPMIposix.so.0.0.1
      00007f4232f6d000 4K 4K 0K 4K 0K r--p /usr/lib64/libOpenIPMIposix.so.0.0.1
      00007f4232f6e000 4K 4K 0K 4K 0K rw-p /usr/lib64/libOpenIPMIposix.so.0.0.1
      00007f4232f6f000 944K 0K 0K 0K 0K r-xp /usr/lib64/libOpenIPMI.so.0.0.5
      00007f423305b000 2048K 0K 0K 0K 0K ---p /usr/lib64/libOpenIPMI.so.0.0.5
      00007f423325b000 88K 40K 0K 40K 0K r--p /usr/lib64/libOpenIPMI.so.0.0.5
      00007f4233271000 24K 24K 0K 24K 0K rw-p /usr/lib64/libOpenIPMI.so.0.0.5
      00007f4233277000 20K 20K 0K 20K 0K rw-p [anon]
      00007f423327c000 156K 0K 0K 0K 0K r-xp /usr/lib64/libssh2.so.1.0.1
      00007f42332a3000 2048K 0K 0K 0K 0K ---p /usr/lib64/libssh2.so.1.0.1
      00007f42334a3000 4K 4K 0K 4K 0K r--p /usr/lib64/libssh2.so.1.0.1
      00007f42334a4000 4K 4K 0K 4K 0K rw-p /usr/lib64/libssh2.so.1.0.1
      00007f42334a5000 1012K 4K 0K 0K 0K r-xp /lib64/libm-2.17.so
      00007f42335a2000 2044K 0K 0K 0K 0K ---p /lib64/libm-2.17.so
      00007f42337a1000 4K 4K 0K 4K 0K r--p /lib64/libm-2.17.so
      00007f42337a2000 4K 4K 0K 4K 0K rw-p /lib64/libm-2.17.so
      00007f42337a3000 676K 228K 2K 0K 0K r-xp /usr/lib64/libnetsnmp.so.30.0.2
      00007f423384c000 2044K 0K 0K 0K 0K ---p /usr/lib64/libnetsnmp.so.30.0.2
      00007f4233a4b000 4K 4K 0K 4K 0K r--p /usr/lib64/libnetsnmp.so.30.0.2
      00007f4233a4c000 16K 16K 16K 16K 0K rw-p /usr/lib64/libnetsnmp.so.30.0.2
      00007f4233a50000 212K 212K 212K 212K 0K rw-p [anon]
      00007f4233a85000 1392K 16K 0K 0K 0K r-xp /usr/lib64/libxml2.so.2.9.0
      00007f4233be1000 2044K 0K 0K 0K 0K ---p /usr/lib64/libxml2.so.2.9.0
      00007f4233de0000 32K 32K 0K 32K 0K r--p /usr/lib64/libxml2.so.2.9.0
      00007f4233de8000 8K 8K 0K 8K 0K rw-p /usr/lib64/libxml2.so.2.9.0
      00007f4233dea000 12K 4K 0K 4K 0K rw-p [anon]
      00007f4233ded000 52K 0K 0K 0K 0K r-xp /usr/lib64/libiksemel.so.3.1.1
      00007f4233dfa000 2044K 0K 0K 0K 0K ---p /usr/lib64/libiksemel.so.3.1.1
      00007f4233ff9000 4K 4K 0K 4K 0K r--p /usr/lib64/libiksemel.so.3.1.1
      00007f4233ffa000 4K 4K 0K 4K 0K rw-p /usr/lib64/libiksemel.so.3.1.1
      00007f4233ffb000 2956K 100K 0K 0K 0K r-xp /usr/lib64/libmysqlclient.so.18.0.0
      00007f42342de000 2048K 0K 0K 0K 0K ---p /usr/lib64/libmysqlclient.so.18.0.0
      00007f42344de000 32K 32K 0K 32K 0K r--p /usr/lib64/libmysqlclient.so.18.0.0
      00007f42344e6000 84K 72K 0K 72K 0K rw-p /usr/lib64/libmysqlclient.so.18.0.0
      00007f42344fb000 24K 24K 4K 24K 0K rw-p [anon]
      00007f4234501000 132K 28K 0K 0K 0K r-xp /lib64/ld-2.17.so
      00007f423470a000 56K 56K 4K 56K 0K rw-p [anon]
      00007f4234718000 32K 32K 0K 32K 0K rw-s /SYSV5301c1e7
      00007f4234720000 4K 4K 0K 4K 0K rw-p [anon]
      00007f4234721000 4K 4K 0K 4K 0K rw-p [anon]
      00007f4234722000 4K 4K 0K 4K 0K r--p /lib64/ld-2.17.so
      00007f4234723000 4K 4K 4K 4K 0K rw-p /lib64/ld-2.17.so
      00007f4234724000 4K 4K 0K 4K 0K rw-p [anon]
      00007fff806a3000 488K 300K 292K 300K 0K rw-p [stack]
      00007fff807e7000 4K 4K 0K 0K 0K r-xp [vdso]
      ffffffffff600000 4K 0K 0K 0K 0K r-xp [vsyscall]
      Total: 2244760K 55468K 26607K 53764K 0K

      35572K writable-private, 146816K readonly-private, 2062372K shared, and 50232K referenced

        1. memory.jpg
          memory.jpg
          174 kB
        2. swap.jpg
          swap.jpg
          122 kB
        3. zabbix_memory.jpg
          zabbix_memory.jpg
          122 kB
        4. valgrind_server.log
          486 kB

            Unassigned Unassigned
            ahtung Nikita
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: