Re: Timeout for TCP connections

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I think what you're looking for is:

net.ipv4.tcp_fin_timeout

Of course after changing that, you'll have to do
/etc/rc.d/init.d/network restart

Alternatively, recycle:

net.ipv4.tcp_tw_recycle = 1

Rgds,



On 2011-02-24, jobhunts02@xxxxxxx <jobhunts02@xxxxxxx> wrote:
> I am seeing it take several minutes for TCP connections to be closed after
> data has stopped flowing.  I saw the same behavior with UDP connections and
> was able to shorten the time by setting ip_conntrack_udp_timeout and
> ip_conntrack_udp_timeout_stream to 5.
>
> I have tried modifying the TCP variables in /proc/sys/net/ipv4/netfilter and
> nothing seems to lower the time for TCP connections to close.
>
> Any suggestions how to make TCP connections close faster?--
> To unsubscribe from this list: send the line "unsubscribe netfilter" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


-- 
--
Pandu E Poluan - IT Optimizer
My website: http://pandu.poluan.info/
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux