[Rails-deploy] Re: mongrel goes unresponsive after 30 minutes

2007-02-17 Thread Alexey Verkhovsky
On 2/16/07, Zed A. Shaw <[EMAIL PROTECTED]> wrote: > > make sure you've got the compiled mysql gem and you aren't > using the rails mysql.rb file. Zed, Can you point me to the reason for this recommendation? Is there a known problem with pure-Ruby MySQL driver? Best regards, Alexey Verkhovsky

[Rails-deploy] Re: mongrel goes unresponsive after 30 minutes

2007-02-16 Thread Zed A. Shaw
On Fri, 16 Feb 2007 09:20:11 -0600 "Bill Walton" <[EMAIL PROTECTED]> wrote: > Yesterday they set up a cron job outside my space to invoke the index method > every 10 minutes. That's 'solved' the problem. It doesn't sit well with me > though. My experience leads me to fear that whatever the r

[Rails-deploy] Re: mongrel goes unresponsive after 30 minutes

2007-02-16 Thread Bill Walton
Hi Zed, Thanks very much for your reply. I appreciate it very much. More below. Zed A. Shaw wrote: > Restart (USR2) isn't that reliable because of > how ruby/rails needs to reload. You should > use a full stop/start cycle instead. I've been doing that. Should have said it that way. > Once

[Rails-deploy] Re: mongrel goes unresponsive after 30 minutes

2007-02-15 Thread Zed A. Shaw
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 mongre

[Rails-deploy] Re: mongrel goes unresponsive after 30 minutes

2007-02-08 Thread Bill Walton
Hi Robby, Robby Russell wrote: > > Do you have a cluster of mongrels running or just the one? I'm not sure and asked similar question of my hosting service today. I'll report back on that as soon as I find out. For development purposes I started with a shared hosting plan with the same provid

[Rails-deploy] Re: mongrel goes unresponsive after 30 minutes

2007-02-08 Thread Robby Russell
Bill Walton 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 rest

[Rails-deploy] Re: mongrel goes unresponsive after 30 minutes

2007-02-08 Thread Aníbal Rojas
You are welcome, good luck. Zed has a checklist in Mongrel's site for some other conditions that could cause this errors. -- Aníbal Rojas http://www.rubycorner.com http://www.hasmanydevelopers.com On Feb 8, 6:00 pm, "Bill Walton" <[EMAIL PROTECTED]> wrote: > Hi Anibal, > > Thanks! I've got the

[Rails-deploy] Re: mongrel goes unresponsive after 30 minutes

2007-02-08 Thread Bill Walton
Hi Anibal, Thanks! I've got the admin looking into now. I really appreciate the response. Best regards, Bill --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Deploying Rails" group. To post to this group, sen

[Rails-deploy] Re: mongrel goes unresponsive after 30 minutes

2007-02-08 Thread Aníbal Rojas
The previous snippet is from: http://mongrel.rubyforge.org/faq.html -- Aníbal Rojas http://www.rubycorner.com http://www.hasmanydevelopers.com On Feb 8, 4:54 pm, "Aníbal Rojas" <[EMAIL PROTECTED]> wrote: > >From Q: Mongrel stops working if it's left alone for a long time. > > If you find that M

[Rails-deploy] Re: mongrel goes unresponsive after 30 minutes

2007-02-08 Thread Aníbal Rojas
>From Q: Mongrel stops working if it's left alone for a long time. If you find that Mongrel stops working after a long idle time and you're using MySQL then you're hitting a bug in the MySQL driver that doesn't properly timeout connections. What happens is the MySQL server side of the connection