The below patch limits the number of connections that a Swiki will
accept simultaneously. (Other Comanche servers can use this as well,
though it's turned off by default). This should help servers that are
unstable.
It is only experimental; it hasn't been tested on a heavily loaded
Swiki. But some people might be interested in trying it.
The idea is, 5 simultaneous connections ought to be enough for most
servers, and yet 5 is low enough that the system is unlikely to crash
due to lack of resources. Connections past 5 are not refused; they just
aren't immediately accepted. Naturally, the number 5 can be modified
pretty easily, though it should probably be in a config file somewhere.
-Lex
limitConnections-ls.1.cs