[SOLVED]problem with poller.php

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
fukitei
Posts: 5
Joined: Sun May 10, 2009 11:26 pm

[SOLVED]problem with poller.php

Post by fukitei »

Hi everyone,

could someone please help me to find out what does this message mean?
thx before

Code: Select all

May 11 11:20:01 mcscacti1 suhosin[12764]: ALERT - script tried to increase memory_limit to 268435456 bytes which is above the allowed value (attacker 'REMOTE
_ADDR not set', file '/var/www/cacti/poller.php', line 150)
Last edited by fukitei on Tue May 12, 2009 3:12 am, edited 1 time in total.
dononeil
Cacti User
Posts: 194
Joined: Wed Aug 06, 2008 4:45 pm

Post by dononeil »

You need to increase your memory limits in your php.ini file. The poller is trying to allocate more RAM and php is not letting it.
fukitei
Posts: 5
Joined: Sun May 10, 2009 11:26 pm

Post by fukitei »

i have tried to increase memory from 256 MB to 512 MB, but the result is still the same...i still get the alert message

Code: Select all

May 12 14:15:01 mcscacti1 suhosin[14560]: ALERT - script tried to increase memory_limit to 536870912 bytes which is above the allowed value (attacker 'REMOTE_ADDR not set', file '/var/www/cacti/poller.php', line 150)
this the line 150 in file poller.php

Code: Select all

/* let PHP only run 1 second longer than the max runtime, plus the poller needs lot's of memory */
ini_set("max_execution_time", MAX_POLLER_RUNTIME + 1);
ini_set("memory_limit", "512M");
fukitei
Posts: 5
Joined: Sun May 10, 2009 11:26 pm

[SOLVED] problem with poller.php

Post by fukitei »

thanks dononeil, it works now. i have tried increase the memory_limit in file php.ini...and hoplaaaaa...great..thx again
fukitei
Posts: 5
Joined: Sun May 10, 2009 11:26 pm

[SOLVED] problem with poller.php

Post by fukitei »

thanks dononeil, it works now. i have tried increase the memory_limit in file php.ini...and hoplaaaaa...great..thx again
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests