users@glassfish.java.net

Glassfish/Grizzly freezes when simu requests exceeds req processing threads

From: <glassfish_at_javadesktop.org>
Date: Wed, 23 Jun 2010 09:54:14 PDT

Glassfish freezes when simultaneous requests exceed request processing threads

Glassfish Configuration:

Request Processing
=============
Thread Count: 5
Initial Thread Count: 2
Thread Increment: 1
Request Timeout: 30
Buffer Length: 8192

Keep Alive
========
Thread Count: 1
Max Connections: 250
Time Out: 30

Our application exposes multiple web services. Each web service internally call some other web services.

Scenario:
5 concurrent web service requests are sent to web service 1 on 8080 port. Then Web service 1 makes call to another web service 2 on secured port 8181. Then Web service 2 makes another call on either secured or unsecured port.

This scenario if freezing up the Glassfish as it is running out of request processing threads. But this kind of behavior is not acceptable as at least it should timeout and ready to accept other requests.

Any help in this matter is much appreciated.

http thread status is attached
[Message sent by forum member 'visu_patlolla']

http://forums.java.net/jive/thread.jspa?messageID=475556