Ad Widget

Collapse

Config CacheSize for zabbix docker

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fascino18995
    Junior Member
    • Nov 2022
    • 1

    #1

    Config CacheSize for zabbix docker


    Hi Guys
    I faced with a problem. Zabbix server wont start due to a memory error. logs details are below:
    175:20221114:073433.605 3: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](main+0x57c) [0x56543cfa82bc]
    175:20221114:073433.605 2: /lib/x86_64-linux-gnu/libc.so.6(+0x29d90) [0x7fcf2cefbd90]
    175:20221114:073433.605 1: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80) [0x7fcf2cefbe40]
    175:20221114:073433.605 0: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](_start+0x25) [0x56543cfaf605]
    175:20221114:073433.605 [file:dbconfig.c,line:97] __zbx_shmem_realloc(): out of memory (requested 366104 bytes)
    175:20221114:073433.605 [file:dbconfig.c,line:97] __zbx_shmem_realloc(): please increase CacheSize configuration parameter
    7:20221114:073433.612 One child process died (PID:175,exitcode/signal:1). Exiting ...
    173:20221114:073433.612 HA manager has been paused
    173:20221114:073433.637 HA manager has been stopped
    7:20221114:073433.639 Zabbix Server stopped. Zabbix 6.2.4 (revision 885eaef).

    I install Zabbix by Docker and ​i don't know how to configure CacheSize using docker.

    zz0.cfa5z8axrpezz

  • LuisO
    Junior Member
    • May 2024
    • 2

    #2
    Hi. maybe late but it could help someone else. You can do it puting in the enviroment of the docker ZBX_CACHESIZE: it could take values from 32M to 2G

    Comment

    • LuisO
      Junior Member
      • May 2024
      • 2

      #3
      correction on zabbix 6 the upper limit is 64G

      Comment

      Working...