kmarks2
kmarks2

Reputation: 4875

.net Tcp Server receives bytes in large clumps every few minutes

Background:

My server has been functioning just fine for several months. However, over the past weekend instead of receiving small groups of bytes in quick succession, the place where the process begins ( tcpListener.AcceptTcpClient() ) only occurs every couple of minutes. So my server sits idle, then gets 30-50 client requests all bundled into one huge block of bytes. Needless to say this causes a huge delay and put strain on my server. If the clump of client requests is big enough, it can take my server 30 minutes to catch up.

In logging built into my clients, I can see them do network writes, and flush between each one. So the clients are functioning correctly.

This reaks of some kind of system intervention. Is my Tcp server (as describe above) bad, or is something in Windows interfering with my traffic, and how can I tell?

Thanks guys.

Upvotes: 3

Views: 276

Answers (1)

user1110648
user1110648

Reputation:

You might want to install some packet capture software at each Tcp endpoint. You'd be surprised. I'm suffering with a similar problem now, almost completely identical actually.

When I put capture software in place I noted that traffic between endpoints was fast and on time as expected.

Upvotes: 1

Related Questions