Archive::Zip does not close temporary archive files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libarchive-zip-perl (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 15.10 contains Archive::Zip v 1.49 that apparently has a bug that creating/updating a zip archive file does not close it , and creating many files generates "too many open files" error similar to this -
IO error: Can't open <.......>: Too many open files at /usr/share/
Archive:
lsof -p <pid> shows all /tmp/*zip files deleted, but still open, up to max open files (1000 which is system default)
Increasing number of files in limits.conf makes the problem generate less frequently.
installing latest version 1.56 from cpan fixes the problem - Using many zip files correctly closes them, does not generate errors, and lsof -p <pid> shows only several files (less than 20)
description: | updated |
description: | updated |
summary: |
- Archive::Zip does not close archive files + Archive::Zip does not close temporary archive files |
That's probably https:/ /github. com/redhotpengu in/perl- Archive- Zip/pull/ 22
Included in upstream's 1.54 release according to their Changes file.