Dennis Gesker wrote:
> no prstat or prstack but I will try to get the other information via
> jstack and kill -3. But, I guess I'll have to wait until the bad
> behavior happens. Or is there something to be gained by running it now?
No, unfortunalty. Once the high cpu happens, do a couple a kill -3 so we
can try to determines which thread/component is having fun.
-- Jeanfrancois
>
> --drg
>
> On 10/17/07, *Jeanfrancois Arcand* <Jeanfrancois.Arcand_at_sun.com
> <mailto:Jeanfrancois.Arcand_at_sun.com>> wrote:
>
> Salut,
>
> Dennis Gesker wrote:
> > I'm using mod_jk both Apache and Glassfish are running on Linux
> but on
> > different machines. -drg
>
> Hum...I've no idea since Grizzly is bypassed when mod_jk is used. Next
> time the high CPU happens, can you try to get a thread dump (using
> jstack or kill -3)? Better, can you do (not sure prstat exist on Linux)
>
> % prstat -Lp <java PID>
> % pstack PID/LWPID
>
> Then match the result:
>
> > f8800278 ???????? (c497fcb8, c497fe80, a, ec2ff250, f880d120,
> c497fdb0)
>
> The last line ??????? contains the thread ID: c497fcb8.
>
> Then kill -3 PID and match the thread id. We will know which thread is
> eating the memory.
>
> Hope that help.
>
> Thanks
>
> -- Jeanfrancois
>
>
> >
> > On 10/17/07, *Jeanfrancois Arcand* < Jeanfrancois.Arcand_at_sun.com
> <mailto:Jeanfrancois.Arcand_at_sun.com>
> > <mailto:Jeanfrancois.Arcand_at_sun.com
> <mailto:Jeanfrancois.Arcand_at_sun.com>>> wrote:
> >
> > Hi Dennis,
> >
> > are you using mod_jk between Apache and GlassFish, or do you
> forward
> > requets from Apache to GlassFish? Which platform GlassFish is
> running?
> >
> > Thanks
> >
> > -- Jeanfrancois
> >
> > Dennis Gesker wrote:
> > > Ubuntu Linux Kernel 2.6.20-16
> > > Pentium 4 Processor 4 GB of Ram
> > > Java 1.6.0-b105
> > > Glassfish-v2-b58g
> > >
> > >
> > > I seem to be having an issue with Glassfish (after a
> couple of days)
> > > using all the CPU and making the rest of the system
> unresponsive.
> > I am
> > > able login to the Admin console but even from this
> location I an
> > unable
> > > to stop the instance of the server. Ultimately the machine
> become so
> > > unresponsive I have to to a hard restart.
> > >
> > > The server is not under a heavy load. The server is
> running three
> > > instances of JSPWiki (fronted by Apache2 on a different
> server)
> > each of
> > > which get fewer than 10 hits a day.
> > >
> > > I've made changes to -Xms384m and -Xmx384m and added an
> -Xss64k
> > entry.
> > >
> > > Could anyone offer any hints to put me and this machine on
> the
> > right track?
> > >
> > >
> > > --
> > > Dennis R. Gesker
> > > email: dennis_at_gesker.com <mailto:dennis_at_gesker.com>
> <mailto: dennis_at_gesker.com <mailto:dennis_at_gesker.com>> <mailto:
> > dennis_at_gesker.com <mailto:dennis_at_gesker.com>
> <mailto:dennis_at_gesker.com <mailto:dennis_at_gesker.com>>>
> > > Key Id: 0xEFA10A51
> > > First things first, but not necessarily in that order. --
> Unknown
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> users-unsubscribe_at_glassfish.dev.java.net
> <mailto:users-unsubscribe_at_glassfish.dev.java.net>
> > <mailto:users-unsubscribe_at_glassfish.dev.java.net
> <mailto:users-unsubscribe_at_glassfish.dev.java.net>>
> > For additional commands, e-mail:
> users-help_at_glassfish.dev.java.net
> <mailto:users-help_at_glassfish.dev.java.net>
> > <mailto:users-help_at_glassfish.dev.java.net
> <mailto:users-help_at_glassfish.dev.java.net>>
> >
> >
> >
> >
> > --
> > Dennis R. Gesker
> > email: dennis_at_gesker.com <mailto:dennis_at_gesker.com>
> <mailto:dennis_at_gesker.com <mailto:dennis_at_gesker.com>>
> > Key Id: 0xEFA10A51
> > First things first, but not necessarily in that order. -- Unknown
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> <mailto:users-unsubscribe_at_glassfish.dev.java.net>
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
> <mailto:users-help_at_glassfish.dev.java.net>
>
>
>
>
> --
> Dennis R. Gesker
> email: dennis_at_gesker.com <mailto:dennis_at_gesker.com>
> Key Id: 0xEFA10A51
> First things first, but not necessarily in that order. -- Unknown