R
RA
Hello!
Background:
------------------
I have a server running in Windows 2003 that is waiting for connections
on a TCP port.
For each client that connects, two separate threads are started. One is
for reading the data coming in from the client. The other is for
writing data to the client from a synchronized Vector.
The server is easily able to handle loads of up to 150 - 200 clients
connected at the same time.
Problem:
-------------
The problem that arises is rather odd ... after 3-4 hours of running
properly, quite a few clients are booted out of the system. There are
exceptions in reading or, writing to their sockets and the server
thinks they are no longer available.
This "boot" results in 50-60% of the clients being disconnected
simultaneously.
Any ideas on why this is happening?
Background:
------------------
I have a server running in Windows 2003 that is waiting for connections
on a TCP port.
For each client that connects, two separate threads are started. One is
for reading the data coming in from the client. The other is for
writing data to the client from a synchronized Vector.
The server is easily able to handle loads of up to 150 - 200 clients
connected at the same time.
Problem:
-------------
The problem that arises is rather odd ... after 3-4 hours of running
properly, quite a few clients are booted out of the system. There are
exceptions in reading or, writing to their sockets and the server
thinks they are no longer available.
This "boot" results in 50-60% of the clients being disconnected
simultaneously.
Any ideas on why this is happening?