Re: JBoss-related question

From: Guillaume Cottenceau <gc(at)mnc(dot)ch>
To: Håkan Jacobsson <hakan(dot)jacobsson(at)relevanttraffic(dot)com>
Cc: Michael Goldner <mgoldner(at)agmednet(dot)com>, "pgsql-jdbc\(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: JBoss-related question
Date: 2008-01-08 16:43:26
Message-ID: 877iikclox.fsf@messaging.mobileway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Håkan Jacobsson <hakan.jacobsson 'at' relevanttraffic.com> writes:

> Hi all,
>
> I tried jmap on the Jboss process id and below is the result.

[...]

> MaxPermSize = 88080384 (84.0MB)

[...]

> PS Perm Generation
> capacity = 86114304 (82.125MB)
> used = 86077472 (82.08987426757812MB)
> free = 36832 (0.035125732421875MB)
> 99.9572289407344% used
>
> -------------------------------------------------
>
> I'm not 100% on how to interpret the result - but looking at the last entry 'PS Perm Generation': 99.9%
> used, it doesn't look all that good.

It's counted compared to the currently maximum capacity, not tp
the maximum allowed capacity. You're really at 97.7% use, which
surely does not look good. You should at least increase the
MaxPermSize to 128MB, and then you should monitor that figure to
see how it behaves on your server, to make sure you don't run out
of space.

> I did restart JBoss and then I tested some stuff, before
> running jmap. So, this hasn't got to do with re-deployment
> without restarting Jboss.

It may have to do with just having a large number of classes in
your application container, as it's the case for us. It's not bad
by itself, it just needs a little more memory.

--
Guillaume Cottenceau, MNC Mobile News Channel SA, an Alcatel-Lucent Company
Av. de la Gare 10, 1003 Lausanne, Switzerland - direct +41 21 317 50 36

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Håkan Jacobsson 2008-01-08 20:37:52 Re: JBoss-related question
Previous Message Håkan Jacobsson 2008-01-08 14:51:57 Re: JBoss-related question