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

Server housekeeper memory leakage

XMLWordPrintable

    • Sprint 50 (Mar 2019)
    • 0.25

      After upgrade to 4 version + Elasticsearch I see constantly raising memory usage by housekeeper process. After some investigation (few hk runs, pmap dump after each run) found that hk process eats +15872 kbytes after each run. So with housekeeper every hour we got ~372 Mb memory leakage every day. For now we have to restart server every month.

      Attached 3 pmap dumps and server memory usage graph.

      Server configuration:

      LogFile=/var/log/zabbix/zabbix_server.log
      LogFileSize=0
      PidFile=/var/run/zabbix/zabbix_server.pid
      SocketDir=/var/run/zabbix
      DBHost=127.0.0.1
      DBName=zabbix
      DBUser=zabbix
      DBPassword=***
      DBPort=7001
      HistoryStorageURL=http://localhost:9200
      HistoryStorageDateIndex=1
      StartPollers=4
      StartTrappers=2
      SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
      MaxHousekeeperDelete=100000
      CacheSize=2G
      StartDBSyncers=16
      HistoryCacheSize=2G
      HistoryIndexCacheSize=256M
      TrendCacheSize=128M
      ValueCacheSize=6G
      Timeout=5
      AlertScriptsPath=/usr/lib/zabbix/alertscripts
      ExternalScripts=/usr/lib/zabbix/externalscripts
      FpingLocation=/usr/bin/fping
      Fping6Location=/usr/bin/fping6
      LogSlowQueries=5000
      ProxyConfigFrequency=60
      

        1. graph.png
          graph.png
          127 kB
        2. hk-settings.png
          hk-settings.png
          251 kB
        3. pmap.1
          38 kB
        4. pmap.2
          38 kB
        5. pmap.3
          38 kB
        6. zabbix_server.objdump.gz
          8.00 MB

            vso Vladislavs Sokurenko
            Morozov Oleg Morozov
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: