dllhost monitor /alarm

In on of my servers dllhost starts to increase machine use until it gets to the 99% and makes the machine crash, so we need to either restart the process or restart fully the machine.

Is there any tool or way to monitor dll host and kill itself when it uses over certain amount of CPU resources, or a way of making it send me an email so i can fix it manually?

thanks!!!
LVL 1
celticianAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

R TCommented:
You can setup Perfmon to email you an alert using a 3rd party tool called bmail.exe:

http://blog.jamesrossiter.co.uk/2011/02/23/send-email-alerts-for-low-disk-space-using-perfmon-exe-in-windows-using-bmail-exe/

If you don't have an SMTP server, you could always use blat:

http://www.blat.net/
celticianAuthor Commented:
Ok, but that alert is for low disk, i need to set it up for low memory, or even better for killing dllhost when it occupies too much.... i understand attaching a script to the alert, but how to i set up the alert??
R TCommented:
Here's a great guide for setting up alerts in PerfMon on Server 2003:

https://support.microsoft.com/en-us/kb/324752

You can follow the same general directions from the first link, but instead of using a disk counter, change it to CPU, memory- whatever you'd like.

Some information on counter types (and PerfMon in general):

http://www.windowsnetworking.com/articles-tutorials/windows-2003/Windows_2003_Performance_Monitor.html

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
celticianAuthor Commented:
Ok, ill check it out, meanwhile ill post another question realted to this as well :)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.