LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   need help with zerowindow followed by keepalive (http://www.linuxquestions.org/questions/linux-networking-3/need-help-with-zerowindow-followed-by-keepalive-833559/)

aliaj00 09-21-2010 10:35 AM

need help with zerowindow followed by keepalive
 
Hi all,

i have an issue in which when an server application sends data to the client and the client has the socket buffer full it sends zerowindow packets all the time and the server initiate a keepalive probe and afer 7 of them it send reset.

Please HELP.


BR,

Aliaj00

alunduil 09-21-2010 10:54 AM

Could you give us a little more information? From what you've described it sounds like the TCP layer is doing exactly what it should and not trying to overload an already full client. Is this a custom written client program you're writing?

Regards,

Alunduil

aliaj00 09-27-2010 05:49 AM

Hi Alunduil,

no i am not writing it is already done by someone else. but the issue is that i am trying to figure out if this is a problem of the client side (buffer) being not able to receive big amount of data or is a application issue. i lack the knowledge to conclude if the zerowindow packet trigger the keepalive. i searched the internet to see how a zerowindow packet trigger keepalive but i could not find it. is there any docs that can explain how it is being triggered.


thanks a lot for supporting me :D :D.

BR,

Aliaj00

alunduil 09-27-2010 12:23 PM

This document should get you started: http://en.wikipedia.org/wiki/TCP_con...ance_algorithm. It explains how TCP handles congestion on the link (which is what will cause your window size to shrink). If you have further questions don't hesitate to ask.

Regards,

Alunduil


All times are GMT -5. The time now is 12:03 PM.