users@glassfish.java.net

Re: Putting GlassFish v3 in Production: Essential Surviving Guide

From: Alexis Moussine-Pouchkine <alexis.mp_at_sun.com>
Date: Sun, 29 Nov 2009 14:35:11 +0100

On Nov 29, 2009, at 4:31, Cam Bazz wrote:

> Hello;
>
>
> So my new values are:
>
> NetworkConfig>ThreadPools>http-thread-pool#MaxThreadPoolSize = 20
>
> NetworkConfig>ThreadPools>thread-pool-1#MaxThreadPoolSize = 200
>
> NetworkConfig>Transports>tcp#AcceptorThreads = 2 (I have a dual cpu
> machine)
>
> I am not sure about the maxthreadpoolsize of http-thread-pool (is 20
> to high?)
>
>
>> If you can get a jstack PID when that happens it will help us
>> debugging the
>> issue. Are you using any dabatase/jdbc/connection pool by any
>> chance? If
>> yes, we know where to start looking :-)
>
> Yes, I am using postgresql. What do you mean by getting a jstack PID?
> is equal to getting a heap dump by using jmap?

Yes, I'm pretty sure Jean-François was asking for a stack trace of the
hung GlassFish jvm.
Also, which version of v3 are you using in production?

cheers,
-Alexis


>
> Best Regards,
> -C.B.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>