Bug#566609: Logs are filling up with suhosin alerts about cacti trying to increase memory_limit

2011-04-15 Thread Francois Beaulieu
More precisely, I believe the proper fix would be to set the memory_limit in /etc/php5/cli/php.ini to a proper system-wide value (not -1), and to add "--define suhosin.memory_limit=512M" to the cacti poller command in /etc/cron.d/cacti. -- François Beaulieu, CISSP Conseiller principal / Senior

Bug#566609: Logs are filling up with suhosin alerts about cacti trying to increase memory_limit

2011-04-15 Thread Francois Beaulieu
This isn't a suhosin bug, as it is simply doing what it is supposed to be doing. The log mesages can be fixed by changing the memory_limit in /etc/php5/cli/php.ini to a hard limit above 512M, or it can be fixed by changing the suhosin.memory_limit to 512M or more. (Or by uninstalling php5-suho

Bug#566609: Logs are filling up with suhosin alerts about cacti trying to increase memory_limit

2010-05-04 Thread Christoph Kling
Package: cacti Version: 0.8.7e-3 Severity: normal *** Please type your report below this line. *** Hello, I've tried the following to solve the problem: #:/etc/cron.d# cat cacti MAILTO=root */5 * * * * www-data php --define memory_limit=-1 --define suhosin.memory_limit=0 /usr/share/cacti/s