Crossfire Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CF: server watchdog
It might be useful to implement a watchdog feature, so that server problems
can be automatically detected.
What I'm thinking is to have the server touch some particular file once
every minute or so. Then a cron job could check to see if the timestamp
on that file is more than, say, an hour old, and if so, kill and restart
the server.
Of course, servers shouldn't hang, but I've seen it happen more than I would
like to admit. (Mostly I don't want to admit it because I think it might be
my fault--creating so many thousands of objects on a map that it causes memory
problems or something like that.)
--PC
[to unsubscribe etc., send mail to crossfire-request@ifi.uio.no]