View Single Post
  #21  
Old 10-31-2009, 11:48 AM
Sagetim Sagetim is offline
 
Join Date: Oct 2009
Posts: 12
Quote:
Originally Posted by Colt-556 View Post
Yus, in the end the fact remains, while the auto-restarter will be a life saver a lot of the time, when it comes to deadlocks, we're still stuck with flesh and blood having to restart the server.
Two questions about getting around deadlocks: if the server is set to restart every few hours, and the server gets deadlocked, would it still restart after that many hours? If so, then having server restarts also happen on a timer could at least mitigate some of the deadlocks, such as ones that happen when no one is available to help.

Question the Second: Is it possible to tell the server to restart if no one logs on or off for a particular period of time? For example, if no one is logging on or off for an hour or more, I would assume that the server has deadlocked and needs a restart. Though, again I'm not particularly well versed with how exactly a deadlock works. As far as I know, both of these ideas would suffer from the same problem that the deadlock causes, that being that the server just kind of stops.

Question the Third: because all good things come in trios. Is it possible to implement a small little program that would monitor the server program and shut it down then restart it if the server program freezes/deadlocks?