poller buffer overflow

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
milo
Posts: 1
Joined: Thu Feb 23, 2006 1:16 pm

poller buffer overflow

Post by milo »

Operating System: W2k3
Webserver: Apache 2.0.50
Cacti: 0.8.6h
Cactid: 0.8.6g
MySQL: 0.8.6h
PHP: 5.0.0
RRDTool: 1.2.9 (Cygwin version)
Net-SNMP: 5.2.2-ssl-1
Cygwin: none

I've gone through the windows install doc but I am having problems getting output from my poller.php to match what the doc says I should get. In fact I am getting no output from poller.php at all. I have to ctrl-C out everytime I run it from the command line. I ran filemon while running poller.php and I got the following output.
Image

I also did a DEBUG when running poller and I get the following:

02/23/2006 03:52:33 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:/Apache2/modules/php.exe, ARGS: -q c:/apache2/htdocs/cacti/cmd.php 0 5 ]
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
.... [repeat]

Fatal error: Maximum execution time of 293 seconds exceeded in c:\Apache2\htdocs
\cacti\poller.php on line 243

I'm not sure if the buffer overflow is my problem or not. I only have one monitored device which is the win32 server that cacti is running on. Any help would be greatly appreciated.

-Mike
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Ignore the buffer overflows and invalid parameter errors in FileMon.

1) running php poller.php under an admin account work? If so, you have a permission problem. If not, then you have something else wrong.

2) Enable debugging logging for a polling cycle and post it. You have some things in your poller cache, right?

3) You using cmd.php or cactid.exe poller?
User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Could be that he is on Win2k << and running a graph command in excess of the 2048 character limit imposed by Win2k <<.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests