<?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: What amount of swap file usage is reasonable / expected? in General Topics</title>
    <link>https://community.checkpoint.com/t5/General-Topics/What-amount-of-swap-file-usage-is-reasonable-expected/m-p/203845#M33878</link>
    <description>&lt;P&gt;I'd agree with&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/27871"&gt;@Bob_Zimmerman&lt;/a&gt;&amp;nbsp;that ideally swap space used on a gateway should be zero, which means the gateway has no need for paging and swapping at all which maximizes efficiency.&amp;nbsp; However there can be transient situations (such as a policy install &amp;amp; connection rematch) that consume enough memory for temporary allocation of swap space to occur.&amp;nbsp; &amp;nbsp;But in my experience once some swap space is allocated, Gaia/Linux doesn't release it until reboot even if there is now plenty of available memory.&amp;nbsp; This can be easily seen with commands such as &lt;STRONG&gt;free -m&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My own personal rule of thumb is that if allocated swap space is more than 5% of total memory (i.e. for 32GB total RAM swap space allocated is 1.6GB) you should probably get some more RAM for your gateway unless a memory leak is present, in which case eventually no amount of RAM will save you.&amp;nbsp;&amp;nbsp;&lt;A href="https://support.checkpoint.com/results/sk/sk35496" target="_blank" rel="noopener"&gt;sk35496:&amp;nbsp;Memory&amp;nbsp;leak&amp;nbsp;detection procedure for a Security Gateway with Gaia OS&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Jan 2024 14:25:34 GMT</pubDate>
    <dc:creator>Timothy_Hall</dc:creator>
    <dc:date>2024-01-22T14:25:34Z</dc:date>
    <item>
      <title>What amount of swap file usage is reasonable / expected?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/What-amount-of-swap-file-usage-is-reasonable-expected/m-p/203457#M33820</link>
      <description>&lt;P&gt;We run two 6000 appliances in HA that are running R81.20.&lt;/P&gt;&lt;P&gt;We monitor with SolarWinds and see the swap file usage on the Active gateway gradually creep up.&amp;nbsp; Eventually, we have to failover to the Standby gateway as we start to get remote VPN users unable to connect and performance issues.&lt;/P&gt;&lt;P&gt;What should the expected use of a swap file be?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 09:35:01 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/What-amount-of-swap-file-usage-is-reasonable-expected/m-p/203457#M33820</guid>
      <dc:creator>ascoyne</dc:creator>
      <dc:date>2024-01-18T09:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: What amount of swap file usage is reasonable / expected?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/What-amount-of-swap-file-usage-is-reasonable-expected/m-p/203463#M33822</link>
      <description>&lt;P&gt;My simple Rule of thumb is what we use for monitoring at the moment:&lt;/P&gt;
&lt;P&gt;Any swap usage 0ver 1 GB is cause for concern (WARNING). Any swap usage over 2 GB is cause for grave concern (CRITICAL).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 10:17:42 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/What-amount-of-swap-file-usage-is-reasonable-expected/m-p/203463#M33822</guid>
      <dc:creator>Hugo_vd_Kooij</dc:creator>
      <dc:date>2024-01-18T10:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: What amount of swap file usage is reasonable / expected?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/What-amount-of-swap-file-usage-is-reasonable-expected/m-p/203540#M33827</link>
      <description>&lt;P&gt;I would go a little further. To me,&amp;nbsp;&lt;STRONG&gt;any&lt;/STRONG&gt; swapping is cause for a warning. RAM is cheap. Just add more.&lt;/P&gt;
&lt;P&gt;I don't know what processor the 6700 uses. The 6600 definitely uses an&amp;nbsp;&lt;SPAN&gt;i5-9500E&lt;/SPAN&gt;, and the 6800 definitely uses a Xeon&amp;nbsp;&lt;SPAN&gt;E5-2640 v4.&lt;/SPAN&gt;&amp;nbsp;If it's consumer-grade (i5 or i7), it's probably officially limited to 32 GB and non-ECC. It remains a source of amusement to me that the 3100 and 3200 support up to 64 GB with ECC, and the 3600 and 3800 support up to 256 GB with ECC, but most of the much-more-expensive 5000 and 6000 series boxes have much lower RAM limits.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 19:14:11 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/What-amount-of-swap-file-usage-is-reasonable-expected/m-p/203540#M33827</guid>
      <dc:creator>Bob_Zimmerman</dc:creator>
      <dc:date>2024-01-18T19:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: What amount of swap file usage is reasonable / expected?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/What-amount-of-swap-file-usage-is-reasonable-expected/m-p/203579#M33829</link>
      <description>&lt;P&gt;Which model of 6000 appliance do you have and what is the current RAM population?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2024 05:47:58 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/What-amount-of-swap-file-usage-is-reasonable-expected/m-p/203579#M33829</guid>
      <dc:creator>Chris_Atkinson</dc:creator>
      <dc:date>2024-01-19T05:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: What amount of swap file usage is reasonable / expected?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/What-amount-of-swap-file-usage-is-reasonable-expected/m-p/203602#M33831</link>
      <description>&lt;P&gt;We have 6700 appliances.&amp;nbsp; 16GB RAM.&amp;nbsp; Running R81.20 JHF Take 26.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2024 08:22:20 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/What-amount-of-swap-file-usage-is-reasonable-expected/m-p/203602#M33831</guid>
      <dc:creator>ascoyne</dc:creator>
      <dc:date>2024-01-19T08:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: What amount of swap file usage is reasonable / expected?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/What-amount-of-swap-file-usage-is-reasonable-expected/m-p/203617#M33836</link>
      <description>&lt;P&gt;This appliance model can have up to 32GB which may be appropriate depending on your combination of traffic volume / enabled blades.&lt;/P&gt;
&lt;P&gt;It may also be helpful to check the Jumbo documentation in case there are relevant memory optimization or memory leak fixes in more recent takes etc&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2024 10:39:09 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/What-amount-of-swap-file-usage-is-reasonable-expected/m-p/203617#M33836</guid>
      <dc:creator>Chris_Atkinson</dc:creator>
      <dc:date>2024-01-19T10:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: What amount of swap file usage is reasonable / expected?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/What-amount-of-swap-file-usage-is-reasonable-expected/m-p/203845#M33878</link>
      <description>&lt;P&gt;I'd agree with&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/27871"&gt;@Bob_Zimmerman&lt;/a&gt;&amp;nbsp;that ideally swap space used on a gateway should be zero, which means the gateway has no need for paging and swapping at all which maximizes efficiency.&amp;nbsp; However there can be transient situations (such as a policy install &amp;amp; connection rematch) that consume enough memory for temporary allocation of swap space to occur.&amp;nbsp; &amp;nbsp;But in my experience once some swap space is allocated, Gaia/Linux doesn't release it until reboot even if there is now plenty of available memory.&amp;nbsp; This can be easily seen with commands such as &lt;STRONG&gt;free -m&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My own personal rule of thumb is that if allocated swap space is more than 5% of total memory (i.e. for 32GB total RAM swap space allocated is 1.6GB) you should probably get some more RAM for your gateway unless a memory leak is present, in which case eventually no amount of RAM will save you.&amp;nbsp;&amp;nbsp;&lt;A href="https://support.checkpoint.com/results/sk/sk35496" target="_blank" rel="noopener"&gt;sk35496:&amp;nbsp;Memory&amp;nbsp;leak&amp;nbsp;detection procedure for a Security Gateway with Gaia OS&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 14:25:34 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/What-amount-of-swap-file-usage-is-reasonable-expected/m-p/203845#M33878</guid>
      <dc:creator>Timothy_Hall</dc:creator>
      <dc:date>2024-01-22T14:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: What amount of swap file usage is reasonable / expected?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/What-amount-of-swap-file-usage-is-reasonable-expected/m-p/203852#M33880</link>
      <description>&lt;P&gt;Just from a very bad experience: On VSX swapping is deadly. Got that problem when migrating from 80.30 to 81.10, where memory consumption was higher than before: same configuration, more memory needed. Suddenly, memory was too small. Not to mention the memory leak we had in the beginning.&lt;/P&gt;
&lt;P&gt;Consequence: The VSX cluster became quite unresponsive, sessions were interrupted. &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Need to mention: The 15600s still have rotating rust instead of SSD.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 15:39:24 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/What-amount-of-swap-file-usage-is-reasonable-expected/m-p/203852#M33880</guid>
      <dc:creator>Oliver_Fink</dc:creator>
      <dc:date>2024-01-22T15:39:24Z</dc:date>
    </item>
  </channel>
</rss>

