We also plan to upgrade to jetty 6 and this will allow the use of jetty
continuations that can save lots of threads.
See http://jira.activemq.org/jira/browse/SM-278
Cheers,
Guillaume Nodet
Bruce Snyder wrote:
On 1/25/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Further followup. It seems like the default pool size is 256 for the MAX.
HttpConnector contains an instance of SocketListener
SocketListener extends ThreadServer
ThreadServer extends ThreadPool
ThreadPool contains an instance of Pool
Pool contains a static int __max = 256
I can't see how to adjust this value, although the comments in thee
ThreadServer class say that its possible.
Jonathan,
Upon investigating Jetty, there is a setter for that value on the
SocketListener. It is easy to call setters in Jetty via the jetty.xml
descriptor (see http://mortbay.org/jetty/tut/XmlConfiguration.html).
But ServiceMix does not make use of jetty.xml. Instead I have exposed
this setter in the HttpConnector and the HttpSoapConnector so that the
value is now configurable from within a servicemix.xml descriptor.
This improvement is available in the SVN HEAD. Information on the
improvement is available here:
http://jira.activemq.org/jira/browse/SM-288
Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache Geronimo (http://geronimo.apache.org/)
Castor (http://castor.org/)