<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: error Couldn't calc cores number [error 'open /proc/stat: too many open files'] in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-couldn-t-calc-cores-number-error-open-proc-stat-too-many/m-p/473028#M656</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/208132"&gt;@jboyd98&lt;/a&gt;&amp;nbsp;, is this still an issue for you? Please open a support case with logs and screenshots.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Mar 2022 21:48:25 GMT</pubDate>
    <dc:creator>amore</dc:creator>
    <dc:date>2022-03-14T21:48:25Z</dc:date>
    <item>
      <title>error Couldn't calc cores number [error 'open /proc/stat: too many open files']</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-couldn-t-calc-cores-number-error-open-proc-stat-too-many/m-p/470268#M618</link>
      <description>&lt;P&gt;Recently had some performance problems reported from my xsoar users.&lt;/P&gt;&lt;P&gt;Found a tenant crashing.&amp;nbsp; Upon investigating I found the following error in the logs:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;App03 host:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;error Couldn't calc cores number [error 'open /proc/stat: too many open files']error Couldn't calc cores number [error 'open /proc/stat: too many open files']&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I set this on APP03 last night as a temporary band-aid until I could better understand:&lt;BR /&gt;&lt;A href="https://docs.paloaltonetworks.com/cortex/cortex-xsoar/6-2/cortex-xsoar-multi-tenant-guide/manage-content/sync-content-to-tenant-accounts/troubleshoot-errors-when-syncing-all-accounts.html" target="_blank" rel="noopener"&gt;https://docs.paloaltonetworks.com/cortex/cortex-xsoar/6-2/cortex-xsoar-multi-tenant-guide/manage-content/sync-content-to-tenant-accounts/troubleshoot-errors-when-syncing-all-accounts.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Review other host nodes that I didn't touch I see the following:&lt;/P&gt;&lt;P&gt;ulimit -a for root shows:&lt;/P&gt;&lt;P class=""&gt;&lt;EM&gt;&lt;SPAN class=""&gt;open files&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;(-n) 1024&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;DockerHardeningCheck shows:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jboyd98_0-1646331590341.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/39444iA498115BF6DC3F4E/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="jboyd98_0-1646331590341.png" alt="jboyd98_0-1646331590341.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Additionally:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jboyd98_1-1646331827555.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/39445iE3DC82B81A85F8CE/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="jboyd98_1-1646331827555.png" alt="jboyd98_1-1646331827555.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This key does &lt;STRONG&gt;NOT&lt;/STRONG&gt; exist under&amp;nbsp; Advanced /Troubleshooting:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jboyd98_2-1646331889270.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/39446i25F4C979F848A11E/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="jboyd98_2-1646331889270.png" alt="jboyd98_2-1646331889270.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where is it pulling&amp;nbsp;&lt;SPAN&gt;1048576 from; where would this be set and whats the difference between that and my ulimit -a for root (there is no special config in&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;/etc/security/limits.conf)&lt;BR /&gt;&lt;BR /&gt;Any feedback is appreciated,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Boyd&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 18:27:38 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-couldn-t-calc-cores-number-error-open-proc-stat-too-many/m-p/470268#M618</guid>
      <dc:creator>jboyd98</dc:creator>
      <dc:date>2022-03-03T18:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: error Couldn't calc cores number [error 'open /proc/stat: too many open files']</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-couldn-t-calc-cores-number-error-open-proc-stat-too-many/m-p/473028#M656</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/208132"&gt;@jboyd98&lt;/a&gt;&amp;nbsp;, is this still an issue for you? Please open a support case with logs and screenshots.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 21:48:25 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-couldn-t-calc-cores-number-error-open-proc-stat-too-many/m-p/473028#M656</guid>
      <dc:creator>amore</dc:creator>
      <dc:date>2022-03-14T21:48:25Z</dc:date>
    </item>
  </channel>
</rss>

