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 16:55:36 GMT
Ok, the current code I'm testing is

  while (maxOpenConn > 0 && clientConnectionRunners.size() >= maxOpenConn) {
    getLogger().warn("Maximum number of open connections (" +
                      clientConnectionRunners.size() +
                      ") reached - skipping accept().");
    synchronized (this) { wait(1000); }
  }

  clientSocket = serverSocket.accept();

which seems to be a minimal change (the addition of the inner loop).  I'll
look into the change to use notification from the runners.

	--- 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