Apache and lingering close
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
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 impacted?
For SYNC_RCV
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.
-A
[Index of Archives]
[Open SSH Users]
[Linux ACPI]
[Linux Kernel]
[Linux Laptop]
[Kernel Newbies]
[Security]
[Netfilter]
[Bugtraq]
[Squid]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Samba]
[Video 4 Linux]
[Device Mapper]