Ad Widget

Collapse

Zabbix Server Crashing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rohirrim
    Junior Member
    • May 2020
    • 20

    #1

    Zabbix Server Crashing

    Hi guys,

    I'm using Zabbix 5.4.3 and my database is Mariadb 10.3.31
    When I adding a IIS template my vm Zabbix is crashing and when I unlink the template it's keep going work.

    Is ıt bug or am I doing wrong anything?

    This log is zabbix-server

    Code:
    34514:20210814:221027.271 Starting Zabbix Server. Zabbix 5.4.3 (revision 68dc2b05cb).
    34514:20210814:221027.271 ****** Enabled features ******
    34514:20210814:221027.271 SNMP monitoring: YES
    34514:20210814:221027.271 IPMI monitoring: YES
    34514:20210814:221027.271 Web monitoring: YES
    34514:20210814:221027.271 VMware monitoring: YES
    34514:20210814:221027.271 SMTP authentication: YES
    34514:20210814:221027.271 ODBC: YES
    34514:20210814:221027.271 SSH support: YES
    34514:20210814:221027.271 IPv6 support: YES
    34514:20210814:221027.271 TLS support: YES
    34514:20210814:221027.271 ******************************
    34514:20210814:221027.271 using configuration file: /etc/zabbix/zabbix_server.conf
    34514:20210814:221027.280 current database version (mandatory/optional): 05040000/05040000
    34514:20210814:221027.280 required mandatory version: 05040000
    34514:20210814:221027.292 server #0 started [main process]
    34515:20210814:221027.293 server #1 started [configuration syncer #1]
    34515:20210814:221027.411 __mem_malloc: skipped 0 asked 24 skip_min 18446744073709551615 skip_max 0
    34515:20210814:221027.411 [file:dbconfig.c,line:102] __zbx_mem_realloc(): out of memory (requested 16 bytes)
    34515:20210814:221027.411 [file:dbconfig.c,line:102] __zbx_mem_realloc(): please increase CacheSize configuration parameter
    34515:20210814:221027.411 === memory statistics for configuration cache ===
    34515:20210814:221027.411 min chunk size: 18446744073709551615 bytes
    34515:20210814:221027.411 max chunk size: 0 bytes
    34515:20210814:221027.411 memory of total size 7263192 bytes fragmented into 70316 chunks
    34515:20210814:221027.411 of those, 0 bytes are in 0 free chunks
    34515:20210814:221027.411 of those, 7263192 bytes are in 70316 used chunks
    34515:20210814:221027.411 of those, 1125040 bytes are used by allocation overhead
    34515:20210814:221027.411 ================================
    34515:20210814:221027.411 === Backtrace: ===
    34515:20210814:221027.412 11: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_backtrace+0x52) [0x560e637ff7d2]
    34515:20210814:221027.412 10: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](__zbx_mem_realloc+0x164) [0x560e637f9d89]
    34515:20210814:221027.412 9: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](+0x1b7e8f) [0x560e6377be8f]
    34515:20210814:221027.412 8: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](+0x1c6b48) [0x560e6378ab48]
    34515:20210814:221027.412 7: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](DCsync_configuration+0x14b8) [0x560e6378c2f3]
    34515:20210814:221027.412 6: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](dbconfig_thread+0x126) [0x560e6362f07b]
    34515:20210814:221027.412 5: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_thread_start+0x3b) [0x560e63810d17]
    34515:20210814:221027.412 4: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](MAIN_ZABBIX_ENTRY+0xb59) [0x560e6361b7ab]
    34515:20210814:221027.412 3: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](daemon_start+0x303) [0x560e637ff314]
    34515:20210814:221027.412 2: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](main+0x309) [0x560e6361ab34]
    34515:20210814:221027.412 1: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7ffb7768f0b3]
    34515:20210814:221027.412 0: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](_start+0x2e) [0x560e6361994e]
    34514:20210814:221027.415 One child process died (PID:34515,exitcode/signal:1). Exiting ...
    34514:20210814:221027.417 syncing trend data...
    34514:20210814:221027.417 syncing trend data done
    34514:20210814:221027.417 Zabbix Server stopped. Zabbix 5.4.3 (revision 68dc2b05cb).
    Attached Files
  • gofree
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2017
    • 400

    #2
    hint is in the log, try it


    34515:20210814:221027.411 [file:dbconfig.c,line:102] __zbx_mem_realloc(): please increase CacheSize configuration parameter

    Comment

    • rohirrim
      Junior Member
      • May 2020
      • 20

      #3
      Hi,

      Thanks for reply.
      I see this one but, how is effect my database? When this is happen, my galera cluster is crashed with every node.

      When I post this error I start a new db(standalone mysql) and I configure cache size (2GB). I will try this config for old database(galera cluster).

      Do you have any suggestion for zabbix config? I have 200 host and it looks like it will increase.

      Comment

      • Atsushi
        Senior Member
        • Aug 2013
        • 2028

        #4
        The "CacheSize configuration parameter" in this error message is the Zabbix server configuration.

        Comment

        • rohirrim
          Junior Member
          • May 2020
          • 20

          #5
          Atsushi
          Thanks for reply.

          Yes, it's about the CacheSize problem. I change the line 2GB and it's work right now.

          Thanks.

          Comment

          Working...