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

Zabbix server crash due to configuration syncer memory leak

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 6.4.9
    • Server (S)
    • None
    • Redhat 8.7
      Mysql 8.0.32

      I've encountered 3 crashes of the zabbix_server. The stack trace shows that the last calls were from the LLD worker, but in the log file I see this:

      [file:dbconfig.c,line:109] __zbx_shmem_malloc(): out of memory (requested 1656471 bytes)
      [file:dbconfig.c,line:109] __zbx_shmem_malloc(): please increase CacheSize configuration paramater

      I can confirm that the CacheSize, according to the built-in Zabbx server internal metric "Configuration cache, % used", was 49% utilized at the time of the crash. 

      In the zabbix_server.conf the CacheSize parameter is set to 20G. A minute before time of crash the resident set size was 19.0GB. I can also see that over time the resident set size has been slowly increasing, indicating a possible memory leak?

      Let me know if you need additional details about the call stack in the LLD worker at time of crash.

            tbross Tomass Janis Bross
            GRyan337 Ryan Eberly
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: