httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arnab Ganguly" <>
Subject Query on ap_lingering_close
Date Wed, 10 Sep 2008 13:46:39 GMT
Hi All,
I am getting lot of CLOSE_WAIT ,SYNC_RCV and TIME_WAIT state when I do a
netstat and result it is Apache pause.
What would be the ideal approach to solve the issue.I am planning for
explicit call of ap_lingering_close after reading the client request.

Also I see a #ifdef CORE_PRIVATE  under httpd_connection.h where
ap_lingering_close is defined and the macro #define CORE_PRIVATE is defined
in mod_proxy.h.But I don't use mod_proxy so is it going to impact anything?

For TIME_WAIT plan to reduce tcp_max_tw_buckets value.Is it going to be

Increasing net.ipv4.tcp_max_syn_backlog, decreasing tcp_synack_retries and
enabling tcp_syncookies.

If you have any suggestion then please let me know.
Thanks in advance.


View raw message