cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Gallardo (JIRA)" <>
Subject [jira] Closed: (COCOON-1882) ZipArchiveSerializer causes "Too many open files" exception
Date Tue, 18 Jul 2006 04:30:18 GMT
     [ ]

Antonio Gallardo closed COCOON-1882.

    Fix Version/s: 2.2-dev (Current SVN)
                   2.1.10-dev (current SVN)
       Resolution: Fixed

Thanks for the patch. It was applied in 2.1.10-dev and 2.2-dev. Feel free to reopen the issue
if needed.

> ZipArchiveSerializer causes "Too many open files" exception
> -----------------------------------------------------------
>                 Key: COCOON-1882
>                 URL:
>             Project: Cocoon
>          Issue Type: Bug
>          Components: * Cocoon Core
>    Affects Versions: 2.1.8, 2.1.9, 2.1.10-dev (current SVN)
>            Reporter: Holger Wahlen
>         Assigned To: Antonio Gallardo
>             Fix For: 2.2-dev (Current SVN), 2.1.10-dev (current SVN)
>         Attachments: ZipArchiveSerializer.diff
> When ZipArchiveSerializer is used to zip a big number of files, the OS-/Java-dependent
limit for open file descriptors can be exceeded, resulting in a corrupt zip file and a "Too
many open files" exception in the log.
> Apparenty the reason for this is that the InputStreams created in the addEntry method
aren't cleaned up properly. If I add a call
>   sourceInput.close();
> after the output has been written, the problem doesn't occur any more. (I've had to do
this in the 2.1.7 we're working with, hence no patch file.)

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message