On Tue, 28 Nov 2006, Olle Ö~Vstlund wrote:
Look for yourself. These are figures from the director when all
realservers are open (weight = 10)
IP Virtual Server version 1.2.0 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP 192.168.3.10:80 wrr
-> 192.168.3.105:80 Route 10 755 33987
-> 192.168.3.107:80 Route 10 842 35426
These are figures from the director when the realserver with interfaces
192.168.3.5 and 192.168.3.105 have been closed (weight = 0) for 5
minutes:
IP Virtual Server version 1.2.0 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP 192.168.3.10:80 wrr
-> 192.168.3.105:80 Route 0 623 33687
-> 192.168.3.107:80 Route 10 929 36252
-----------------------
192.168.3.105 NONE 45 (max/mean expire time 59/31)
192.168.3.105 FIN_WAIT 15534 (max/mean expire time 113/29)
192.168.3.105 ESTABLISHED 623 (max/mean expire time 600/36)
192.168.3.105 CLOSE 18125 (max/mean expire time 59/29)
192.168.3.105 SYN_RECV 14 (max/mean expire time 59/24)
-----------------------
OK machine x.x.x.105 has its weight changed to 0 and the
InActConn hardly drops in 5 minutes. The netstat figures on
the realservers after 5 mins of inactivity still show a lot
of CLOSE and FIN_WAIT. These should all be gone. Presumably
this is not happening with the standalone server?
BTW: how many connections does a client open to fetch a
Tomcat page? Is is about half a dozen like with
apache/http/html or is is 33687/623 = 50? (still the
InActConn shoud expire).
I'm stumped.
Horms - any ideas?
Joe
--
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!
|