You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Melloware (JIRA)" <ji...@apache.org> on 2018/11/09 18:40:00 UTC

[jira] [Commented] (COMPRESS-470) ParallelScatterZipCreator leaks temporary files (and maybe more)

    [ https://issues.apache.org/jira/browse/COMPRESS-470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16681816#comment-16681816 ] 

Melloware commented on COMPRESS-470:
------------------------------------

Thank you for opening this issue.  We really appreciate you reviewing it!

And to confirm the only way right now we can delete these files is by stopping our app (JBoss) then deleting them and restarting our app.   because if we delete on Linux they are not truly deleted because it knows the original PID (Jboss) is holding references to them.  Thank you in advance to any fixes you can provide.

> ParallelScatterZipCreator leaks temporary files (and maybe more)
> ----------------------------------------------------------------
>
>                 Key: COMPRESS-470
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-470
>             Project: Commons Compress
>          Issue Type: Bug
>          Components: Archivers
>    Affects Versions: 1.18
>            Reporter: Stefan Bodewig
>            Priority: Major
>
> As indicated by https://issues.apache.org/jira/browse/COMPRESS-446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16679878#comment-16679878 COMPRESS-446 may have closed one resource leak but not all of them.
> If an exception occurs in {{writeTo}} we may miss calling {{close}} on some of the {{ScatterZipOutputStream}}s which in turn may leak resources like temporary files opened by using {{FileBasedScatterGatherBackingStore}}.
> This affects all versions since 1.10



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)