After syncing some files I see one open file for each synced rpm: Sync: ... 480/19844 : compat-db46-4.6.21-19.fc15-0.x86_64 481/19844 : libXtst-1.2.0-2.fc15-0.i686 482/19844 : eclib-20080310-10.p10.fc15-0.x86_64
Open files: ... spacewalk 5483 root 487r REG 253,0 713608 833201244 /data/spacewalk/satellite/redhat/1/ea2/compat-db46/4.6.21-19.fc15/x86_64/ea202debf40485b1f25206637d04066aac72c9be718dc57d70bb94579e86506f/compat-db46-4.6.21-19.fc15.x86_64.rpm spacewalk 5483 root 488r REG 253,0 26312 1397434942 /data/spacewalk/satellite/redhat/1/406/libXtst/1.2.0-2.fc15/i686/406dd0c7a7ef9e4fecfbed7e726ec0341b33c74e1599fd6f1c12b1fb6e45d27d/libXtst-1.2.0-2.fc15.i686.rpm spacewalk 5483 root 489r REG 253,0 1027432 1928453652 /data/spacewalk/satellite/redhat/1/3a6/eclib/20080310-10.p10.fc15/x86_64/3a68a258ad4576444b6bb815aacb23f2d15b1f446cf088b10c62c72fcc050b99/eclib-20080310-10.p10.fc15.x86_64.rpm A grep for open files in our /data Storage returns this: [root@deerms45 default]# lsof -p 5483 | grep data | wc -l 483 [root@deerms45 default]# So I think these files caused the problem. Regards, Silvio -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Jan Pazdziora Sent: Friday, July 15, 2011 9:25 AM To: [email protected] Subject: Re: [Spacewalk-list] repo sync crashing after postgres migration On Thu, Jul 14, 2011 at 01:22:45PM +0000, [email protected] wrote: > Hi, > > after my migration from Oracle XE to postgres I want to sync the Fedora > channel to spacewalk. > But after 1016 Packages the spacewalk-repo-sync crashed: > ... > 1015/23070 : swingx-0.9.5-2.fc15-0.noarch > 1016/23070 : qt-assistant-adp-devel-4.6.3-2.fc15-0.i686 > python: ./rpmio_internal.h:502: c2f: Assertion `fd && fd->magic == > 0x04463138' failed. > Aborted > [bash /]# > > I found the following Bugreport: > https://bugzilla.redhat.com/show_bug.cgi?id=695236 > > But my spacewalk backend is already version spacewalk-backend-1.4.39-1.el5. Can you lsof -p the-pid-of-the spacewalk-repo-sync when it's getting near the 1016 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 ---------------------------------------------------------------- Please note: This e-mail may contain confidential information intended solely for the addressee. If you have received this e-mail in error, please do not disclose it to anyone, notify the sender promptly, and delete the message from your system. Thank you. _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
