quality@glassfish.java.net

Re: Glassfish going crazy after a while

From: Judy Tang <Judy.J.Tang_at_Sun.COM>
Date: Thu, 12 Nov 2009 21:48:19 -0800

Hi Vladimir,

Welcome to GlassFish Quality Community !

Thanks for letting us know this important information. Two things we
can check with developer further:

(1) reason for the current default value for MaxPermSize, can it be
increased

(2) when MaxPermSize is too small, how to help user diagnose this, can
some error message be issued, may be hard in this case, since out of
memory, then
may be doc in the trouble shooting guide, I wonder if it is already
documented since this is quite common case.

Judy

Vladimir Perlov wrote:
> I'm using Glassfish v3 Build 69. I don't think that my problem related
> to issue 10660. After I changed JVM settings specified below my
> application was successfully deployed in less than one minute. Sorry I
> forgot to mention about it earlier.
>
> Here are the settings I changed for numbers with bigger values than
> default ones:
> -Xss10m
> -Xmx2g
> -XX:MaxPermSize=1g
>
> I would suggest to change defaults to bigger numbers. In many cases my
> applications don't work with default numbers.
>
> Thank you,
> Vladimir
> ------------------------------------------------------------------------
> Date: Thu, 12 Nov 2009 18:26:25 -0600
> From: Timothy.Quinn_at_Sun.COM
> To: quality_at_glassfish.dev.java.net
> Subject: Re: RE: Glassfish going crazy after a while
>
>
> I have not been following this thread too closely so forgive me if any
> of you gave this information earlier...
>
>
> What build(s) of GlassFish v3 are you using?
>
>
> Is there a chance you have run into the problem described in issue
> 10660 <https://glassfish.dev.java.net/issues/show_bug.cgi?id=10660>?
> A fix for this went in Monday of this week which would be in nightly
> builds since then and in promoted build 72 from Nov. 11.
>
>
> Or you could be seeing an entirely different problem.
>
> - Tim
>
>
> Vladimir Perlov wrote:
>
> I had the same issue. My environment Free BSD v.8 and Glassfish v3
> build 69.
> In one case even BSD's system monitor freezed completely and I had
> to restart computer. The size of the War file is about 50 MB.
>
> Vladimir
>
> > Date: Thu, 12 Nov 2009 08:50:15 -0800
> > From: Elena.Asarina_at_Sun.COM <mailto:Elena.Asarina_at_Sun.COM>
> > To: quality_at_glassfish.dev.java.net
> <mailto:quality_at_glassfish.dev.java.net>
> > Subject: Re: Glassfish going crazy after a while
> >
> > I saw this issue when on Windows I've tried to deploy a "big"
> archive
> > (about 10 MB). I've got timeout during the deployment, no errors in
> > server.log and eventually java process occupied 100 % of CPU.
> >
> > Elena
> >
> > Richard Kolb wrote:
> > > Hi Cats.
> > >
> > > Has anyone experienced the container locking up
> > > I deploy a Web app that fails to deploy a few times.
> > >
> > > And then I see a Java process using 100% on my one CPU
> > > http://localhost:8080/
> > > http://localhost:4848/
> > > are unresponsive.
> > >
> > > ./bin/asadmin stop-domain domain1 does not seem work
> > >
> > > logs say nothing
> > >
> > > if I call a 'killall java' GlassFish does not shut down
> > >
> > > I have to killall -9 java to shut it down
> > >
> > > regards
> > > Richard.
> > >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> quality-unsubscribe_at_glassfish.dev.java.net
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net>
> > For additional commands, e-mail:
> quality-help_at_glassfish.dev.java.net
> <mailto:quality-help_at_glassfish.dev.java.net>
> >
>
> ------------------------------------------------------------------------
> Hotmail: Trusted email with powerful SPAM protection. Sign up now.
> <http://clk.atdmt.com/GBL/go/177141665/direct/01/>
>
>
>
> ------------------------------------------------------------------------
> Hotmail: Trusted email with Microsoft's powerful SPAM protection. Sign
> up now.
> <http://clk.atdmt.com/GBL/go/177141664/direct/01/%0Ahttp://clk.atdmt.com/GBL/go/177141664/direct/01/>