FIN_WAIT_2

ray at redshift.com ray at redshift.com
Tue Mar 22 10:44:53 PST 2005


Hi Robert,

  I was actually referring to the keepalive setting in httpd.conf :-)  But yes,
you can change the sysctl setting also.  I believe that will have a positive
impact on the server.  I don't have any first hand experience with it however.

  What do you have in httpd.conf ?

Ray

At 07:37 PM 3/22/2005 +0100, Robert Gogolok wrote:
| Hi Ray,
| Thanks for answering.
| 
| ray at redshift.com wrote:
| >   Do you have keepalive on ?  That might be it.  Usually on a busy site it's
| > better to turn keepalive off.  You might try that and see if the number of
| > fin_wait's go away.  
| # sysctl -a | grep keep
| net.inet.ip.keepfaith: 0
| net.inet.ip.fw.dyn_keepalive: 1
| net.inet.tcp.keepidle: 7200000
| net.inet.tcp.keepintvl: 75000
| net.inet.tcp.keepinit: 75000
| net.inet.tcp.always_keepalive: 1
| net.inet6.ip6.keepfaith: 0
| 
| I see that keepalive starts after 2 hours(?) (net.inet.tcp.keepidle), 
| but what would disable it? I guess always_keepalive=0.
| 
| 
| Robert
| 
| 


More information about the freebsd-net mailing list