|
我在ubuntu 606中安装了cacti,但总是运行一段时间(不超过两天,有时候几个小时)后就不抓数据了,手动运行php poller.php,提示:
Allowed memory size of 8388608 bytes exhausted (tried to allocate 24 bytes)
后来我修改了/etc/php5/apache2/php.ini,把其中的memory_limit = 8M改为32M或者64M,但手动运行后仍然提示错误只是后边的24 bytes成了10 bytes:
Allowed memory size of 8388608 bytes exhausted (tried to allocate 24 bytes)
还有其它地方需要改动的吗?
主机是dell的1425,内存1G,硬件应该是足够了 |
|