Red Hat Bugzilla – Bug 73047
up2date does not close fds
Last modified: 2015-01-07 19:00:00 EST
Description of Problem:
up2date does not close fds for packages it is downloading. Default ulimit is
1024, so I think up2date will consistently fail to run if a system has that many
packages out of date. Particularly since this happens both with newly downloaded
files and ones already in /var/spool/up2date.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run up2date with many updates to do.
2. Midway through the process, do a "lsof -p <PID> | less"
There are lots and lots of open /var/spool/up2date/* files.
Just the one it is working on is open.
Created attachment 73884 [details]
up2date's 384 open fds
hmm, indeed. should be fixed in 2.9.62
Yep, works for me. (I checked 2.9.68.) Thanks.