users@glassfish.java.net

Re: http-listener-1 die

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Tue, 15 Jul 2008 11:21:16 -0400

Salut,


glassfish_at_javadesktop.org wrote:
> http-listener-1 stop to listen after http stress-test
> (when it stops a timeout expires on a simple http GET request for a glassfish DOCROOT).
>
> When I disable (then save) and enable (the save) by glassfish admin console, the server restart to listen.
>
> What's the problem?
>
> [b]My application is an EAR[/b]
> with web module (servlet+jsp)
> and ejb module (sessionbean + entity bean)
> persistence provider: hibernate
> database: mysql (with connection pool)
> The max connection pool allowed is 32 (by default) only 8-10 db connection is used.

I suspect all the WorkerThread are blocked on the database's connection
pool, and Grizzly starts queing requests (hence the slowliness). Can you
do a jstack <PID> when that happens and post the output here. I bet all
the thread will be blocked on the connection pool :-)

Thanks

-- Jeanfrancois




>
> [b]The test[/b]
> tool used: jmeter
> n° user: 1000
> n° request: 3 different GET request per user (keep-alive: true)
> ramp period: 3 second
> [Message sent by forum member 'peppeme' (peppeme)]
>
> http://forums.java.net/jive/thread.jspa?messageID=286672
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>