Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
disabled keep-alive of server, not really needed for speed but a cause for much trouble and memory occupancy
orbiter9743b70d1c64
diff --git a/source/de/anomic/server/serverCore.java b/source/de/anomic/server/serverCore.javaindex 706c0bec1..911112509 100644--- a/source/de/anomic/server/serverCore.java+++ b/source/de/anomic/server/serverCore.java@@ -794,9 +794,12 @@ public final class serverCore extends AbstractBusyThread implements BusyThread {break;}// check if we should still keep this alive:+ break; // no more keep-alive, not needed for speed and causes only trouble+ /*if (sessionThreadGroup.activeCount() > maxBusySessions / 2) break;// the more connections are alive, the shorter the keep alive timeoutsituationDependentKeepAliveTimeout = keepAliveTimeout / Math.max(1, sessionThreadGroup.activeCount() - 20);+ */} // end of while} catch (final IOException e) {log.logSevere("command execution, IO exception " + e.getMessage() + " for client " + this.userAddress.getHostAddress(), e);