[jetty-user] Jetty http thread pool limitation
Sujatha Rangarajan <[email protected]> Mon, 13 Feb 2012 18:28:28 +0000
| Newsgroups | gmane.comp.java.jetty.support |
|---|---|
| Message-ID | <CAME_u86-r5mx-HDF7qxtLRL30cYrAtv15=MgxpZFquhHo+f=Xg@mail.gmail.com> |
Jetty - V7.1.6
I have the following
jetty.threadpool.max = 50
jetty.http.acceptors = 4
I run my application and subject it under some load. I have a JMX bean
for " org.eclipse.jetty.util.thread.QueuedThreadPool" and I keep
refreshing it every 2 seconds.
I do observe that the "threads" is always between 30-45 and the
idleThreads is between 25-40. Alarmingly the difference between the
"threads" and "idleThreads" always seems to be 5.
This suggests to me that although I have four acceptors for accepting
http based traffic and I have a thread pool of 50 threads there is
definitely something else that is limiting the ability to serve
requests and it is only 5 max. There is noticeable degradation in that
after ramping up a few users the system becomes unresponsive.
Can someone shed some light on what could possibly be happening?
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email