Re: TCP hangs up [message #38630 is a reply to message #38565] |
Sat, 09 January 2010 01:27   |
Sékiltoyai
Messages: 7 Registered: August 2009 Location: France
|
Junior Member |
|
|
Hello,
Thanks for your answer.
Seems to be ok with your recommend. I have put tcpsndbuf to 48MB:64MB and i can send a 8GB file on my fastest connexion.
Here is the result in ubc :
240:
kmemsize 2358102 3607954 20971520 31457280 0
...
tcpsndbuf 106952 9038280 50331648 67108864 0
...
So i think a barrier around 10MB will be suitable.
But i have two questions :
- Is it a normal behaviour that programs (or kernel network driver, i don't know where is the problem) hangs up in case of this tcp buffer shortage ? Isn't there a bug in the kernel, which should simply reject new send() system calls when its buffers are full ?
- Why a call to vzsplit (with a division in 6 vps) gives me a tcpsndbuf of approximately 5.8MB:11MB, so a barrier of 5.8MB, which is far below the needed barrier ?
[Updated on: Sat, 09 January 2010 01:29] Report message to a moderator
|
|
|