]
Eduardo Silva updated JBAS-8595:
--------------------------------
Attachment: JBAS-8595_1.patch
JBAS-8595_2.patch
Patch as suggestion to fix JBAS-8895 jboss-web-2.1.9.GA
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: Application Server 3 4 5 and 6
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: 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
Fix For: No Release
Attachments: JBAS-8595_1.patch, JBAS-8595_2.patch
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.
If you think it was sent incorrectly, please contact your JIRA administrators: