溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

zabbix服務報錯提示:zabbix server is not running

發布時間:2020-05-30 13:56:13 來源:億速云 閱讀:4601 作者:Leah 欄目:系統運維

本篇文章展示了解決zabbix服務報錯的方法,如果在日常工作遇到這個問題。希望大家通過這篇文章,找到解決疑問的辦法。

zabbix報錯:
zabbix server is not running:the information displayer may not be current。
環境是centos7。首先進服務器,查看日志
tail -20 /var/log/zabbix/zabbix_server.log

顯示:

zbx_mem_realloc(): please increase CacheSize configuration parameter
16541:20200210:100236.335 === memory statistics for configuration cache ===
16541:20200210:100236.335 min chunk size: 18446744073709551615 bytes
16541:20200210:100236.335 max chunk size:          0 bytes
16541:20200210:100236.335 memory of total size 8388232 bytes fragmented into 71313 chunks
16541:20200210:100236.335 of those,          0 bytes are in        0 free chunks
16541:20200210:100236.335 of those,    7247240 bytes are in    71313 used chunks**
__zbx_mem_realloc(): out of memory (requested 16 bytes)
16855:20200210:100555.586 [file:dbconfig.c,line:94]

out of memory      please increase CacheSize
根據提示,進行設置

vim /etc/zabbix/zabbix_server.conf

打開zabbix_server.conf找到Option: CacheSize,把原來的# CacheSize=8M前面的#注釋去掉,將8M修改為1024,這個1024根據服務器性能修改.

Option: CacheSize
Size of configuration cache, in bytes.
Shared memory size for storing host, item and trigger data.
Mandatory: no
Range: 128K-8G
Default:
CacheSize=1024M

最后重啟zabbix服務

systemctl start zabbix_server.service

以上就是zabbix服務報錯的解決方法,詳細使用情況還得要大家自己使用過才能知道具體要領。如果想閱讀更多相關內容的文章,歡迎關注億速云行業資訊頻道!

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

亚洲午夜精品一区二区_中文无码日韩欧免_久久香蕉精品视频_欧美主播一区二区三区美女