Re: Theoretical connections/second limit using Varnish

2009-05-03 Thread Per Andreas Buer
- Nick Loman n...@loman.net wrote: Precisely, we only have perhaps 50 PHP children serving requests, so if these are kept open to serve idle keep-alive connections, that severely limits the numbers of dynamic page requests we can serve. It sound like you and Michael need a limit on the

Re: Theoretical connections/second limit using Varnish

2009-04-30 Thread Nick Loman
Michael S. Fischer wrote: I've done that for a specific reason relating to backend PHP processes. I don't dispute your reasoning; my employer does this as well. KeepAlive with Apache/PHP can be a recipe for resource starvation on your origin servers. Hi Michael, Precisely, we only have

Theoretical connections/second limit using Varnish

2009-04-29 Thread Nick Loman
Hi there, Has anyone come to a satisfactory solution to the issue of running out of local port numbers when Varnish makes a connection to the backend server? Under Linux, my understanding is the number of available port numbers can be increased to a maximum of 64511 by setting

Re: Theoretical connections/second limit using Varnish

2009-04-29 Thread Nick Loman
Michael S. Fischer wrote: On Apr 29, 2009, at 9:22 AM, Poul-Henning Kamp wrote: In message 49f87de4.3040...@loman.net, Nick Loman writes: Has Varnish got a solution to this problem which does not involve time-wait recycling? One thing I've thought of is perhaps SO_REUSEADDR is used or

Re: Theoretical connections/second limit using Varnish

2009-04-29 Thread Michael S. Fischer
On Apr 29, 2009, at 9:30 AM, Nick Loman wrote: Michael S. Fischer wrote: On Apr 29, 2009, at 9:22 AM, Poul-Henning Kamp wrote: In message 49f87de4.3040...@loman.net, Nick Loman writes: Has Varnish got a solution to this problem which does not involve time-wait recycling? One thing I've