On 26.09.2011 15:21, John S. wrote:
software configuration than our Squids. When we put it in our pool of
servers, it gets half traffic than our Squids, and we have a lot of
sockets stuck in TIME_WAIT state, with few established connexions, cf
output of netstat on the varnish host :
6 CLOSING
259 ESTABLISHED
32 FIN_WAIT1
755 FIN_WAIT2
20 LAST_ACK
33 SYN_RECV
2781 TIME_WAIT
TIME_WAIT looks OK to me, it's not high. Here are some hints for sysctl
settings:
http://www.mail-archive.com/[email protected]/msg01571.html (do
NOT set tw_recycle=1 though!).
Regarding half the traffic, just check whether you have failed requests
(e.g. "varnishncsa -m TxStatus:[45]" or similar), but it can be due to
the way Varnish handles keepalives differently (what are your Varnish
vs. Squid settings for Keepalives?).
Regards,
Marinos
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc