[Mongrel] one mongrel request seems to block cluster

Erik Hetzner erik.hetzner at ucop.edu
Thu Feb 14 11:15:39 EST 2008


At Thu, 14 Feb 2008 09:46:12 -0600,
"Michael Engelhart" <mike.engelhart at gmail.com> wrote:
> 
> Hello -
> 
> I'm new to setting up a mongrel cluster and ran into a question while doing
> some simple performance testing.
> 
> I'm using Apache 2.2 as a proxy/load balancer to multiple mongrel instances
> (for this test on the same box - a small EC2 compute unit).    I setup the
> cluster with 5 mongrel instances.
>
> […]

In your apache.conf, add the max & (maybe) acquire settings to each
balancer member.

<Proxy balancer://mongrel_cluster>
  BalancerMember http://127.0.0.1:12345 max=1 acquire=1
  […]
</Proxy>

See:

<http://rubyforge.org/pipermail/mongrel-users/2007-October/004145.html>

best,
Erik Hetzner
-------------- next part --------------
;; Erik Hetzner, California Digital Library
;; gnupg key id: 1024D/01DB07E3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/mongrel-users/attachments/20080214/5117547d/attachment.bin 


More information about the Mongrel-users mailing list