Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003533 [Resin] minor always 05-26-09 09:11 06-11-12 15:26
Reporter ferg View Status public  
Assigned To alex
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0003533: admin monitor session database
Description (rep by Richard Grantham)

Is there a way to inspect the Resin session database to see how many
session there are and what data they are storing? I could do this if we
were using a SQL-backed session store but I've had issues with this in
the past.

Additional Information
Attached Files

- Relationships

- Notes
(0004032)
ferg
05-26-09 09:38

Well, I guess I'd like to see session IDs, some representation of what's
stored in the blob, when it was created, etc. Just simple stuff really.
Perhaps ordering a view by creation date or size of blob.
 
(0004033)
lgeller
05-26-09 09:47

The following admin capabilities would be useful when accessing the session store persistence API:

* number of active sessions stored

plus, for each session object:

* access to session object instance
* serialized session size
* session creation timestamp
* session last interaction timestamp (timestamp of last request to get/setAttribute)
* "originating" server id (which resin app server in the cluster issued the session)

Ideally the above is encapsulated in a wrapper object, e.g. ServerSessionData, and the admin monitor has a getter API to access an array list of such objects, perhaps sorted one of the above criteria.
 
(0005377)
ferg
07-15-11 13:45

I'm trying to figure out if there's any way I can examine the persistent session store in resin 4.0.19 pro - i.e whether there is any API / process I can use to retrieve session keys and objects associated with the session? I recall reading that 4 uses an embedded database rather than the old style jdbc store. Is it possible to query this data in any way? We are observing some weird session behavior under heavy load and I'm trying to figure out if our code is doing something stupid. I have made copies of the resin-data folder at various points in time and was hoping to examine the session data from each. Any pointers would be much appreciated.
 

- Issue History
Date Modified Username Field Change
05-26-09 09:11 ferg New Issue
05-26-09 09:38 ferg Note Added: 0004032
05-26-09 09:47 lgeller Note Added: 0004033
07-15-11 13:45 ferg Note Added: 0005377
06-11-12 15:26 ferg Assigned To  => alex
06-11-12 15:26 ferg Status new => closed
06-11-12 15:26 ferg Resolution open => fixed
06-11-12 15:26 ferg Fixed in Version  => 4.0.28


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
34 total queries executed.
29 unique queries executed.
Powered by Mantis Bugtracker