Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: Re: How to simulate hung server/application


Message #1 by "John R Lick - Hotmail" <JohnRLick@h...> on Fri, 5 Apr 2002 12:23:38 -0800
Happy Friday All...

I am writing error code for an application that sends business critical 
email out every Monday morning.  I've got the sql error code down, but I'm 
not sure how to handle when the application hangs.

One thought is to record the applications start time.  Then check the Task 
Manger and see if the application is still running or not responing after 
a given period of time.  If it is, use the forced reboot api and restart 
the application.  The only problem with this is, if the application is 
hung, it probably wouldn't be able to run these functions to do the 
reboot, right?

I'm look for a way to reboot if the app hangs, without someone "pushing 
the button."

Thanks!
Deborah

  Return to Index