[Mongrel] mongrel garbage collection

Scott Windsor swindsor at gmail.com
Mon Mar 24 11:32:03 EDT 2008


On Sat, Mar 22, 2008 at 3:39 AM, Dave Cheney <dave at cheney.net> wrote:

>
> On 22/03/2008, at 8:19 AM, Steve Midgley wrote:
>
> If so, it seems like if one were using something like nginx fair proxy,
> then the mongrel would be running it's garbage collection AFTER the
> client got all its html but BEFORE any new requests were sent to it.
>
> In a fully loaded server it wouldn't matter at all, but most
> environments have a little headroom at least, so that nginx fair proxy
> would just route around the mongrel that is still running a GC at the
> end of it's Rails loop.
>
>
> That would only be true if you set the connect timeout on the backend to 1
> second AND your GC pass took longer than 1 second.
>

Yes, but worse case here is that another request gets delayed before
processing.  Still potentially better (IMHO) than dealing with this delaying
when processing a request.

- scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20080324/77dafa2d/attachment.html 


More information about the Mongrel-users mailing list