/**
* Acceptor thread count.
*/
- protected int acceptorThreadCount = 0;
+ protected int acceptorThreadCount = 1;
public void setAcceptorThreadCount(int acceptorThreadCount) { this.acceptorThreadCount = acceptorThreadCount; }
public int getAcceptorThreadCount() { return acceptorThreadCount; }
the -Djava.net.preferIPv4Stack=true value to your command line</p>
<attributes>
+ <attribute name="acceptorThreadCount" required="false">
+ <p>The number of threads to be used to accept connections. Increase this value on a multi CPU machine,
+ although you would never really need more than 2. Also, with a lot of non keep alive connections,
+ you might want to increase this value as well. Default value is 1.</p>
+ </attribute>
+ <attribute name="pollerThreadCount" required="false">
+ <p>The number of threads to be used to run for the polling events. Default value is 1.
+ Can't see a reason to go above that. But experiment and find your own results.</p>
+ </attribute>
+ <attribute name="selectorTimeout" required="false">
+ <p>The time in milliseconds to timeout on a select() for the poller.
+ This value is important, since connection clean up is done on the same thread, so dont set this
+ value to an extremely high one.</p>
+ </attribute>
+ <attribute name="useComet" required="false">
+ <p>Whether to allow comet servlets or not, Default value is true.</p>
+ </attribute>
+
+
<attribute name="socket.directBuffer" required="false">
<p>Boolean value, whether to use direct ByteBuffers or java mapped ByteBuffers. Default is <code>true</code></p>
</attribute>