Size of tmp directory is constantly increasing in EAP 6

Solution Verified - Updated -

Issue

  • Size of VFS folder under temp directory is getting increased.

  • The size of the tmp directory is constantly increasing.
    E.g. in tmp/vfs two new directories for temp and deployment get created during every restart.

  • Note this issue occurs because we use the -Xrs option of the JVM option. (This option helps to prevent possible interference when JVM is running as a service and receives CTRL_LOGOFF_EVENT or SIGHUP)

  • In JBoss tmp/vfs grows each day and fills up the disk. Is there a way to remove the content of tmp/vfs?

  • Will removing the contents of temp/vfs cause any issues?

  • Noticed that in all our 6.0.1 environments, the standalone/tmp file space is filling up with the vfs directory taking up all the space. We cannot upgrade to 6.1, is there any workaround in EAP 6.0.1?

  • Is there any CLI commands to clean the old temp files or any other alternative way to clean these old temp and data files?

  • Having problems due to JBoss temporal files taking a lot of disk space. Is it safe to delete tmp directories manually from JBoss EAP 6.2?
  • After deploying the applications temporary file generating accordingly. How to clear those temporary files building with the deploed applications to release the space from unwanted temporary files?
  • Accumulation of old deployment artefacts. We've noticed that we accumulate old deployments and configuration history within the JBoss home directory, specifically in \standalone\tmp\vfs and \standalone\configuration\standalone_xml_history. Is this expected behaviour?
  • Files related for deployment and other temporary items are created in standalone/tmp/vfs. What is the best way to clean these up? We tried adding a policy at startup for evicting temp files within the standalone.xml: TimedPolicyCaching.lifetime=1440 however it did not have an effect.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.0.x
    • 6.1.x
    • 6.2.x
  • Red Hat JBoss Operations Network (JON)
    • 3.2

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