JBoss AS 7: How to clean up tmp?

前端 未结 3 1284
遇见更好的自我
遇见更好的自我 2020-12-07 09:08

I noticed that in my JBoss Application Server 7 installation under standalone/tmp I have 400 MB of files related to past deployments, some of them a few months

3条回答
  •  情话喂你
    2020-12-07 09:52

    Files related for deployment (and others temporary items) are created in standalone/tmp/vfs (Virtual File System). You may add a policy at startup for evicting temporary files :

    -Djboss.vfs.cache=org.jboss.virtual.plugins.cache.IterableTimedVFSCache 
    -Djboss.vfs.cache.TimedPolicyCaching.lifetime=1440
    

提交回复
热议问题