Hi,

I run a java based chat, running a java server, using wrapper from
http://wrapper.tanukisoftware.org, and a java applet as a client. The
server runs on a Debian based system on port 23.

The java server runs 2 threads for each new connection, one as a main
thread who receives messages and sends to everyone and one which sends
an "alive" token, just to check connectivity.

The problem is that the server stops accepting new connections, but the
users who are yet connected to a chat room can still writing messages.
The server can run for several days with no problem, and I've noticed
that each time it occurred there was many client connections to the
server. The only problem is that the server doesn't accept many
connections, but it stills runs and serves the old connections.

I get neither error message from server nor java exception regarding the
problem. I've explored the logs and nothing happened.

The last time the server stopped accepting connections there where about
40 connections, and about 80 java processes on the server.

Any ideas? I need to solve this problem.

Thanks in advance,
Jaume.


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to