• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

How to find all the http sessions present on Websphere Application Server?

 
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to solve out of memory issues in our application in Websphere 6.1.
I tried using Heap Analyzer to find out what is killing the server.
It seems to me that the problem is due to some hashmap occupying huge memory on a httpsession.
Now I am trying to find out a way to see all the sessions present at any point on the application server.
Is there any way through which I can accomplish this?
There could be some Websphere api that can help me find all the sessions present on the server.

Thanks,
Giriraj.
 
Ranch Hand
Posts: 498
Eclipse IDE Firefox Browser Fedora
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Giriraj,

There is some counters available on PMI that can tell you the session size.
Also, you can try MessAdmin . It is a very easy to use tool, that can tell you all about your session object (Besides other things).

Regards,
 
Giriraj Bhojak
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Marcelo....
I tried looking at MessAdmin.
My only concern there was that i needed to modify deployment descriptor for that to take effect.
The application is already in stress test environment. Hence couldn't proceed with that.

What is PMI?

I was hoping there could be some Websphere api that i can use to make some kind of rmi call to find the information about http sessions.
 
Marcelo Sousa Ancelmo
Ranch Hand
Posts: 498
Eclipse IDE Firefox Browser Fedora
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Giriraj,

PMI = Perfomance Monitoring Infrastructure
Basically, it is a bunch of data collectors that you can turn on to see what is going on in your WAS enviroment.
More information about this feature you can find in WebSphere 6.1 Infocenter, find for PMI
There is also an API, but it is not well documented, search for it in the link above.

Regards,
 
The only thing that kept the leeches off of me was this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic