Thold 2.1a plugin and memory exhaustion

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
TChiverto
Posts: 5
Joined: Thu May 18, 2006 9:51 am

Thold 2.1a plugin and memory exhaustion

Post by TChiverto »

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 !
TChiverto
Posts: 5
Joined: Thu May 18, 2006 9:51 am

Post by TChiverto »

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.
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

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.
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.
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Thold 2.1a plugin and memory exhaustion

Post by cigamit »

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 !
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.

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.
TChiverto
Posts: 5
Joined: Thu May 18, 2006 9:51 am

Post by TChiverto »

cigamit wrote:
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.
You are using a very very old version of thold, before it was made into a plugin
*plugin* !?!

:reads

*ohhhhhh* I've bene out of the Cacti world too long :-)

:installs

Fine now :-)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests