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

Simon Avery Simon.Avery at oxygenhouse.com
Mon Feb 24 08:07:54 UTC 2020


Hi Chen

This may be an underlying Linux limit being reached.

If so, perhaps raising it using a method such as this will resolve;  https://www.tecmint.com/increase-set-open-file-limits-in-linux/

SA

From: spacewalk-list-bounces at redhat.com <spacewalk-list-bounces at redhat.com> On Behalf Of Wenkai Chen
Sent: 24 February 2020 01:33
To: spacewalk-list at redhat.com
Subject: [EXTERNAL EMAIL] [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?




[A close up of a sign  Description generated with very high confidence]


Chen Wenkai
Infrastructure Security Engineer

       [A picture containing building  Description generated with high confidence] <https://www.linkedin.com/company/ensign-infosecurity/>      [A picture containing tableware  Description generated with high confidence] <https://youtu.be/9J7FkhXpb-4>      [A close up of a sign  Description generated with high confidence] <https://www.facebook.com/EnsignGlobal>


  E:  wenkai_chen at ensigninfosecurity.com<mailto: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."

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20200224/3143f21c/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 6607 bytes
Desc: image005.png
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20200224/3143f21c/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 612 bytes
Desc: image006.png
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20200224/3143f21c/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image007.png
Type: image/png
Size: 923 bytes
Desc: image007.png
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20200224/3143f21c/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image008.png
Type: image/png
Size: 712 bytes
Desc: image008.png
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20200224/3143f21c/attachment-0003.png>


More information about the Spacewalk-list mailing list