[Mongrel] Multiple mongrels for one app
snacktime at gmail.com
Tue Aug 22 15:29:38 EDT 2006
> So what happens when the mongrel gets more than one request at a time?
> When I run httpref against it, the mongrel process can serve up large
> number of rails pages before it gets bogged down.
> And when it does break, it says "mongrel timed out this thread: too
> many open files". So it must be doing some threading, even if rails
> isn't threadsafe.
> If it was 1 request per mongrel process, 1 process shouldn't be able
> to serve up very many per second. httpref tells me its prettty fast
It will accept multiple connections but it will only feed one
connection at a time through the rails handler, because as others have
stated rails is not thread safe.
More information about the Mongrel-users