Theoretical connections/second limit using Varnish

Poul-Henning Kamp phk at phk.freebsd.dk
Fri May 1 10:35:30 CEST 2009


In message <49FAB28F.2040903 at loman.net>, Nick Loman writes:
>Poul-Henning Kamp wrote:

>Which way round do you mean?
>
>Apache specifies Keep-Alive in seconds, and my sites will certainly die 
>if I set it to even 1 second.

Tell the apache developers to get their act together then.

>But I would like to eliminate my thousands of TIME_WAIT sockets if at 
>all possible, as this represents a scaleability ceiling right now. Of 
>course I could just throw more webservers at the problem - if necessary.

Couldn't you also just configure multiple IP#'s on your backend ?

If you run a tcpdump of the backend traffic, does the connections
close properly with FIN or does one of the ends RST them ?

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-misc mailing list