How to watch active sessions size

2008-10-28 Thread Hugo Palma
I'd like to watch the active sessions count and size for a given web application. I know that implementing a HttpSessionListener to keep the references to all created sessions and then implementing some page to query it's state works, but that also means that i would have to redeploy all

Re: How to watch active sessions size

2008-10-28 Thread Leon Rosenberg
Lambdaprobe :-) Btw, your solution will create a memory leak, its better just to count creation and destruction events instead of holding references. regards Leon On Tue, Oct 28, 2008 at 11:08 AM, Hugo Palma [EMAIL PROTECTED] wrote: I'd like to watch the active sessions count and size for a

Re: How to watch active sessions size

2008-10-28 Thread Hugo Palma
Isn't Lambdaprobe dead ? Thanks for the tip on the memory leak, you're right. But how else can i find out the size of each active session ? On Tue, Oct 28, 2008 at 10:33 AM, Leon Rosenberg [EMAIL PROTECTED] wrote: Lambdaprobe :-) Btw, your solution will create a memory leak, its better just

RE: How to watch active sessions size

2008-10-28 Thread Caldarale, Charles R
From: Hugo Palma [mailto:[EMAIL PROTECTED] Subject: Re: How to watch active sessions size Isn't Lambdaprobe dead ? The web site is currently down, but many of us have the (open) source and .war file. Let me know if you want a copy. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL

Re: How to watch active sessions size

2008-10-28 Thread Leon Rosenberg
On Tue, Oct 28, 2008 at 1:29 PM, Hugo Palma [EMAIL PROTECTED] wrote: Isn't Lambdaprobe dead ? Thanks for the tip on the memory leak, you're right. But how else can i find out the size of each active session ? btw, how does lambdaprobe does it? I mean the size? Chuck will surely correct me

RE: How to watch active sessions size

2008-10-28 Thread Caldarale, Charles R
From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Subject: Re: How to watch active sessions size Chuck will surely correct me on that, but the actual size of an object is extremely dependent on the VM implementation (boolean stored in integer, object header overhead, and so on...) Correct

Re: How to watch active sessions size

2008-10-28 Thread Brantley Hobbs
btw, how does lambdaprobe does it? I mean the size? Chuck will surely correct me on that, but the actual size of an object is extremely dependent on the VM implementation (boolean stored in integer, object header overhead, and so on...) I once tried to create a sizeof util, and it works

RE: How to watch active sessions size

2008-10-28 Thread Jens Schleusener
On Tue, 28 Oct 2008, Caldarale, Charles R wrote: From: Hugo Palma [mailto:[EMAIL PROTECTED] Subject: Re: How to watch active sessions size Isn't Lambdaprobe dead ? The web site is currently down, but many of us have the (open) source and .war file. Let me know if you want a copy. - Chuck