[Mongrel] Critical Issue - Site down...

Rob Sanheim rsanheim at gmail.com
Wed Feb 21 17:14:49 EST 2007


Have you tried backing out any recent changes (if any?) that were made
to the code or the configuration?  Especially gems or plugins used?

- Rob

On 2/21/07, Josh Ferguson <josh at besquared.net> wrote:
> I started webrick and get the same issue, I think it's a virtual
> server problem. Here is what's happening:
>
> 1) Start webrick on port 3010 in production mode (or mongrel)
> 2) make a request to the site
> 3) Production log shows a request to the front page
> 4) Fatal message occurs in webrick/mongrel log
> 5) Web browser recieves 500 Application Error response
>
> If you refresh the page you get a proxy error response similar to
> this from apache:
>
> Proxy Error
>
> The proxy server received an invalid response from an upstream server.
> The proxy server could not handle the request GET /.
>
> Reason: Error reading from remote server
>
> If you refresh it again you get the normal Bad Gateway response, and
> then forever more it is that.
>
> Here's webrick running
>
> -bash-2.05b$ script/server -p 3010 -e production
> => Booting WEBrick...
> => Rails application started on http://0.0.0.0:3010
> => Ctrl-C to shutdown server; call with --help for options
> [2007-02-21 15:21:33] INFO  WEBrick 1.3.1
> [2007-02-21 15:21:33] INFO  ruby 1.8.4 (2005-12-24) [i686-linux]
> [2007-02-21 15:21:33] INFO  WEBrick::HTTPServer#start: pid=26139
> port=3010
> 127.0.0.1 - - [21/Feb/2007:15:21:35 CST] "GET / HTTP/1.1" 200 60
> - -> /
> [FATAL] failed to allocate memory
>
> This is the site running the Radiant CMS and it has been running
> stable for the past 6 months or so until now.
>
> Josh
>
> On Feb 21, 2007, at 4:06 PM, joost baaij wrote:
>
> > What happens when you fire up WEBrick (script/server) instead of
> > Mongrel?
> >
> > Op 21-feb-2007, om 21:54 heeft Roy Satterfield het volgende
> > geschreven:
> >
> >> Zed,
> >> Are you saying that this issue is caused by there not being enough
> >> RAM
> >> on the server?
> >> There are 2 sites running on this server. EV1 restarted the VPS and I
> >> took my other site down....
> >> Even with the other site down this site would not restart.
> >>
> >> But the weird part is the other site will restart without any
> >> problems.
> >> So if it is a memory problem then why will one site start properly?
> >>
> >> Thanks,
> >> Roy
> >>
> >> -----Original Message-----
> >> From: mongrel-users-bounces at rubyforge.org
> >> [mailto:mongrel-users-bounces at rubyforge.org] On Behalf Of Zed A. Shaw
> >> Sent: Wednesday, February 21, 2007 6:33 PM
> >> To: mongrel-users at rubyforge.org
> >> Subject: Re: [Mongrel] Critical Issue - Site down...
> >>
> >> On Wed, 21 Feb 2007 14:47:41 -0500
> >> "Roy Satterfield" <roys at okabashi.com> wrote:
> >>
> >>> [FATAL] failed to allocate memory
> >>
> >> You ran out of memory.
> >>
> >> --
> >> 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.
> >> _______________________________________________
> >> 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
> >
> > --
> > www.gomagazine.nl +31643904460 pobox 51059 nl-1007eb amsterdam
> >
> >
> > _______________________________________________
> > 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
>


More information about the Mongrel-users mailing list