François,

> However, I've determined that for all error messages to disappear, you
> must make three changes:
> 
> - Set memory_limit to a reasonable value (like 128M) in
> /etc/php5/cli/php.ini, it cannot be "-1".

This should be done by php5-cli in bug 668157 [1]

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668157

> - Modify /etc/cron.d/cacti to look like this:
> "*/1 * * * * www-data php *--define suhosin.memory_limit=512M*
> /usr/share/cacti/site/poller.php >/dev/null
> 2>/var/log/cacti/poller-error.log"

I will add this for the next upload of cacti.

> - and modify /usr/share/cacti/site/poller.php, line 297 to look like this:
> "$extra_args     = "-q *--define suhosin.memory_limit=512M* \"" .
> $config["base_path"] . "/cmd.php\"";"

Could you please fill an issue for this upstream at [2]? I don't think
so, or is this really a Debian issue?

[2] http://bugs.cacti.net/

Paul

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to