[Spacewalk-list] Too many open files while syncing Red hat repository on Spacewalk server 2.9

Stefan Bluhm redhat.com at bluhm-de.com
Mon Feb 24 08:09:22 UTC 2020


Hello Wenkai, 

I never experienced this issue myself. 

Maybe a restart would help. If this issue is happening frequently, check the file system limit (ulimit) to see if this might be the root cause. 

Best wishes, 

Stefan 




Von: "Wenkai Chen" <wenkai_chen at ensigninfosecurity.com> 
An: "spacewalk-list" <spacewalk-list at redhat.com> 
Gesendet: Montag, 24. Februar 2020 02:32:48 
Betreff: [Spacewalk-list] Too many open files while syncing Red hat repository on Spacewalk server 2.9 



HI Spacewalk users, 



I have an issue while running a repo sync on one of our red hat repositories in spacewalk. 



This was the error log. 



======================================================================================================================================================================================================= 

2020/02/21 19:47:45 +08:00 [Errno 24] Too many open files: '/var/satellite/redhat/1/stage/zziplib-0.13.62-9.el7.x86_64.rpm' 

2020/02/21 19:47:45 +08:00 [Errno 24] Too many open files: '/var/satellite/redhat/1/stage/zziplib-0.13.62-11.el7.x86_64.rpm' 

2020/02/21 19:47:45 +08:00 [Errno 24] Too many open files: '/var/satellite/redhat/1/stage/zziplib-0.13.62-5.el7.x86_64.rpm' 

2020/02/21 19:47:45 +08:00 [Errno 24] Too many open files: '/var/satellite/redhat/1/stage/zziplib-0.13.62-9.el7.i686.rpm' 

2020/02/21 19:47:45 +08:00 [Errno 24] Too many open files: '/var/satellite/redhat/1/stage/zziplib-0.13.62-5.el7.i686.rpm' 

2020/02/21 19:47:45 +08:00 [Errno 24] Too many open files: '/var/satellite/redhat/1/stage/zziplib-0.13.62-11.el7.i686.rpm' 

2020/02/21 19:47:45 +08:00 Importing packages finished. 

2020/02/21 19:47:45 +08:00 

2020/02/21 19:47:45 +08:00 Linking packages to the channel. 

2020/02/21 19:48:12 +08:00 ERROR: Could not find object [<spacewalk.server.importlib.importLib.IncompletePackage instance; attributes={'package_size': None, 'package_arch_id': 104, 'name': 'systemd-libs', 'checksum_list': None, 'md5sum': None, 'org_id': 1, 'epoch': None, 'checksums': {'sha256': 'cfe0180fb4d1adde0f1d8ad98da07248b9fb8e737e4fc3e1fc30b5a4d19d2f14'}, 'channels': {102: 'rhel7-server-rpms'}, 'nevra_id': 24551, 'package_id': None, 'last_modified': None, 'name_id': 3602, 'version': '208', 'checksum': 'cfe0180fb4d1adde0f1d8ad98da07248b9fb8e737e4fc3e1fc30b5a4d19d2f14', 'release': '20.el7_1.5', 'checksum_type': 'sha256', 'arch': 'i686', 'evr_id': 3195, 'checksum_id': 1661644}] in table rhnPackage 

2020/02/21 19:48:12 +08:00 ERROR: Could not find object [<spacewalk.server.importlib.importLib.IncompletePackage instance; attributes={'package_size': None, 'package_arch_id': 104, 'name': 'systemd-libs', 'checksum_list': None, 'md5sum': None, 'org_id': 1, 'epoch': None, 'checksums': {'sha256': 'cfe0180fb4d1adde0f1d8ad98da07248b9fb8e737e4fc3e1fc30b5a4d19d2f14'}, 'channels': {102: 'rhel7-server-rpms'}, 'nevra_id': 24551, 'package_id': None, 'last_modified': None, 'name_id': 3602, 'version': '208', 'checksum': 'cfe0180fb4d1adde0f1d8ad98da07248b9fb8e737e4fc3e1fc30b5a4d19d2f14', 'release': '20.el7_1.5', 'checksum_type': 'sha256', 'arch': 'i686', 'evr_id': 3195, 'checksum_id': 1661644}] in table rhnPackage 







There are more files before this that showed ‘Too many open files: “,but I skipped it as it were too many. 



Anyone has got any advice on this? 













Chen Wenkai 

Infrastructure Security Engineer 

[ https://www.linkedin.com/company/ensign-infosecurity/ ] [ https://youtu.be/9J7FkhXpb-4 ] [ https://www.facebook.com/EnsignGlobal ] 
	


E: wenkai_chen at ensigninfosecurity.com 

A: 30A Kallang Place, Level 9 Right Wing, Singapore 339213 









CONFIDENTIALITY NOTICE: “This email is confidential and may also be privileged. If this email has been sent to you in error, please delete it immediately and notify us. Please do not copy, distribute or disseminate part or whole of this email if you are not the intended recipient or if you have not been authorized to do so. We reserve the right, to the extent and under circumstances permitted by applicable laws, to monitor, retain, intercept and block email messages to and from our systems. Thank you.” 

_______________________________________________ 
Spacewalk-list mailing list 
Spacewalk-list at redhat.com 
https://www.redhat.com/mailman/listinfo/spacewalk-list 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20200224/b51dcbce/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 4747 bytes
Desc: image001.png
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20200224/b51dcbce/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 633 bytes
Desc: image002.png
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20200224/b51dcbce/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 1019 bytes
Desc: image003.png
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20200224/b51dcbce/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 552 bytes
Desc: image004.png
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20200224/b51dcbce/attachment-0003.png>


More information about the Spacewalk-list mailing list