My office has 12 terminal servers in a mini cloud. They are running Server 2003. There is a particular HP driver which gets loaded for some users' printers. It loads msiexec, which hangs. It doesn't bring the server down or anything (4 cores available so it just shows 24-25%), but it stops any other printers from being loaded by other users. When we see it, we kill it and subsequent printers load just fine. However, with 12 servers and 150-180 or so users connecting and disconnecting, it's impossible to keep an eye on each server for this little bugger.
What I'd like is a daemon/process monitor that would specifically look at msiexec and if it is at >50% CPU usage for more than 10 seconds, kill it.
I started poking at PSAPI, but it's a bit above my head.
Chaos reigns within. Reflect, repent, and reboot. Order shall return.
Slivovitz owns you.