<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi Wenkai,
<div class="">Check the ulimit of the user that is running the sync job, if it is not running as root.</div>
<div class=""><br class="">
</div>
<div class="">—Dean</div>
<div class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Feb 24, 2020, at 3:09 AM, Stefan Bluhm <<a href="mailto:redhat.com@bluhm-de.com" class="">redhat.com@bluhm-de.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="font-family: arial, helvetica, sans-serif; font-size: 12pt;" class="">
<div class="">
<div class="">Hello Wenkai,<br class="">
</div>
<div class=""><br data-mce-bogus="1" class="">
</div>
<div class="">I never experienced this issue myself.</div>
<div class=""><br data-mce-bogus="1" class="">
</div>
<div class="">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.<br data-mce-bogus="1" class="">
</div>
<div class=""><br data-mce-bogus="1" class="">
</div>
<div class="">Best wishes,<br data-mce-bogus="1" class="">
</div>
<div class=""><br data-mce-bogus="1" class="">
</div>
<div class="">Stefan<br data-mce-bogus="1" class="">
</div>
<div class=""><br data-mce-bogus="1" class="">
</div>
<div class=""><br data-mce-bogus="1" class="">
</div>
<div class=""><br class="">
</div>
<hr id="zwchr" data-marker="__DIVIDER__" class="">
<div data-marker="__HEADERS__" class=""><b class="">Von:<span class="Apple-converted-space"> </span></b>"Wenkai Chen" <<a href="mailto:wenkai_chen@ensigninfosecurity.com" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">wenkai_chen@ensigninfosecurity.com</a>><br class="">
<b class="">An:<span class="Apple-converted-space"> </span></b>"spacewalk-list" <<a href="mailto:spacewalk-list@redhat.com" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">spacewalk-list@redhat.com</a>><br class="">
<b class="">Gesendet:<span class="Apple-converted-space"> </span></b>Montag, 24. Februar 2020 02:32:48<br class="">
<b class="">Betreff:<span class="Apple-converted-space"> </span></b>[Spacewalk-list] Too many open files while syncing Red hat repository on Spacewalk server 2.9<br class="">
</div>
<div class=""><br class="">
</div>
<div data-marker="__QUOTED_TEXT__" class="">
<div class="">
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
HI Spacewalk users,</div>
<p class="MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">
 </p>
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
I have an issue while running a repo sync on one of our red hat repositories in spacewalk.</div>
<p class="MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">
 </p>
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
This was the error log.</div>
<p class="MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">
 </p>
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
=======================================================================================================================================================================================================</div>
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "courier new";" class="">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'</span></div>
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "courier new";" class="">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'</span></div>
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "courier new";" class="">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'</span></div>
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "courier new";" class="">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'</span></div>
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "courier new";" class="">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'</span></div>
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "courier new";" class="">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'</span></div>
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "courier new";" class="">2020/02/21 19:47:45 +08:00 Importing packages finished.</span></div>
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "courier new";" class="">2020/02/21 19:47:45 +08:00</span></div>
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "courier new";" class="">2020/02/21 19:47:45 +08:00   Linking packages to the channel.</span></div>
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "courier new";" class="">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</span></div>
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "courier new";" class="">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</span></div>
<div style="border-style: none none double; border-bottom-width: 2.25pt; padding: 0cm 0cm 1pt;" class="">
<p class="MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif; border: none; padding: 0cm;">
<span style="font-size: 10pt; font-family: "courier new";" class=""> </span></p>
</div>
<p class="MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">
 </p>
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
There are more files before this that showed ‘Too many open files: “,but I skipped it as it were too many.</div>
<p class="MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">
 </p>
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
Anyone has got any advice on this?</div>
<p class="MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size: 10pt; font-family: "courier new";" class=""> </span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size: 10pt; font-family: "courier new";" class=""> </span></p>
<p class="MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">
 </p>
<p class="MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">
 </p>
<table class="MsoTableGrid" cellspacing="0" cellpadding="0" border="0" style="border-collapse: collapse; border: none;">
<tbody class="">
<tr class="">
<td width="643" valign="top" style="width: 482.1pt; padding: 0cm 5.4pt;" class="">
<table class="MsoTableGrid" cellspacing="0" cellpadding="0" border="0" style="border-collapse: collapse; border: none;">
<tbody class="">
<tr class="">
<td colspan="2" width="684" valign="top" style="width: 513.25pt; padding: 0cm 5.4pt;" class="">
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" class=""><span id="cid:image001.png@01D5EAF5.607B0620"><image001.png></span></span></div>
</td>
</tr>
<tr style="height: 72pt;" class="">
<td width="282" valign="top" style="width: 211.25pt; border-style: none solid none none; border-right-width: 1pt; padding: 0cm 5.4pt; height: 72pt;" class="">
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" class=""><br class="">
</span><b class=""><span lang="EN-US" style="font-size: 13pt;" class="">Chen Wenkai</span></b></div>
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" class="">Infrastructure Security Engineer</span><span lang="EN-US" class=""><br class="">
<br class="">
</span><span lang="EN-US" style="font-size: 6pt;" class="">      <span class="Apple-converted-space"> </span></span><span lang="EN-US" class=""><a href="https://urldefense.com/v3/__https://www.linkedin.com/company/ensign-infosecurity/__;!!MXVguWEtGgZw!eR3-XNgp7HkC-6We2IPJDfCiI3n_QOlrw2_qg_UHabnsXuiV4ed-KNlRfeUGlcSYJw$" target="_blank" rel="nofollow noopener noreferrer" style="color: rgb(149, 79, 114); text-decoration: underline;" class=""><span style="text-decoration: none;" class=""><span id="cid:image002.png@01D5EAF5.607B0620"><image002.png></span></span></a></span><span lang="EN-US" style="font-size: 6pt;" class="">     </span><span lang="EN-US" class=""><a href="https://urldefense.com/v3/__https://youtu.be/9J7FkhXpb-4__;!!MXVguWEtGgZw!eR3-XNgp7HkC-6We2IPJDfCiI3n_QOlrw2_qg_UHabnsXuiV4ed-KNlRfeWWTpZYxw$" target="_blank" rel="nofollow noopener noreferrer" style="color: rgb(149, 79, 114); text-decoration: underline;" class=""><span style="text-decoration: none;" class=""><span id="cid:image003.png@01D5EAF5.607B0620"><image003.png></span></span></a></span><span lang="EN-US" style="font-size: 6pt;" class="">     </span><span lang="EN-US" class=""><a href="https://urldefense.com/v3/__https://www.facebook.com/EnsignGlobal__;!!MXVguWEtGgZw!eR3-XNgp7HkC-6We2IPJDfCiI3n_QOlrw2_qg_UHabnsXuiV4ed-KNlRfeUjybFAOw$" target="_blank" rel="nofollow noopener noreferrer" style="color: rgb(149, 79, 114); text-decoration: underline;" class=""><span style="text-decoration: none;" class=""><span id="cid:image004.png@01D5EAF5.607B0620"><image004.png></span></span></a></span><br data-mce-bogus="1" class="">
</div>
</td>
<td width="403" valign="top" style="width: 302pt; border: none; padding: 0cm 5.4pt; height: 72pt;" class="">
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<b class=""><span lang="EN-US" style="color: rgb(46, 116, 181);" class=""> </span></b><b class=""><span lang="EN-US" style="font-size: 6pt; color: rgb(46, 116, 181);" class=""> </span></b><b class=""><span lang="EN-US" style="font-size: 5pt; color: rgb(46, 116, 181);" class=""><br class="">
</span></b><b class=""><span lang="EN-US" style="color: rgb(46, 116, 181);" class="">  E:</span></b><span lang="EN-US" style="color: rgb(46, 116, 181);" class=""> <span class="Apple-converted-space"> </span></span><span lang="EN-US" class=""><a href="mailto:wenkai_chen@ensigninfosecurity.com" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">wenkai_chen@ensigninfosecurity.com</a></span></div>
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="color: rgb(47, 84, 150);" class=""> <span class="Apple-converted-space"> </span><b class="">A:</b> <span class="Apple-converted-space"> </span></span><span lang="EN-US" class="">30A Kallang Place, Level 9 Right Wing, Singapore 339213</span></div>
</td>
</tr>
<tr class="">
<td colspan="2" width="684" valign="top" style="width: 513.25pt; padding: 0cm 5.4pt;" class="">
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">
 </p>
<p class="MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">
 </p>
</div>
<br class="">
<hr class="">
<p style="font-size: 8pt; line-height: 10pt; font-family: arial; color: rgb(255, 0, 0);" class="">
CONFIDENTIALITY NOTICE:<span class="Apple-converted-space"> </span><span style="font-size: 8pt; line-height: 10pt; font-family: arial; color: rgb(102, 102, 102);" class=""><i class="">“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.”</i></span></p>
<i class=""><br class="">
</i><br class="">
_______________________________________________<br class="">
Spacewalk-list mailing list<br class="">
<a href="mailto:Spacewalk-list@redhat.com" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">Spacewalk-list@redhat.com</a><br class="">
<a href="https://urldefense.com/v3/__https://www.redhat.com/mailman/listinfo/spacewalk-list__;!!MXVguWEtGgZw!eR3-XNgp7HkC-6We2IPJDfCiI3n_QOlrw2_qg_UHabnsXuiV4ed-KNlRfeXB4Pi4WQ$" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br class="">
</div>
</div>
_______________________________________________<br class="">
Spacewalk-list mailing list<br class="">
<a href="mailto:Spacewalk-list@redhat.com" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">Spacewalk-list@redhat.com</a><br class="">
<a href="https://urldefense.com/v3/__https://www.redhat.com/mailman/listinfo/spacewalk-list__;!!MXVguWEtGgZw!eR3-XNgp7HkC-6We2IPJDfCiI3n_QOlrw2_qg_UHabnsXuiV4ed-KNlRfeXB4Pi4WQ$" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">https://urldefense.com/v3/__https://www.redhat.com/mailman/listinfo/spacewalk-list__;!!MXVguWEtGgZw!eR3-XNgp7HkC-6We2IPJDfCiI3n_QOlrw2_qg_UHabnsXuiV4ed-KNlRfeXB4Pi4WQ$</a></div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>