users@glassfish.java.net

Re: Putting GlassFish v3 in Production: Essential Surviving Guide

From: Cam Bazz <cambazz_at_gmail.com>
Date: Mon, 30 Nov 2009 12:58:06 +0200

promoted build 72.



On Sun, Nov 29, 2009 at 3:35 PM, Alexis Moussine-Pouchkine
<alexis.mp_at_sun.com> wrote:
>
> 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
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>