Excerpts from dsallings's message of Tue Nov 04 09:54:34 +1100 2008: > > Does anyone have anything handy that will allow me to set a restart > condition on a log not growing? > > I've got ruby processes that just hang hard.
Just a thought, but couldn't you attach an inotify watch to the log file and every time an event is generated check to see if the size has changed. If there is no notification within a certain time you could restart or do something to generate a log message just to see if it responds. Not sure if this would make life more difficult or easy, as I said just a thought! rgh -- +61 (0) 410 646 369 [e]: [EMAIL PROTECTED] [im]: [EMAIL PROTECTED] You're worried criminals will continue to penetrate into cyberspace, and I'm worried complexity, poor design and mismanagement will be there to meet them - Marcus Ranum --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "god.rb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/god-rb?hl=en -~----------~----~----~----~------~----~------~--~---
