[Spacewalk-list] Spacewalk 2.6 Debian repo sync file handle leaking

Jay McCanta J.McCanta at f5.com
Mon Oct 30 23:17:56 UTC 2017


I am running spacewalk 2.6 on CentOS7 trying to an sync Ubuntu repository.  I have discovered that somewhere in /usr/bin/spacewalk-sync-repo file handles are leaked.  It seems to leak 2 handles for every file it needs to import.  At some point, I run out of handles.  The files are all temp files '/tmp/tmpXXXXXX.  Once all the open handles are exhausted, I get 'ERROR: requests.exceptions.RequestException occurred'  over and over and over.

I have tried looking in
/usr/lib/python2.7/site-packages/spacewalk/common/rhn_deb.py
/usr/lib/python2.7/site-packages/spacewalk/satellite_tools/repo_plugins/deb_src.py

To see if I can find it, but I cannot.  The repo (xenial-universe) has 43567 packages in it.  Has anyone else encountered (and fixed) this?

Jay McCanta
F5 Networks, Inc.
Seattle,  WA 98119

We Make Apps GO
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20171030/d4f21328/attachment.htm>


More information about the Spacewalk-list mailing list