You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by Marc Pfaff <pf...@adobe.com> on 2015/12/16 17:21:04 UTC

Missing SessionStatistics Mbeans

Hi 

Using oak-1.3.11.r1716789, I have a situation, where I see the session
counter, as per RepositoryStats#SessionCount, constantly increasing over
time.

This makes me wonder if I stumbled over a session leak. So far, I
consulted the SessionStatistics beans in the system console in those cases
to get an idea of suspicious sessions, by looking at
SessionStatistics#InitStackTrace. But it looks like there are no
SessionStatistics mbeans no more in the system console.

Now I wonder where have the SessionStatistics mbeans gone? Or is there an
issue in the value reported by RepositoryStats#SessionCount and I don¹t
have a session leak at all? What other options do I have to find a session
leak in my code? 

The last checkpoint where I still have the SessionStatistics beans is with
oak-1.3.10.r1713699.

Thanks a lot. 

Regards
Marc

 


Re: Missing SessionStatistics Mbeans

Posted by Chetan Mehrotra <ch...@gmail.com>.
Hi Marc,

Thanks for reporting this. It looks like a regression due to changes
done for OAK-3477 (affect 1.3.11). Opened OAK-3802 for that.

Chetan Mehrotra


On Wed, Dec 16, 2015 at 9:51 PM, Marc Pfaff <pf...@adobe.com> wrote:
> Hi
>
> Using oak-1.3.11.r1716789, I have a situation, where I see the session
> counter, as per RepositoryStats#SessionCount, constantly increasing over
> time.
>
> This makes me wonder if I stumbled over a session leak. So far, I
> consulted the SessionStatistics beans in the system console in those cases
> to get an idea of suspicious sessions, by looking at
> SessionStatistics#InitStackTrace. But it looks like there are no
> SessionStatistics mbeans no more in the system console.
>
> Now I wonder where have the SessionStatistics mbeans gone? Or is there an
> issue in the value reported by RepositoryStats#SessionCount and I don¹t
> have a session leak at all? What other options do I have to find a session
> leak in my code?
>
> The last checkpoint where I still have the SessionStatistics beans is with
> oak-1.3.10.r1713699.
>
> Thanks a lot.
>
> Regards
> Marc
>
>
>