Crud! I've been doing batches and now have only 573 left. I will do this on a test sync of a temp channel later today.
Jan Pazdziora <[email protected]> wrote: On Wed, Jun 08, 2011 at 03:29:01PM -0400, 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? You should not need to, it looks like we are not closing filehandles as we should. Could you please lsof -p the-pid-of-thespacewalk-repo-sync when the progress gets close to the 1012 mark to see what files are being left open? -- Jan Pazdziora Principal Software Engineer, Satellite Engineering, Red Hat _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
