We have a development environment that every morning requires a restart because Mongrel just stops responding. I noticed this older thread...but I still experience the problem http://rubyforge.org/pipermail/mongrel-users/2006-August/000950.html We are running nginx..but I also have the mongrel ports open to our IPs..both going through nginx proxy and directly through mongrel fails...then restart it all works great: any ideas? [root at sb1 visualcareers]# mongrel_rails start --version Version 1.0.1 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20070213/2f3ac96d/attachment.html
Are you using Ruby to rotate your logs? If so, this is your problem. Have some external program manage your logs. Cheers, Matt On Feb 13, 2007, at 11:24 AM, Eric Dean wrote:> We have a development environment that every morning requires a > restart because Mongrel just stops responding. > > I noticed this older thread...but I still experience the problem > http://rubyforge.org/pipermail/mongrel-users/2006-August/000950.html > > We are running nginx..but I also have the mongrel ports open to our > IPs..both going through nginx proxy and directly through mongrel > fails...then restart it all works great: > > any ideas? > [root at sb1 visualcareers]# mongrel_rails start --version > Version 1.0.1 > > > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20070213/68018236/attachment.html
On 2/13/07, Eric Dean <eric at maverixsystems.com> wrote:> > > We have a development environment that every morning requires a restart > because Mongrel just stops responding. > > I noticed this older thread...but I still experience the problem > http://rubyforge.org/pipermail/mongrel-users/2006-August/000950.html > > We are running nginx..but I also have the mongrel ports open to our > IPs..both going through nginx proxy and directly through mongrel > fails...then restart it all works great: > > any ideas? > [root at sb1 visualcareers]# mongrel_rails start --version > Version 1.0.1 >Will be very helpful if you could also include information about: * The rails version you''re using (ruby script/about). * What database adapter (cat config/database.yml) * What kind of session storage or memory cache (memcached) you''re using (in case of any). Since it looks like the process is dying, could you read what are the last lines of log/mongrel.log file? Maybe there is the ruby backtrace thrown before mongrel dies. -- Luis Lavena Multimedia systems - Leaders are made, they are not born. They are made by hard effort, which is the price which all of us must pay to achieve any goal that is worthwhile. Vince Lombardi