> From: Chad Kellerman [mailto:[EMAIL PROTECTED]
> Subject: Tomcat JVM not releasing deleted files (lsof show
> delete inodes taking up disk space)
>
> the application indexes uploaded files, the indexing process
> creates the temporary files then removes them.

Sounds like your "indexing process" is hanging onto some form of reference to 
the temporary files, thereby keeping the busy counts for the inodes up.  Space 
for a file won't be released until its busy count goes go zero, even if it is 
unlinked.

Look for places in your code that hang on to references to objects of the type 
File, RandomAccessFile, some form of InputStream or OutputStream, etc.  Not 
nulling out those references may keep the underlying inode busy.  A heap 
profiler might help in tracking down those specific object types.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to