You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "David Campbell (Jira)" <ji...@apache.org> on 2025/12/01 22:02:00 UTC

[jira] [Created] (FILEUPLOAD-368) 1.6.0 unlike 1.5: brought on an issue where temporary files and descriptors were not being freed

David Campbell created FILEUPLOAD-368:
-----------------------------------------

             Summary: 1.6.0 unlike 1.5:  brought on an issue where temporary files and descriptors were not being freed
                 Key: FILEUPLOAD-368
                 URL: https://issues.apache.org/jira/browse/FILEUPLOAD-368
             Project: Commons FileUpload
          Issue Type: Bug
    Affects Versions: 1.6.0
            Reporter: David Campbell


An upgrade of commons-fileupload to 1.6.0 brought on a problem on high-load servers where uploaded files were not being deleted and the server file descriptor utilisation kept growing.  On all server instances, file resource utilisation kept growing to the point where it was filling /tmp completely and then the server instances needed restarting to solve, as file space is not reclaimed even on file deletion on Unix servers when file descriptors are still open.  The same issue occurred on all our server instances.

We had a major production incident as a result.

Rolled back to 1.5.  That fixed the issue, problem completely gone.

Don't know any further details of the whys at this point.

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)