Re: Howto accept only one connection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux