[Bug 746701] New: osc does not close some temporary files -> "[Errno 24] Too many open files"
https://bugzilla.novell.com/show_bug.cgi?id=746701 https://bugzilla.novell.com/show_bug.cgi?id=746701#c0 Summary: osc does not close some temporary files -> "[Errno 24] Too many open files" Classification: Internal Novell Products Product: openSUSE Build Service Version: master Platform: Other OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: osc AssignedTo: adrian@suse.com ReportedBy: florent@fridu.net QAContact: adrian@suse.com Found By: --- Blocker: --- Created an attachment (id=475840) --> (http://bugzilla.novell.com/attachment.cgi?id=475840) Close file descriptor after getting tmp file name User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20100101 Firefox/10.0 When doing a client-side package copy, osc creates a temporary file /tmp/osc-copypacXXXXXX for each file of the package. This temp files are deleted at the end of the operation. But the file descriptors stay open. If you repeat that a lot of times without closing osc (for example by calling core.osc.copy_pac() from a python script), you get "[Errno 24] Too many open files". I join a patch which solves the problem. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com