Hello,

I have a server that listens for messages on a socket.
It works fine for some time but then it suddenly stops acting on
messages from the connections!

It creates a local socket with IO::Socket::INET and then a select object
with IO::Select.
In a loop it checks for connections with "->can_read(5)".

What happens is that clients connect and keeps the connection over some
time (hours), so there are a lot of clients connected at the same time,
but they are silent most of the time.
All work well, until the server stops acting on messages, meaning
"->can_read" does not return any handles.
When checking the number of connections with "->handles", it is normally
somewhere around 80 when this problem occurs.
New connections are accepted ( "->handles" returns a higher value) but
"->can_read" doesn't return the handle...

Anyone that can give me a clue out of this?

Thanks
Anders


_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to