httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Graute <oliver.gra...@gmail.com>
Subject Re: [users@httpd] Howto accept only one connection
Date Fri, 19 Feb 2016 15:11:34 GMT
On 19/02/16, Aurélien Terrestris wrote:
> Hello,
> 
> I'm not sure we can accept only one connection at a given time.
> I tested with the "prefork MPM", and I only achieve 1 concurrent request
> being processed at a given time and all others requests are buffered
> (ListenBackLog doesn't seem to work on my server). Once the 1st request has
> been processed, the other ones are processed one after the other.
> 
> If running on a Linux, maybe should you configure the iptables to limit
> connections to 1 for the httpd port. Behind a F5 loadbalancer, there is the
> Connection Limit parameter on the virtual server which can be set.
> 
> 
> my httpd conf :
> 
>  ./configure .....  --with-mpm=prefork
> 
> <IfModule mpm_prefork_module>
>     StartServers             1
>     MinSpareServers          1
>     MaxSpareServers          0
>     MaxRequestWorkers        1
>     MaxConnectionsPerChild   0
>     ListenBacklog            1
>     ServerLimit              1
> </IfModule>

thx for this proposal, i will try it this way...

Best regards,

Oliver

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message