LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 09-21-2010, 09:35 AM   #1
aliaj00
LQ Newbie
 
Registered: May 2008
Posts: 4

Rep: Reputation: 0
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
 
Old 09-21-2010, 09:54 AM   #2
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
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
 
Old 09-27-2010, 04:49 AM   #3
aliaj00
LQ Newbie
 
Registered: May 2008
Posts: 4

Original Poster
Rep: Reputation: 0
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 .

BR,

Aliaj00
 
Old 09-27-2010, 11:23 AM   #4
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
rdesktop keepalive benny_j Linux - Networking 2 11-12-2009 03:50 AM
Piranha and Keepalive linux2man Linux - Networking 0 08-03-2008 05:22 PM
TCP/IP keepalive problem lsme AIX 1 08-02-2006 11:05 PM
DSL keepalive nowonmai Linux - Networking 1 08-25-2003 09:16 AM
Apache KeepAlive question 360 Linux - Networking 4 06-22-2002 01:09 PM


All times are GMT -5. The time now is 02:38 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration