JBoss EAP tmp directory is filling up with session .ser files ?

Solution Verified - Updated -

Issue

  • Is there an automated method or setting in jboss to clean unneeded files in jboss tmp directory? Most of the files are stored under tmp/sessions.
  • Our JBoss server is generating too much .ser files and they seem to be for stateful session beans.
  • Is there any way to delete these files jboss when not in use ? We are running out of disk space as tmp/ filling up with several GB of data in a few hours

  • JBoss EAP produces a lot of session files in the folder $JBOSS_HOME/server/$PROFILE/tmp/sessions, How can we limit the number of created files respectively remove them automatically?

  • JBoss is "freezing". i.e our application does not respond and we get timeouts. What we see is that 30000 .ser files are created in the tmp folder (tmp\sessions\TransactionSync-...). And this "freeze" issue seems to occur when the number of files in tmp folder hits around 30000.

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 4.2.0
    • 4.3.0
    • 5.1
  • JBoss Enterprise Portal Platform (EPP) 4.3.0_CP01

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.