Jim Kinney wrote: % just verify, it fails at EXACTLY 1012 files on each run. % % On 06/08/2011 03:29 PM, Jim Kinney wrote: % > When doing spacewalk-repo-sync (v 1.4 postgres on RHEL6) on a large repo % > (fedora14 updates is rather large) the process chokes and gives the % > following error through the remaining files in the repo: % > % > 8657/8666 : rakarrack-0.6.1-4.git47245c3.fc14-0.x86_64 % > [Errno 24] Too many open files: % > '/var/satellite/redhat/1/b04/rakarrack/0.6.1-4.git47245c3.fc14/x86_64/b04953e43be49b96a7d74e2abde115f4265a79b5ac61656db3ce2e1ef8bbb981/rakarrack-0.6.1-4.git47245c3.fc14.x86_64.rpm' % > % > Swap out the packaged name some 7000+ times :-) % > % > Seems to occur around 1012 insertions regularly. % > % > If I rerun it, it gets another 1000 or so and dies the same way. % > % > I have system max files open set HUGE with no change. from sysctl: % > fs.file-max = 25913000 % > % > Is there someplace else I need to look to set spacewalk max files?
I think you hit the bug when filehandles for already downloaded packages are not closed. It's been fixed in 1a32855f75d1e2936b7feed2072506e8a4233562 (spacewalk-backend-1.5.10-1). Regards, -- Michael Mráka Satellite Engineering, Red Hat _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
