I have a website that is running Mongrel that is CONSTANTLY going down. There seems to be no rhyme or reason... There must be something in the way the site was written. Is there a recommended Mongrel monitoring tool that will monitor our sites mongrel services and restart mongrel when the site goes down? The server is a UNIX machine... Thanks!! Roy -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20070215/040532c8/attachment.html
easy route: monit http://www.tildeslash.com/monit/doc/platforms.php complicated route: nagios http://nagios.org/ ed On 2/15/07, Roy Satterfield <roys at okabashi.com> wrote:> > I have a website that is running Mongrel that is CONSTANTLY going down. > > There seems to be no rhyme or reason? There must be something in the way > the site was written. > > > > Is there a recommended Mongrel monitoring tool that will monitor our sites > mongrel services and restart mongrel when the site goes down? > > The server is a UNIX machine? > > > > Thanks!! > > Roy > > _______________________________________________ > 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/20070215/a1dcfed2/attachment.html
The archives have a number of solutions, but the most popular seem to be monit and runit. I''m sure this is beyond obvious, but fixing the code is your best bet. Pat On 2/15/07, Roy Satterfield <roys at okabashi.com> wrote:> > I have a website that is running Mongrel that is CONSTANTLY going down. > > There seems to be no rhyme or reason? There must be something in the way > the site was written. > > > > Is there a recommended Mongrel monitoring tool that will monitor our sites > mongrel services and restart mongrel when the site goes down? > > The server is a UNIX machine? > > > > Thanks!! > > Roy > > _______________________________________________ > 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/20070215/2d4969fe/attachment.html
correct route: fix the issue that is causing the crashes. On 2/15/07, Ed Hickey <bassnode at gmail.com> wrote:> easy route: monit > http://www.tildeslash.com/monit/doc/platforms.php > > complicated route: nagios > http://nagios.org/ > > > ed > > > > On 2/15/07, Roy Satterfield <roys at okabashi.com> wrote: > > > > > > > > > > > > I have a website that is running Mongrel that is CONSTANTLY going down. > > > > There seems to be no rhyme or reason? There must be something in the way > the site was written. > > > > > > > > Is there a recommended Mongrel monitoring tool that will monitor our sites > mongrel services and restart mongrel when the site goes down? > > > > The server is a UNIX machine? > > > > > > > > Thanks!! > > > > Roy > > _______________________________________________ > > Mongrel-users mailing list > > Mongrel-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/mongrel-users > > > > > > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users >
I would try to fix the issue, but I had this issued dropped in my lap. I work for a company who hired a contract developer that wrote the site using Ruby On Rails and we have been battling the site crashing ever since. We are going to have our sites rewritten - NOT using Ruby... Sorry guys, but when running a business critical e-commerce site there has to be dedicated support and available developers. -----Original Message----- From: mongrel-users-bounces at rubyforge.org [mailto:mongrel-users-bounces at rubyforge.org] On Behalf Of Joey Geiger Sent: Thursday, February 15, 2007 5:52 PM To: mongrel-users at rubyforge.org Subject: Re: [Mongrel] Mongrel Monitoring... correct route: fix the issue that is causing the crashes. On 2/15/07, Ed Hickey <bassnode at gmail.com> wrote:> easy route: monit > http://www.tildeslash.com/monit/doc/platforms.php > > complicated route: nagios > http://nagios.org/ > > > ed > > > > On 2/15/07, Roy Satterfield <roys at okabashi.com> wrote: > > > > > > > > > > > > I have a website that is running Mongrel that is CONSTANTLY goingdown.> > > > There seems to be no rhyme or reason... There must be something inthe way> the site was written. > > > > > > > > Is there a recommended Mongrel monitoring tool that will monitor oursites> mongrel services and restart mongrel when the site goes down? > > > > The server is a UNIX machine... > > > > > > > > Thanks!! > > > > Roy > > _______________________________________________ > > Mongrel-users mailing list > > Mongrel-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/mongrel-users > > > > > > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users >_______________________________________________ Mongrel-users mailing list Mongrel-users at rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users
Oh well now lets be fair, I wrote it and then the company stopped returning my calls..:) I''m pretty sure there are available and dedicated developers. As far as the problem goes it''s a bit odd because on that machine there are two mongel instances running, both being proxied by apache. One of the instances runs just a normal RoR application with pretty much static views, the other one runs on the radiant CMS. So I didn''t actually do anything with the radiant one, I just unzipped radiant, setup the proxy pass and off it went. I did all the rest in the in- browser system. I believe it''s the site that is *not* using the CMS that is crashing. If that''s the case is there any sources other than the mongrel logs to look for major problems? Apache and the other site remain fine, just mongrel goes down. Josh besquared On Feb 15, 2007, at 6:10 PM, Roy Satterfield wrote:> I would try to fix the issue, but I had this issued dropped in my lap. > I work for a company who hired a contract developer that wrote the > site > using Ruby On Rails and we have been battling the site crashing ever > since. > We are going to have our sites rewritten - NOT using Ruby... Sorry > guys, > but when running a business critical e-commerce site there has to be > dedicated support and available developers. > > > -----Original Message----- > From: mongrel-users-bounces at rubyforge.org > [mailto:mongrel-users-bounces at rubyforge.org] On Behalf Of Joey Geiger > Sent: Thursday, February 15, 2007 5:52 PM > To: mongrel-users at rubyforge.org > Subject: Re: [Mongrel] Mongrel Monitoring... > > correct route: > fix the issue that is causing the crashes. > > On 2/15/07, Ed Hickey <bassnode at gmail.com> wrote: >> easy route: monit >> http://www.tildeslash.com/monit/doc/platforms.php >> >> complicated route: nagios >> http://nagios.org/ >> >> >> ed >> >> >> >> On 2/15/07, Roy Satterfield <roys at okabashi.com> wrote: >>> >>> >>> >>> >>> >>> I have a website that is running Mongrel that is CONSTANTLY going > down. >>> >>> There seems to be no rhyme or reason... There must be something in > the way >> the site was written. >>> >>> >>> >>> Is there a recommended Mongrel monitoring tool that will monitor our > sites >> mongrel services and restart mongrel when the site goes down? >>> >>> The server is a UNIX machine... >>> >>> >>> >>> Thanks!! >>> >>> Roy >>> _______________________________________________ >>> Mongrel-users mailing list >>> Mongrel-users at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/mongrel-users >>> >> >> >> >> _______________________________________________ >> Mongrel-users mailing list >> Mongrel-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/mongrel-users >> > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users
On Thu, 15 Feb 2007 18:10:23 -0500 "Roy Satterfield" <roys at okabashi.com> wrote:> I would try to fix the issue, but I had this issued dropped in my lap. > I work for a company who hired a contract developer that wrote the site > using Ruby On Rails and we have been battling the site crashing ever > since. > We are going to have our sites rewritten - NOT using Ruby... Sorry guys, > but when running a business critical e-commerce site there has to be > dedicated support and available developers.Probably a good idea if you need dedicated support and a team of developers on hand at a moment''s notice. If you aren''t interested in keeping the source to your old system, I''d like to have it for analysis. Feel free to contact me off list if you''re interested. In exchange, if I can fix it you can have the fixes. -- 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.
Josh Ferguson wrote:> If that''s the case is there any sources other than > the mongrel logs to look for major problems? Apache and the other > site remain fine, just mongrel goes down.Does the mongrel.log show a segfault? Is this running on a Xen VPS? If so, check /var/log/messages to see if that pesky oom-killer is taking out the mongrels due to an out of memory condition. Bradley