Thank you for your response.
I checked some performance turning docs.
I think the Grizzly is default HTTP connector, but the problem for my SOAP
request is that
it require at least 1-4 seconds to complete the response.
I follow the thread
http://www.nabble.com/Server-stops-responding-due-to-Glassfish-td16964918i20.html
and use Thread.sleep(4000) to simulate the time need to prepare the response
back to client.
Actually, in my SOAP service which call another server's SOAP but it out of
my domain.
Then the problem could occurred. All working THREAD is locked. I don't know
if this related to the HTTP Thread Count or not.
I asked Jeanfrancois about this, he talked me that the sympton is correct.
In Glassfish 2 it can not release the working Thread.
I really want to make sure this point.
Could you explain more detail for me, thanks.
The message from Jeanfrancois
this is expected. If you lock all the threads, then Grizzly cannot do
anything for that...V3 will times out those threads, but for v2 we haven't
any solution.
A+
-- Jeanfrancois
pccontact168_at_gmail.com wrote:
> Dear Jeanfrancois,
>
> in your reply
> http://www.nabble.com/Server-stops-responding-due-to-Glassfish-td16964918i20.html
>
> I encounter a similar problem that my glassfish hang on waiting some
> response from other program. I experiment your suggestion and my glassfish
> hang similar to my current situation.
>
> Here is your suggestion.
> We need to find why your request are queued. Like I said, it's usually
> not a Grizzly/WebContainer issue. You can reproduce that issue easily by
> writing a Servlet that does:
>
> Thread.sleep(60000);
>
> Do 10 requests, and you will get the same unresponsiveness as you has
> been observed. All requests will be serviced, but the last 4 will take a
> while.
> I just sleep for 4000 ms. it only reply 10 response/second.
>
> My application server is 4-core CPU with 4G RAM on CentOS5.3
>
> Without such sleep action it can response 500/second at least.
>
> I am wondering how to conifgure Glassfish to increase the performance.
>
> Can you list some or give me some advicses?
>
> Thank you for your kindly help!!
>
> Eric
--
View this message in context: http://www.nabble.com/Glassfish-V2-Max-HTTP-Request-Thread-Count---tp24423154p24430209.html
Sent from the java.net - glassfish users mailing list archive at Nabble.com.