I have a server(2003 std) across town which has a memory leak in one of its services. The company who makes the application says the fix is to Disable AV scanning. I am not enthused about that.
I have found a work arround where I can monitor the Service from remotely and then manually restart it when the memory usage exceeds a threshold. Until now I have been using two tools from www.systeminternals.com
to do this. I use "pslist.exe SERVICE" to poll the service every 5 seconds and once the PRIV memory field exceeds 500M I restart it from remote with the other tool "psservice.exe restart SERVICE" then it is fine untill I next have to bounce it again.
I can't keep manually doing it, because if I miss, someone (usually my boss) gets to drive across town to reboot it. If it isn't caught, all avalable memory is used and no one can log into the box remotely to kick start the service.
My End Goal and how I will award the points is a solution that automaticly restarts the service any time the service exceeds the memory threshold. The goal is a working solution. I would prefer something that uses Windows standard applications but that isnt a necessity. If you can figure a way to trigger my existing script that is fine too.