zabbix 内存溢出
tail -f /var/log/zabbix/zabbix_server_log
5802:20190823:165110.914 ================================ 5802:20190823:165110.914 === Backtrace: === 5802:20190823:165110.915 12: /usr/sbin/zabbix_server(zbx_backtrace+0x42) [0x55c1c79910a8] 5802:20190823:165110.915 11: /usr/sbin/zabbix_server(__zbx_mem_malloc+0x18c) [0x55c1c798c647] 5802:20190823:165110.915 10: /usr/sbin/zabbix_server(+0x16155d) [0x55c1c795655d] 5802:20190823:165110.915 9: /usr/sbin/zabbix_server(zbx_hashset_insert_ext+0x12e) [0x55c1c7996417] 5802:20190823:165110.915 8: /usr/sbin/zabbix_server(zbx_hashset_insert+0x2d) [0x55c1c79962e7] 5802:20190823:165110.915 7: /usr/sbin/zabbix_server(DCfind_id+0x86) [0x55c1c7956f06] 5802:20190823:165110.915 6: /usr/sbin/zabbix_server(+0x169964) [0x55c1c795e964] 5802:20190823:165110.915 5: /usr/sbin/zabbix_server(DCsync_configuration+0xc98) [0x55c1c7962520] 5802:20190823:165110.915 4: /usr/sbin/zabbix_server(MAIN_ZABBIX_ENTRY+0x746) [0x55c1c783560a] 5802:20190823:165110.915 3: /usr/sbin/zabbix_server(daemon_start+0x2f6) [0x55c1c79908d6] 5802:20190823:165110.915 2: /usr/sbin/zabbix_server(main+0x312) [0x55c1c7834ec2] 5802:20190823:165110.915 1: /lib64/libc.so.6(__libc_start_main+0xf5) [0x7fda67fe8495] 5802:20190823:165110.915 0: /usr/sbin/zabbix_server(+0x3ef89) [0x55c1c7833f89
处理方法:
vi /etc/zabbix/zabbix_server.conf
# CacheSize=8M
#注释去掉,将8M修改为1g,具体数值大小可根据服务器修改