httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yann Ylavic <>
Subject Re: Developer feedback on mod_balancer bug #57543
Date Thu, 26 Feb 2015 11:30:15 GMT

On Thu, Feb 26, 2015 at 7:22 AM, Federico Mennite
<> wrote:
> a few days ago I've submitted the bugreport below

I made a reply there.

> Questions:
> - Why weren't such a large number of semaphores and shared memory segments
> required for mod_balancer to run in apacche 2.2?

The difference in 2.4 is the (dynamic) balancer manager which requires
each vhost to have its own shm/sem.

> - am I right in stating that the current code in apache 2.4 seems to
> allocate a lot more resources than really needed?

Probably not if you configure the balancers in the vhosts they are
used only (see [1]).

> - are my behavioral "conclusions" close enough to what the setup code of
> mod_balancer is currently doing?

They seem correct should the balancers be configured globally, which
is not how it should be done in 2.4.
Each vhost should declare the balancers it uses (ProxyPass) only, and
mod_macro can help do things in the global section (if that matters).



View raw message