4 processes of sh.exe make quad-cpu server 100%

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

Moderators: Developers, Moderators

Post Reply
phiberoptik26k
Posts: 12
Joined: Mon Sep 20, 2004 3:52 pm

4 processes of sh.exe make quad-cpu server 100%

Post by phiberoptik26k »

Does anyone know why i would have countless #s of sh.exe and cactid.exe with only 4 of the sh.exe processes hanging the cpu of my servers? of the 4 sh.exe each one utlizes 25% of the cpu. attached are the ss. thanks for any ideas pointing me in the right direction.
Attachments
cpu.jpg
cpu.jpg (95.83 KiB) Viewed 1678 times
proc.jpg
proc.jpg (91.18 KiB) Viewed 1678 times
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

This would typically be caused by a forked process and it's parent getting out of shape (race condition or a deadlock). What kind of scripts are you running? What version of PHP? What version of Cygwin? What version of Cactid?

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?
phiberoptik26k
Posts: 12
Joined: Mon Sep 20, 2004 3:52 pm

Post by phiberoptik26k »

how do i find the version numbers of those?
User avatar
adrianmarsh
Cacti User
Posts: 437
Joined: Wed Aug 17, 2005 8:51 am
Location: UK

Post by adrianmarsh »

install Process Explorer from sysinternals to see the process ownership. That'll help you track back the originating process (and if its a sh.exe at the top, look in the detail of the process to find out the script name being passed).

I think for the version info : php -v (or php -help and work from there)
cygwin: find the cygwin1.dll, right click -> properties -> version
cactid: not sure, but try the same as cygwin
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests