A couple things that I can think of: 1. Write a script that kills the process in question, and have a perfmon session set to "run a Program" when the limits that you set are reached. The "kill script" should be as simple as "PSKILL DLLHOST". 2. Write a script that uses the output from PSList to check the memory usage/processor time, and kill as necessary. Put a "Sleep 30: goto TOP" at the end of the script, and it will loop forever. Note, this uses Processor Time, not "Processor Utilization %" which may be more what you are looking for. 3. Figure out how ling it usually lasts before dying, and schedule a script to run that often that will kill and restart it regardless of its current state. If you need help, or more info, just ask... Glenn Sullivan, MCSE+I MCDBA David Clark Company Inc. -----Original Message----- From: windows2000-bounce@xxxxxxxxxxxxx [mailto:windows2000-bounce@xxxxxxxxxxxxx] On Behalf Of Andrew Mills Posted At: Tuesday, August 03, 2004 8:31 AM Posted To: Windows 2000 Conversation: [windows2000] Dllhost Error Subject: [windows2000] Dllhost Error Hello Guys: Is there a way to set up a job to run that checks the dllhost.exe and if that file is taking X amount of RAM, or Y amount of processor % to kill that job? We have an issue where every once in a while, our dllhost.exe file runs wild and it needs to be killed, but right now it is a manual process. Is there a way to automate this process? We checked to make sure there was no virus that caused the dllhost.exe file to run wild. What the issue is: some code that gets into an infinite loop and causes it to crash. The code is not ours, and the company that wrote the application refuses to acknowledge the issue, so our only remedy is to kill the job. Thanks for any help Andy The contents of this transmission and any files transmitted with it are private and confidential, and intended solely for the use of the person or entity to whom they are addressed. Please inform the sender if you have received this transmission in error. If you are not the intended recipient, you may not copy, use, rely on or distribute the contents of this transmission. Any unauthorized disclosure of information contained in this transmission, including unauthorized disclosure by the intended recipient, is strictly prohibited. The information in this transmission may constitute "protected health information" under the Health Insurance Portability and Accountability Act of 1996. Unauthorized use or disclosure of protected health information by the intended recipient is prohibited, and will cause the recipient to violate contractual confidentiality obligations to the PCI Insurance, Inc. ******************************************************** This Weeks Sponsor StressedPuppy.com Games Feeling stressed out? Check out our games to relieve your stress. http://www.StressedPuppy.com ******************************************************** To Unsubscribe, set digest or vacation mode or view archives use the below link. http://thethin.net/win2000list.cfm ******************************************************** This Weeks Sponsor StressedPuppy.com Games Feeling stressed out? Check out our games to relieve your stress. http://www.StressedPuppy.com ******************************************************** To Unsubscribe, set digest or vacation mode or view archives use the below link. http://thethin.net/win2000list.cfm