Hello,
I just posted this to the Jetty users mailing list as well but I
thought I might try this group as well since I'm really relying on
OpenBD for all of the Web services.
I'm trying to tune my jetty 7 server and I'm not sure what else to do.
I'm running Mac OS X 10.5.8 64bit and with Open Bluedragon (1.3) and I
have around 3000 clients which are trying to talk to the server via
SOAP around 12:00 PM. I see that Jetty has just over a thousand
threads open and and cpu is at 100% and not using any of the other
cores.
This has been working fairly well but as I'm adding more clients I'm
starting to see error 503 message "Service Temporarily Unavailable".
Is there anything I can do to make Jetty more efficient?
I have included my site.xml file (only the changes I have made) and my
start.ini as well.
Thanks,
Charles
Site.xml file
<!-- =========================================================== --
>
<!-- Server Thread Pool --
>
<!-- =========================================================== --
>
<Set name="ThreadPool">
<!-- Default queued blocking threadpool -->
<New class="org.eclipse.jetty.util.thread.QueuedThreadPool">
<Set name="minThreads">100</Set>
<Set name="maxThreads">1400</Set>
</New>
</Set>
<!-- =========================================================== --
>
<!-- Set connectors --
>
<!-- =========================================================== --
>
<Call name="addConnector">
<Arg>
<New
class="org.eclipse.jetty.server.nio.SelectChannelConnector">
<Set name="host"><SystemProperty name="jetty.host" /></
Set>
<Set name="port"><SystemProperty name="jetty.port"
default="3601"/></Set>
<Set name="maxIdleTime">300000</Set>
<Set name="Acceptors">2</Set>
<Set name="statsOn">false</Set>
<Set name="confidentialPort">8443</Set>
<Set name="lowResourcesConnections">5000</Set>
<Set name="lowResourcesMaxIdleTime">5000</Set>
</New>
</Arg>
</Call>
start.ini file
--exec
-Xms1g
-Xmx2g
-Djava.awt.headless=true
#-XX:+UseConcMarkSweepGC
-XX:+UseParallelGC
-XX:+AggressiveOpts
OPTIONS=Server,jmx,resources,websocket
etc/site.xml
--
Open BlueDragon Public Mailing List
http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon
official manual: http://www.openbluedragon.org/manual/
Ready2Run CFML http://www.openbluedragon.org/openbdjam/
mailing list - http://groups.google.com/group/openbd?hl=en