On Thu, 8 Feb 2007 09:07:47 -0600
"Bill Walton" <[EMAIL PROTECTED]> wrote:

> 
> Greetings!
> 
> I'm in the process of moving my app from a shared hosting arrangement to a 
> VPS and am seeing some mongrel behavior I haven't seen before. 
> Specifically, after about 30 minutes of inactivity mongrel goes unresponsive 
> and has to be restarted.  When I restart it writes the messages below. 
> Before that, there's nothing in the logs that shows any problem at all.
> 

Restart (USR2) isn't that reliable because of how ruby/rails needs to
reload.  You should use a full stop/start cycle instead.

Once you start doing that and you still get no response then run strace
on the mongrel process to see what it's doing.  It's most likely that
you have a library that's messing things up.

Also, don't use pstore, don't set Logger to rotate, don't do file
locking, and don't use a crappy DNS.

-- 
Zed A. Shaw, MUDCRAP-CE Master Black Belt Sifu
http://www.zedshaw.com/
http://www.awprofessional.com/title/0321483502 -- The Mongrel Book
http://mongrel.rubyforge.org/
http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to