[jboss-jira] [JBoss JIRA] Assigned: (JBAS-8595) Thread Pooling configuration from jmx-console doesn't update WorkerStack size. Size remains 200 always.
Darran Lofthouse (JIRA)
jira-events at lists.jboss.org
Fri Dec 10 07:38:52 EST 2010
[ https://issues.jboss.org/browse/JBAS-8595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Darran Lofthouse reassigned JBAS-8595:
--------------------------------------
Assignee: (was: Darran Lofthouse)
> Thread Pooling configuration from jmx-console doesn't update WorkerStack size. Size remains 200 always.
> -------------------------------------------------------------------------------------------------------
>
> Key: JBAS-8595
> URL: https://issues.jboss.org/browse/JBAS-8595
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: JMX/Web Console
> Affects Versions: JBossAS-5.0.1.GA
> Environment: Windows/Linux, JDK1.5, RAM 2GB, Processor 3GHz, Intel Core Due CPU
> Reporter: Nishant Parikh
> Priority: Critical
>
> When we fire concurrent request more than 200, let's say 200+x (With maxThreads specified 1000 from jmx/web console), Everything works fine but after few seconds x NUMBER OF THREADS GETS BUSY and they never get free. On server log we are getting below ArrayIndexOutOfBoundsException.
> Exception in thread "http-192.168.1.166-8080-4" java.lang.ArrayIndexOutOfBoundsException: 200
> at org.apache.tomcat.util.net.JIoEndpoint$WorkerStack.push(JIoEndpoint.java:769)
> at org.apache.tomcat.util.net.JIoEndpoint.recycleWorkerThread(JIoEndpoint.java:724)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:457)
> at java.lang.Thread.run(Thread.java:662)
> Exception in thread "http-192.168.1.166-8080-16" java.lang.ArrayIndexOutOfBoundsException: 201
> at org.apache.tomcat.util.net.JIoEndpoint$WorkerStack.push(JIoEndpoint.java:769)
> at org.apache.tomcat.util.net.JIoEndpoint.recycleWorkerThread(JIoEndpoint.java:724)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:457)
> at java.lang.Thread.run(Thread.java:662)
> Exception in thread "http-192.168.1.166-8080-91" java.lang.ArrayIndexOutOfBoundsException: 202
> at org.apache.tomcat.util.net.JIoEndpoint$WorkerStack.push(JIoEndpoint.java:769)
> at org.apache.tomcat.util.net.JIoEndpoint.recycleWorkerThread(JIoEndpoint.java:724)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:457)
> at java.lang.Thread.run(Thread.java:662)
> Exception in thread "http-192.168.1.166-8080-98" java.lang.ArrayIndexOutOfBoundsException: 203
> at org.apache.tomcat.util.net.JIoEndpoint$WorkerStack.push(JIoEndpoint.java:769)
> at org.apache.tomcat.util.net.JIoEndpoint.recycleWorkerThread(JIoEndpoint.java:724)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:457)
> at java.lang.Thread.run(Thread.java:662)
> 17:08:49,515 ERROR [JIoEndpoint] Error allocating socket processor
> java.lang.ArrayIndexOutOfBoundsException: 203
> at org.apache.tomcat.util.net.JIoEndpoint$WorkerStack.pop(JIoEndpoint.java:778)
> at org.apache.tomcat.util.net.JIoEndpoint.createWorkerThread(JIoEndpoint.java:661)
> at org.apache.tomcat.util.net.JIoEndpoint.getWorkerThread(JIoEndpoint.java:702)
> at org.apache.tomcat.util.net.JIoEndpoint.processSocket(JIoEndpoint.java:737)
> at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:313)
> at java.lang.Thread.run(Thread.java:662)
> 17:08:49,530 ERROR [JIoEndpoint] Error allocating socket processor
> java.lang.ArrayIndexOutOfBoundsException: 202
> at org.apache.tomcat.util.net.JIoEndpoint$WorkerStack.pop(JIoEndpoint.java:778)
> at org.apache.tomcat.util.net.JIoEndpoint.createWorkerThread(JIoEndpoint.java:661)
> at org.apache.tomcat.util.net.JIoEndpoint.getWorkerThread(JIoEndpoint.java:702)
> at org.apache.tomcat.util.net.JIoEndpoint.processSocket(JIoEndpoint.java:737)
> at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:313)
> at java.lang.Thread.run(Thread.java:662)
> 17:08:49,546 ERROR [JIoEndpoint] Error allocating socket processor
> java.lang.ArrayIndexOutOfBoundsException: 201
> at org.apache.tomcat.util.net.JIoEndpoint$WorkerStack.pop(JIoEndpoint.java:778)
> at org.apache.tomcat.util.net.JIoEndpoint.createWorkerThread(JIoEndpoint.java:661)
> at org.apache.tomcat.util.net.JIoEndpoint.getWorkerThread(JIoEndpoint.java:702)
> at org.apache.tomcat.util.net.JIoEndpoint.processSocket(JIoEndpoint.java:737)
> at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:313)
> at java.lang.Thread.run(Thread.java:662)
> 17:08:49,548 ERROR [JIoEndpoint] Error allocating socket processor
> java.lang.ArrayIndexOutOfBoundsException: 200
> at org.apache.tomcat.util.net.JIoEndpoint$WorkerStack.pop(JIoEndpoint.java:778)
> at org.apache.tomcat.util.net.JIoEndpoint.createWorkerThread(JIoEndpoint.java:661)
> at org.apache.tomcat.util.net.JIoEndpoint.getWorkerThread(JIoEndpoint.java:702)
> at org.apache.tomcat.util.net.JIoEndpoint.processSocket(JIoEndpoint.java:737)
> at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:313)
> at java.lang.Thread.run(Thread.java:662)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list