james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noel J. Bergman" <n...@devtech.com>
Subject RE: Long-standing ServerConnection bug
Date Sat, 04 Nov 2006 15:46:47 GMT
In more detail, it appears that for each service there is a single
ServerConnection with one thread waiting on accept() in the run() method,
and then acquiring worker threads for each accept()ed cliented connection.

I'm going to try:

  if (maxOpen > 0 && clientConnectionRunners.zize() >= maxOpenConn) {
    wait(100);
  } else {
    clientSocket = serverSocket.accept();
  }

And see if that resolves the issue.

	--- Noel



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message