httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Hess" <>
Subject Re: [PATCH] 10x performance increase patch #7
Date Wed, 21 Jul 1999 16:04:33 GMT
Mike Abbott <> wrote:
> The new SingleListen directive controls the set of IP addresses (and
> ports) to which child processes listen.  When SingleListen is on, each
> child process listens to a single IP address and port from the list
> specified using Listen directives.  Listen addresses are distributed
> evenly across child processes.

One thing I couldn't determine from reading the patch is whether "evenly
across child processes" could be adjusted.  In my experience, the ports
you're listening on are hit unevenly.  If you're listening on two ports, it
sounds like SingleListen effectively makes things work as if you were
running two Apache's on separate ports, with otherwise identical conf files.
[Another non-obvious thing was whether the patch drops excess spare servers
in such a way that things stay balanced, or whether it spins up new children
for port A if all of the port B children are not currently in use.]

It would be nice to be able to specify MaxClients on a per-port basis.  Then
you could adjust the number of requests you could service from one port
without adjusting the number for the other port.


View raw message