[Spacewalk-list] repo sync crashing after postgres migration

Silvio.Schanz at elektrobit.com Silvio.Schanz at elektrobit.com
Fri Jul 15 12:09:29 UTC 2011


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 at deerms45 default]# lsof -p 5483 | grep data | wc -l
483
[root at deerms45 default]#

So I think these files caused the problem.

Regards,
   Silvio

-----Original Message-----
From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Jan Pazdziora
Sent: Friday, July 15, 2011 9:25 AM
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] repo sync crashing after postgres migration

On Thu, Jul 14, 2011 at 01:22:45PM +0000, Silvio.Schanz at elektrobit.com 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
Spacewalk-list at redhat.com
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.





More information about the Spacewalk-list mailing list