<?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: Avoid using too many containers in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/avoid-using-too-many-containers/m-p/539413#M2029</link>
    <description>&lt;P&gt;Hi Josep,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just following up on the previous suggestion. The containers.high.water.mark configuration adds an upper limit to the number of containers per image that will remain active and containers.low.water.mark is the corresponding lower limit. This means that at any point, there will be a number of active containers that correspond to the low water mark, in order to avoid the overhead of cold starting the container. Depending on your use cases, the containers required to process them may also vary with respect to dependencies. So, a single image solution is not the most effective one.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;As per the previous recommendation, I would start by hardening docker (&lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.10/Cortex-XSOAR-Administrator-Guide/Docker-Hardening-Guide" target="_blank"&gt;https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.10/Cortex-XSOAR-Administrator-Guide/Docker-Hardening-Guide&lt;/A&gt;) to keep docker in check.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Apr 2023 18:41:12 GMT</pubDate>
    <dc:creator>RahulVijaydev</dc:creator>
    <dc:date>2023-04-19T18:41:12Z</dc:date>
    <item>
      <title>Avoid using too many containers</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/avoid-using-too-many-containers/m-p/536765#M1944</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;We're trying to avoid using too many containers. In order to reduce it, we have come up with two options for the automation:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Use the exact same container for automations (If they use the same libraries)&lt;/LI&gt;
&lt;LI&gt;Or use the empty "Docker image name" option (if an external library is not used):
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Josep_1-1679989178081.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/49061iB2D25CC3000BD338/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Josep_1-1679989178081.png" alt="Josep_1-1679989178081.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Which of them will fit better?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Josep&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 07:53:52 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/avoid-using-too-many-containers/m-p/536765#M1944</guid>
      <dc:creator>Josep</dc:creator>
      <dc:date>2023-03-28T07:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid using too many containers</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/avoid-using-too-many-containers/m-p/538287#M1983</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/226640"&gt;@Josep&lt;/a&gt;&amp;nbsp;, I would love to understand what led you to want to limit containers. You can reference these &lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.10/Cortex-XSOAR-Administrator-Guide/Docker-Server-Configurations" target="_self"&gt;Docker Server Configurations&lt;/A&gt;, particularly the&amp;nbsp;&lt;STRONG class="userinput"&gt;&lt;CODE class="hljs language-undefined"&gt;containers.high.water.mark&amp;nbsp;&lt;/CODE&gt;&lt;/STRONG&gt;to understand how Cortex XSOAR handles containers per docker image. You may change this from the default of 20 to a lower number if you wish. The way to avoid docker memory issues would be through utilizing docker hardening. You can find detailed steps to do so here -&amp;nbsp;&lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.10/Cortex-XSOAR-Administrator-Guide/Docker-Hardening-Guide" target="_blank"&gt;https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.10/Cortex-XSOAR-Administrator-Guide/Docker-Hardening-Guide&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 19:18:22 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/avoid-using-too-many-containers/m-p/538287#M1983</guid>
      <dc:creator>amore</dc:creator>
      <dc:date>2023-04-11T19:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid using too many containers</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/avoid-using-too-many-containers/m-p/538427#M1996</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/152792"&gt;@amore&lt;/a&gt; we host 30 tenants in 3 hosts. Each host has more than 500 containers. I followed the documentation and restarted docker service and after that it dropped to 200s. Is an additional host the best way to handle all the these loads? Any other recommendation is greatly appreciated&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EnesOzdemir_1-1681296617657.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/49404i9890F10AF31A7F2E/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="EnesOzdemir_1-1681296617657.png" alt="EnesOzdemir_1-1681296617657.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EnesOzdemir_0-1681296480598.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/49403i7756709F454B7EF2/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="EnesOzdemir_0-1681296480598.png" alt="EnesOzdemir_0-1681296480598.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2023 10:53:46 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/avoid-using-too-many-containers/m-p/538427#M1996</guid>
      <dc:creator>EnesOzdemir</dc:creator>
      <dc:date>2023-04-12T10:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid using too many containers</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/avoid-using-too-many-containers/m-p/538490#M1999</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/204366"&gt;@EnesOzdemir&lt;/a&gt;&amp;nbsp;, 200 containers is still high. Are your hosts meeting the MT sizing requirements stated &lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.10/Cortex-XSOAR-Multi-Tenant-Guide/Multi-Tenant-Sizing-Requirements" target="_self"&gt;here&lt;/A&gt;? The general recommendation is 1 tenant per host. If you have multiple tenants on a single host, you need to multiply the single tenant requirement by the times of tenants to find the host resource requirements. Highly recommend keeping the master in it's own host. For more detailed guidance please reach out to your Customer Success Architect available through our Premium Success offering.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2023 16:36:59 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/avoid-using-too-many-containers/m-p/538490#M1999</guid>
      <dc:creator>amore</dc:creator>
      <dc:date>2023-04-12T16:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid using too many containers</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/avoid-using-too-many-containers/m-p/538638#M2004</link>
      <description>&lt;P&gt;We'd like to use fewer containers in order to control the containers perfomance. It's supposed not to use more than 200 ones. So the point is to try to create containers that can execute many automations/tasks without creating new ones.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 18:34:04 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/avoid-using-too-many-containers/m-p/538638#M2004</guid>
      <dc:creator>Josep</dc:creator>
      <dc:date>2023-04-13T18:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid using too many containers</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/avoid-using-too-many-containers/m-p/539305#M2026</link>
      <description>&lt;P&gt;We are constantly checking the resource usage and adding more resources as additional tenants are created.High container count is something we can't get rid of. Does the container count matter if you have enough resources?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 07:18:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/avoid-using-too-many-containers/m-p/539305#M2026</guid>
      <dc:creator>EnesOzdemir</dc:creator>
      <dc:date>2023-04-19T07:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid using too many containers</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/avoid-using-too-many-containers/m-p/539413#M2029</link>
      <description>&lt;P&gt;Hi Josep,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just following up on the previous suggestion. The containers.high.water.mark configuration adds an upper limit to the number of containers per image that will remain active and containers.low.water.mark is the corresponding lower limit. This means that at any point, there will be a number of active containers that correspond to the low water mark, in order to avoid the overhead of cold starting the container. Depending on your use cases, the containers required to process them may also vary with respect to dependencies. So, a single image solution is not the most effective one.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;As per the previous recommendation, I would start by hardening docker (&lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.10/Cortex-XSOAR-Administrator-Guide/Docker-Hardening-Guide" target="_blank"&gt;https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.10/Cortex-XSOAR-Administrator-Guide/Docker-Hardening-Guide&lt;/A&gt;) to keep docker in check.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 18:41:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/avoid-using-too-many-containers/m-p/539413#M2029</guid>
      <dc:creator>RahulVijaydev</dc:creator>
      <dc:date>2023-04-19T18:41:12Z</dc:date>
    </item>
  </channel>
</rss>

