Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2110093
  • 博文数量: 317
  • 博客积分: 5670
  • 博客等级: 大校
  • 技术积分: 3677
  • 用 户 组: 普通用户
  • 注册时间: 2008-08-10 17:51
文章分类

全部博文(317)

文章存档

2016年(2)

2015年(44)

2014年(68)

2013年(42)

2012年(23)

2011年(51)

2010年(67)

2009年(17)

2008年(3)

分类: LINUX

2015-08-11 16:10:41

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

  1. 16701:20140925:191733.530 Starting Zabbix Server. Zabbix 2.4.(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    
阅读(3849) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~