Re: JBoss-related question

Поиск
Список
Период
Сортировка
От Håkan Jacobsson
Тема Re: JBoss-related question
Дата
Msg-id 5580CB5EB883C44587BC48FA0E54592223CC3E8E36@RTSRV02.relevanttraffic.local
обсуждение исходный текст
Ответ на Re: JBoss-related question  (Guillaume Cottenceau <gc@mnc.ch>)
Список pgsql-jdbc
Guillaume,

Thanx a lot - I'll try that!

Håkan Jacobsson - System Developer
----------------------------------------------------------------

RELEVANT TRAFFIC EUROPE AB, Riddarg 17D, SE-114 57 Sthlm, Sweden

Mobile (+46) 736 56 97 58
Direct   (+46) 8 56 24 98 05
Phone to office (+46) 8 678 97 50 || Fax (+46) 8 661 19 22


-----Ursprungligt meddelande-----
Från: Guillaume Cottenceau [mailto:gc@mnc.ch]
Skickat: den 8 januari 2008 17:43
Till: Håkan Jacobsson
Kopia: Michael Goldner; pgsql-jdbc@postgresql.org
Ämne: Re: SV: [JDBC] JBoss-related question

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

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Guillaume Cottenceau
Дата:
Сообщение: Re: JBoss-related question
Следующее
От: "mp.rajkhowa"
Дата:
Сообщение: Autocommit problem