I want to use maxQueued in the <server> config.
And I'm pretty certain I have it setup properly in my jetty.xml
(Note: I DO see my other settings confirmed in the JMX MBean)
<Configure id="Server" class="org.eclipse.jetty.server.Server"><Set name="ThreadPool"> <New class="org.eclipse.jetty.util.thread.QueuedThreadPool"> <Set name="name">Jetty</Set>
<Set name="maxQueued"><Property name="jetty.maxQueued" default="-1"/></Set>
<Set name="minThreads"><Property name="jetty.minThreads" default="10"/></Set>
<Set name="maxThreads"><Property name="jetty.maxThreads" default="200"/></Set>
I read the source code, and as far as I can tell, by defining "maxQueued" I should get an ArrayBlockingQueue created.
But see no way to confirm that I actually got this right.
When I look at JMX, I see no mention of "maxQueued" -- whether I define it or not.
BTW: this doc: http://wiki.eclipse.org/Jetty/Howto/High_Load makes no mention of "maxQueued".
This seems odd, as "maxQueued" is a more concise method to accomplish this.
But even when I try the method in that doc — by defining the ArrayBlockingQueue directly.
I still see no mention of "maxQueued" in the JMX
So my questions.
Thanks very much,
I am using Jetty 7.6.5.v20120716
Back to the top