Chinaunix首页 | 论坛 | 博客
  • 博客访问: 244401
  • 博文数量: 32
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 414
  • 用 户 组: 普通用户
  • 注册时间: 2014-04-22 11:22
个人简介

.....

文章分类

全部博文(32)

文章存档

2016年(1)

2015年(12)

2014年(19)

我的朋友

分类: 系统运维

2014-09-25 19:29:38

今天把zabbix2.2.0升级到了2.4.0,服务端启动成功了。但是在管理界面下 Zabbix server is running 是NO  就去看了下log  发现了几个错误

  1. 16701:20140925:191733.530 Starting Zabbix Server. Zabbix 2.4.0 (revision 48953).
  2.  16701:20140925:191733.530 ****** Enabled features ******
  3.  16701:20140925:191733.530 SNMP monitoring: YES
  4.  16701:20140925:191733.530 IPMI monitoring: YES
  5.  16701:20140925:191733.530 WEB monitoring: YES
  6.  16701:20140925:191733.530 VMware monitoring: NO
  7.  16701:20140925:191733.530 Jabber notifications: NO
  8.  16701:20140925:191733.530 Ez Texting notifications: YES
  9.  16701:20140925:191733.530 ODBC: NO
  10.  16701:20140925:191733.530 SSH2 support: NO
  11.  16701:20140925:191733.531 IPv6 support: NO
  12.  16701:20140925:191733.531 ******************************
  13.  16701:20140925:191733.531 using configuration file: /opt/zabbix/etc/zabbix_server.conf
  14.  15996:20140925:191145.759 completed 97% of database upgrade
  15.  15996:20140925:191147.139 completed 98% of database upgrade
  16.  15996:20140925:191147.422 completed 99% of database upgrade
  17.  15996:20140925:191147.428 completed 100% of database upgrade
  18.  15996:20140925:191147.428 database upgrade fully completed
  19.  15996:20140925:191148.800 __mem_malloc: skipped 0 asked 48 skip_min 0 skip_max 4294967295
  20.  15996:20140925:191148.800 [file:dbconfig.c,line:445] zbx_mem_malloc(): out of memory (requested 44 bytes)
  21.  15996:20140925:191148.800 [file:dbconfig.c,line:445] zbx_mem_malloc(): please increase CacheSize configuration parameter
  1. 15996:20140925:191148.800 [file:dbconfig.c,line:445] zbx_mem_malloc(): out of memory (requested 44 bytes)
  2.  15996:20140925:191148.800 [file:dbconfig.c,line:445] zbx_mem_malloc(): please increase CacheSize configuration parameter


解决
      打开zabbix_server.conf 找到 Option: CacheSize
      把原来的 # CacheSize=8M  前面的#注释去掉,将8M修改为1024,这个1024根据服务器性能修改。

  1. ### Option: CacheSize
  2. # Size of configuration cache, in bytes.
  3. # Shared memory size for storing host, item and trigger data.
  4. #
  5. # Mandatory: no
  6. # Range: 128K-8G
  7. # Default:
  8. CacheSize=1024M    
阅读(15717) | 评论(2) | 转发(0) |
给主人留下些什么吧!~~

奋斗的小小小小小小鸟2014-09-30 08:58:23

牛逼,正在学习zabbix。

giferose2014-09-26 11:40:35

很详细,很专业!32个赞送上