users@glassfish.java.net

Re: How can web sessions leak?

From: Alexis Moussine-Pouchkine <alexis.mp_at_sun.com>
Date: Wed, 05 Nov 2008 21:17:48 +0100

On Nov 5, 2008, at 21:14, Jan Luehe wrote:

> On 11/ 5/08 12:04 PM, Ryan de Laplante wrote:
>> Jan Luehe wrote:
>>> Ryan,
>>>
>>> On 11/ 5/08 10:42 AM, Ryan de Laplante wrote:
>>>> Hi,
>>>>
>>>> I'm investigating a heap dump of GlassFish and my application
>>>> that has recently had "out of heap space" errors twice over the
>>>> last few weeks. I noticed that there are about 85 web session
>>>> instances hanging around. Some are successful transactions,
>>>> others incomplete or failed transactions. There doesn't seem to
>>>> be a pattern and I know that thousands of other transactions have
>>>> completed without leaking their sessions.
>>>>
>>>> I'm wondering if anyone has a clue what I should be looking for?
>>>> Also, these sessions are no more than a few KB each so I can't
>>>> see this causing my out of heap space exceptions. I'm having
>>>> hard time knowing where to start or what to look for.
>>>
>>> Which version of GlassFish are you using?
>>>
>>> Several related issues have been fixed in GlassFish v3 Prelude and
>>> the
>>> upcoming GlassFish v2.1, including:
>>>
>>> https://glassfish.dev.java.net/issues/show_bug.cgi?id=4276
>>> https://glassfish.dev.java.net/issues/show_bug.cgi?id=4662
>>> https://glassfish.dev.java.net/issues/show_bug.cgi?id=5326
>>>
>>> Thanks!
>>>
>>> Jan
>> We're using SJSAS 9.1 UR2 with a support contract. So, these bug
>> fixes did not go into later update releases, correct?
>
> Yes, that's correct. But see Alexis' reply on how we could stilll
> help, based on your support contract.

Ryan, we're down to 9.1 UR2 patch 4 (see http://blogs.sun.com/GlassFishForBusiness/entry/sjs_as_9_1_u23)
.
Maybe some of these issues are fixed already (sorry I haven't checked).
-Alexis


>> I don't think we can use GlassFish V3 Prelude because I read
>> somewhere that it isn't a full Java EE 5 app server and we use a
>> lot of Java EE 5 features. For GlassFish 2.1 we'll need to test
>> our product on it before going into production.
>>
>> Ideally I would be able to reproduce the problem first, then try
>> GlassFish 2.1 and see if I can still reproduce the problem.
>>
>
> I could create a patch based on SJSAS 9.1 UR2 and have you try to
> reproduce the issue.
>
> Let me know if that would work for you.
>
> Thanks,
>
>
> Jan
>
>>
>> Thanks,
>> Ryan
>>
>>
>> ---------------------------------------------------------------------
>> 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
>