View Single Post
Re: MeanLoader Server Startup
Old
  (#34)
botmeister
Ex-Council Member
 
botmeister's Avatar
 
Status: Offline
Posts: 1,090
Join Date: Nov 2003
Location: Canada
Default Re: MeanLoader Server Startup - 15-06-2005

If RestartInterval = 5000 (ms) then a response check will be done once every 5 seconds.


The value of NumOfRespChecks determines how many response checks have to fail in a row for a process to be detected as "dead".


If RestartInterval = 5000 and NumOfRespChecks = 2, then it has to detect no response from the process two times in a row, which will take 10 seconds.

Version 1.21 is working for me in general, but I have not yet seen it detect a hung server. I've tried simulating a hung server using an infinite loop, but as far as the process is concerned, it's humming along just fine. What needs to happen, is the process actually "crashes" by executing a GPF or somehow gets to a point where the API call made to check up on the process no longer gets a response.

Web interface? Hummm, that's a posibility but I won't promise anything until after it's done.


Maker of the (mEAn) Bot.Admin Manager

"In theory, there is no difference between theory and practice. But, in practice, there is." - Jan L.A. van de Snepscheut
  
Reply With Quote