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

Re: [Xen-devel] More on networking hang



> Not sure what the best solution is: when we were doing evaluation
> tests for our paper we disabled connection tracking (which means that
> things like NAT are unavailable). I haven't looked around, but there
> may well be a way to tell Linux to reuse TCBs in TIME WAIT state.

More detail:

Look in /proc/net/ip_conntrack. Most likely you'll see lots of
connects in TIME_WAIT.

You can adjust the maximum number of tracked connections by echoing to
/proc/sys/net/ipv4/ip_conntrack_max. A better solution, however, is
probably to modify the individual timeout values for each state. For
example:

 echo "5" >/proc/sys/net/ipv4/netfilter/ip_conntrack_tcp_timeout_time_wait

[disclaimer: I haven't tried this myself, but google + src indicates
 this is the most promising approach.]

 -- Keir


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.