users@glassfish.java.net

Re: Blocking glassfish with a load of HTTP requests

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Mon, 19 Oct 2009 10:06:37 -0400

Salut,

Pascal Maugeri wrote:
> Hi
>
> Using: Sun GlassFish Communications Server 1.5 (9.1.1) (build b60g-fcs)
>
> Our glassfish web service gets blocked when receiving several HTTP
> requests at the same time. We're talking about 100 threads sending 1
> HTTP request at the same time. This should not be a big deal for
> Glassfish IMO.
>
> This is weird because using JMeter I'm not able to reproduce the same
> problem, this is only related to our client.
>
> There is most probably something wrong in our client but this blocks
> completly our glassfish instance and a restart is needed (no more HTTP
> requests are accepted) :-(

Can you grab a ${java.home}/bin/jstack PID when it hangs? Also, can you
add the following property in domain.xml:

    -Dcom.sun.enterprise.web.connector.grizzly.enableSnoop=true

And attach the server.log to this thread.

A+

--Jeanfrancois


>
> Any idea why this is happening ?
>
> Regards,
> Pascal
>
>
>
>