Re: [SOLVED] Rails app with maxconn 1 receiving more than 1 request at a time

From: Alexander Staubo <alex#bengler.no>
Date: Tue, 16 Sep 2008 10:44:42 +0200


On Tue, Sep 16, 2008 at 7:09 AM, Willy Tarreau <w#1wt.eu> wrote:
> Also, I'm wondering : would there not be any solution to fork several
> mongrel processes on one port upon startup ? This limit of exactly 1
> connection is really annoying, and if the server could call fork()
> 3 or 4 times instead of only one (akin to haproxy's nbproc), it would
> provide huge performance and reliability boosts. Just imagining that
> you cannot even telnet to the port to send a request during traffic
> would really frustrate me :-/

Why on the same port? We currently run 15 Mongrel processes on each box. Concurrency is not a problem.

Alexander. Received on 2008/09/16 10:44

This archive was generated by hypermail 2.2.0 : 2008/09/16 11:00 CEST