PHP.EXE open dozens of times

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

Moderators: Developers, Moderators

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

Post by BSOD2600 »

I installed Windows 2003 SP1 RC1 last night, hopeing it would fix the problem. It did not.

Since the problem started around the time I tried PHP 4.3.10, I decided that I'd give it a shot again. This morning after finding the server once again choked with tons of open cmd windows and concurrent connections with svchost.exe, I reinstalled php 4.3.10. So far, it's been 7 hours and there hasn't been any problems. I'm thinking this is the fix. If it truely IS the fix (I'll post back in a day or two), then I'm really confused why the heck downgrading caused this much of a problem.

The attached picture is just an idea of how often the server has been choking on itself, causing holes in my pretty graphs.
Attachments
cablemodem.png
cablemodem.png (5.78 KiB) Viewed 1866 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

It's been 24+ hours now and I have not had the problem occur again. Reinstalling PHP 4.3.10 was the fix. Odd, very odd.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

My suspicion is that you may have had a system file of the old version somehow in your path causing php 4.3.9 not to work properly, or that the Microsoft patch actually did the trick. Good to know that you have it working.

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?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Just an update....

Well it seems the problems are not compleatly gone. While the server does not get out of control (yet, since I've caught it each time), the problem is still present. It does not happen ever few hours, but now every few days.

Should I try upgrading to php 5.0.3, or is that a whole new can of worms?
vtmgr
Posts: 27
Joined: Wed Aug 11, 2004 2:23 pm
Location: Vermont, USA

musings...

Post by vtmgr »

hmm...
going through my nightly cleaning out of dead processes, I happened to turn on additional columns in my taskmgr, and noticed all the dead php-wins had about 1.5MB reads, and 49B writes, and similarily all the dead cactids had about 1.8M reads, and 800K writes. Not at all sure what this means, but figured it might be a clue...

-oldguy
Cacti 0.8.6f
CMD
MySQL 4.0.20
Net-SNMP 5.1.1
IIS 6
PHP 5.0.2
RRDtool 1.2.10
Windows 2003 Server
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests