After installing the latest Thold plugin into the latest Cacti builds, I get memory exhausted PHP errors in the Apache logs for all pages, even after bumping the limit to 64M in php.ini !
I rolled back functions.php to the pre-thold version, and that has fixed things.
Any ideas ?
This is SUSE10 64bit, if that helps.
It's odder than that, though I think.
cp the thold version back over the top, and the next few pages are fine, then it blows up again ! Argh !
Thold 2.1a plugin and memory exhaustion
Moderators: Developers, Moderators
I also get an error saying
Notice: Undefined offset: 0 in /opt/cacti/lib/thold-functions.php on line 36
in
http://othermonitor.localdomain/thold.php
after saving a threshold.
Notice: Undefined offset: 0 in /opt/cacti/lib/thold-functions.php on line 36
in
http://othermonitor.localdomain/thold.php
after saving a threshold.
You are using a very very old version of thold, before it was made into a plugin and fixed up. Check the links in my signature for more info.TChiverto wrote:I also get an error saying
Notice: Undefined offset: 0 in /opt/cacti/lib/thold-functions.php on line 36
in
http://othermonitor.localdomain/thold.php
after saving a threshold.
Re: Thold 2.1a plugin and memory exhaustion
I wouldn't think it would be something to do with the 64bit, but I don't know for sure, as I certainly don't have anything that fancy to play with.TChiverto wrote:After installing the latest Thold plugin into the latest Cacti builds, I get memory exhausted PHP errors in the Apache logs for all pages, even after bumping the limit to 64M in php.ini !
I rolled back functions.php to the pre-thold version, and that has fixed things.
Any ideas ?
This is SUSE10 64bit, if that helps.
It's odder than that, though I think.
cp the thold version back over the top, and the next few pages are fine, then it blows up again ! Argh !
There isn't really that much that changed in the functions file, just added a few hooks.... I will see if I can come up with a patch to throw in some debug code to help you figure this out. Either that or do a diff of the 2 to see what changed, and start commenting things out until it starts working again.
*plugin* !?!cigamit wrote:You are using a very very old version of thold, before it was made into a pluginTChiverto wrote:I also get an error saying
Notice: Undefined offset: 0 in /opt/cacti/lib/thold-functions.php on line 36
in
http://othermonitor.localdomain/thold.php
after saving a threshold.
:reads
*ohhhhhh* I've bene out of the Cacti world too long
:installs
Fine now
Who is online
Users browsing this forum: No registered users and 1 guest