[Spacewalk-list] repo sync crashing after postgres migration

Michael Mraka michael.mraka at redhat.com
Fri Jul 15 12:49:41 UTC 2011


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




More information about the Spacewalk-list mailing list