[Spacewalk-list] repo sync crashing after postgres migration

Silvio.Schanz at elektrobit.com Silvio.Schanz at elektrobit.com
Wed Jul 20 08:13:25 UTC 2011


Hi,

the change of /var/satellite to /data/spacewalk/satellite was one of the first things we changed
after the initial installation of spacewalk1.0 with Oracle XE. 

I applied this fix:
http://git.fedorahosted.org/git/?p=spacewalk.git;a=commitdiff;h=1a32855f75d1e2936b7feed2072506e8a4233562
and this change seems to solve my problem.

Thanks for your help.

Regards,
  Silvio


-----Original Message-----
From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Michael Mraka
Sent: Friday, July 15, 2011 2:50 PM
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] repo sync crashing after postgres migration

Silvio.Schanz at elektrobit.com wrote:
% 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.

Did you move data from /var/satellite to /data/satellite before or after XE to PostgreSQL migration? In the other word is it after XE to PostgreSQL or after /var/satellite to /data/spacewalk migration issue?

On the other hand in spacewalk-1.5.10 there has been fixed one more leaked descriptor issue (commit 1a32855f75d1e2936b7feed2072506e8a4233562)
which might cause the bug you can see.

% Regards,
%    Silvio

Regards,

--
Michael Mráka
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