Bug 1078665

Summary: [GSS] (6.2.x) Cleanup deploy directories
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: James Livingston <jlivings>
Component: OtherAssignee: James Livingston <jlivings>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact: Russell Dickenson <rdickens>
Priority: high    
Version: 6.2.2CC: bmaxwell, brian.stansberry, cdewolf, dereed, dimitris, jaugustin2006, jawilson, jlivings, jnevill, joallen, kkhan, msadhukh, myarboro, pjelinek, pjindal, pkremens, rdickens, sappleto, sgilda, smumford, soenke.juergensen, trogers, yann.albou, yann-email
Target Milestone: CR2   
Target Release: EAP 6.2.3   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBPAPP6-1657
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
In previous versions of JBoss EAP 6, the temporary deployment directory ('/tmp/vfs'), created while the server was running, would remain if the server stopped unexpectedly or was forcibly stopped. The directory and its contents would not be removed on a later startup. This could have serious consequences as accumulated temporary files could eventually use all available disk space. The root cause of this issue has now been resolved by adding a test on startup for temporary files. If '/tmp/vfs' is found, the directory and its contents are removed and as a result, temporary files can no longer accumulate.
Story Points: ---
Clone Of: JBPAPP6-1657 Environment:
Last Closed: 2014-06-09 12:47:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 901210    
Bug Blocks: 1067532    

Comment 3 Petr Kremensky 2014-05-09 06:32:45 UTC
Verified on EAP 6.2.3.CR2.

 - start standalone
 - deploy some content
 - kill -9 <standalone_PID>, start standalone, jboss-cli.sh -c shutdown
$ du -hs jboss-eap-6.2/standalone/tmp/
48K	jboss-eap-6.2/standalone/tmp/
 - start standalone, kill -9 <standalone_PID>, start standalone, jboss-cli.sh -c shutdown
$ du -hs jboss-eap-6.2/standalone/tmp/
48K	jboss-eap-6.2/standalone/tmp/
... tmp folder is properly cleaned up