[jboss-user] [Installation, Configuration & DEPLOYMENT] - Life cycle of sessions .ser files in tmp in JBoss-4.2.1.GA

korlam do-not-reply at jboss.com
Fri May 16 07:43:42 EDT 2008


My understanding on .ser files in tmp/sessions folders goes like this:

1. When the beans are created at first instance, the folders are created in sessions folder of tmp (jboss-4.2.1.GA\server\default\tmp).
2. When passivated they are written as .ser files
3. When activated these .ser files were read
4. When the server is shutdown (or the ear is re-deployed) then the sessions folder is cleaned and gets deleted

Please correct me (or point me towards docs) if my understanding is wrong.

Now, my issue is: 
We have a performance tracker (KEYNOTE) on production server for our application. With this tool enabled, found that .ser files keep increasing in the respective bean folders and taking away the full disk space in matter of couple of days.

NOTE - Without this tracker, things are fine. Every JSP page in our application invokes and removes the beans.

Can anyone please explain about the sessions folder  - when do the folder(s) with bean name are created with .ser files, when they are updated and deleted.

Thanks & Regards.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151348#4151348

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151348

More information about the jboss-user mailing list