<?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: SMEM's &amp;quot;Failed Allocation&amp;quot; value is very high. in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SMEM-s-quot-Failed-Allocation-quot-value-is-very-high/m-p/105634#M8366</link>
    <description>&lt;P&gt;Depending on the load, 12GB of memory being used by the kernel of of 16GB total may be high.&amp;nbsp; Could indicate a memory leak, would recommend ensuring you have the latest GA R80.10 Jumbo HFA loaded for starters as there are almost certainly fixes for memory leaks contained within it.&amp;nbsp; Please provide the full output of &lt;STRONG&gt;fw ctl pstat&lt;/STRONG&gt; as that will provide connection statistics and sync info as well.&amp;nbsp; It doesn't look like your firewall is dipping very far into swap space, but please provide output of &lt;STRONG&gt;free -m&lt;/STRONG&gt; to see more detailed memory usage and help determine if a RAM upgrade is needed.&lt;/P&gt;
&lt;P&gt;Once a connection is up and running, I think all necessary memory allocations for state table space have been performed so I don't believe an existing connection could be killed by a memory shortage, but new ones could certainly be prevented from starting which depending on how an application might be utilizing multiple connections could look like an existing connection getting killed.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Dec 2020 15:50:11 GMT</pubDate>
    <dc:creator>Timothy_Hall</dc:creator>
    <dc:date>2020-12-16T15:50:11Z</dc:date>
    <item>
      <title>SMEM's "Failed Allocation" value is very high.</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SMEM-s-quot-Failed-Allocation-quot-value-is-very-high/m-p/105452#M8351</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;All traffic going through the firewall was cut off.&lt;BR /&gt;The firewall is using the IPS blade function with the FW blade.&amp;nbsp; (R80.10)&lt;BR /&gt;CPU usage is not very high. However, the memory usage seems very high.&lt;/P&gt;&lt;P&gt;The output of the fw ctl pstat command is shown below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Young_Wook_Choi_0-1608028539040.jpeg" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/9722i3AF12511655AF33B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Young_Wook_Choi_0-1608028539040.jpeg" alt="Young_Wook_Choi_0-1608028539040.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This firewall has an uptime of 3 weeks.&lt;BR /&gt;SMEM's "Failed Allocation" value is very high. (It is more than about 4,600,000)&lt;BR /&gt;&lt;SPAN&gt;This count was recorded for only 3 weeks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This system has 16GB of memory (RAM).&lt;/P&gt;&lt;P&gt;When looking at the CPVIEW output, memory usage is always high as shown below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.jpg" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/9723i5BF77F55F16A12F7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1.jpg" alt="1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.jpg" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/9724i3D04092FF2A795D5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2.jpg" alt="2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.jpg" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/9725iC32A5E4882B9DA94/image-size/medium?v=v2&amp;amp;px=400" role="button" title="3.jpg" alt="3.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Could a session be disconnected due to high memory usage?&lt;/P&gt;&lt;P&gt;I opened a Case with this problem, but TAC doesn't help. Rather, they say the system is normal.&lt;/P&gt;&lt;P&gt;Will upgrading this system's physical memory solve this problem?&lt;/P&gt;&lt;P&gt;Over the past few weeks, we've been experiencing a problem of disconnecting service sessions several times.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 10:44:20 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SMEM-s-quot-Failed-Allocation-quot-value-is-very-high/m-p/105452#M8351</guid>
      <dc:creator>Young_Wook_Choi</dc:creator>
      <dc:date>2020-12-15T10:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: SMEM's "Failed Allocation" value is very high.</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SMEM-s-quot-Failed-Allocation-quot-value-is-very-high/m-p/105464#M8353</link>
      <description>&lt;P&gt;Aggressive Aging feature is active. (Default)&lt;BR /&gt;Is there a possibility that the service session is disconnected by this feature? (If you guess from the above memory usage)&lt;/P&gt;&lt;P&gt;If the gateway has ever had this function active, where can I check it? (/var/log/messages? or fwd.elg?)&lt;/P&gt;&lt;P&gt;Could this issue be related to this feature?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 13:02:03 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SMEM-s-quot-Failed-Allocation-quot-value-is-very-high/m-p/105464#M8353</guid>
      <dc:creator>Young_Wook_Choi</dc:creator>
      <dc:date>2020-12-15T13:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: SMEM's "Failed Allocation" value is very high.</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SMEM-s-quot-Failed-Allocation-quot-value-is-very-high/m-p/105634#M8366</link>
      <description>&lt;P&gt;Depending on the load, 12GB of memory being used by the kernel of of 16GB total may be high.&amp;nbsp; Could indicate a memory leak, would recommend ensuring you have the latest GA R80.10 Jumbo HFA loaded for starters as there are almost certainly fixes for memory leaks contained within it.&amp;nbsp; Please provide the full output of &lt;STRONG&gt;fw ctl pstat&lt;/STRONG&gt; as that will provide connection statistics and sync info as well.&amp;nbsp; It doesn't look like your firewall is dipping very far into swap space, but please provide output of &lt;STRONG&gt;free -m&lt;/STRONG&gt; to see more detailed memory usage and help determine if a RAM upgrade is needed.&lt;/P&gt;
&lt;P&gt;Once a connection is up and running, I think all necessary memory allocations for state table space have been performed so I don't believe an existing connection could be killed by a memory shortage, but new ones could certainly be prevented from starting which depending on how an application might be utilizing multiple connections could look like an existing connection getting killed.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 15:50:11 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SMEM-s-quot-Failed-Allocation-quot-value-is-very-high/m-p/105634#M8366</guid>
      <dc:creator>Timothy_Hall</dc:creator>
      <dc:date>2020-12-16T15:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: SMEM's "Failed Allocation" value is very high.</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SMEM-s-quot-Failed-Allocation-quot-value-is-very-high/m-p/105711#M8382</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;BR /&gt;TAC provided us with a script that could detect memory leaks. And they said this issue was not a memory leak.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="free_m_t.PNG" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/9790i9A8D0FB5C01D28BC/image-size/large?v=v2&amp;amp;px=999" role="button" title="free_m_t.PNG" alt="free_m_t.PNG" /&gt;&lt;/span&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fw ctl pstat.PNG" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/9791i5504155FEF0115C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="fw ctl pstat.PNG" alt="fw ctl pstat.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 04:50:36 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SMEM-s-quot-Failed-Allocation-quot-value-is-very-high/m-p/105711#M8382</guid>
      <dc:creator>Young_Wook_Choi</dc:creator>
      <dc:date>2020-12-17T04:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: SMEM's "Failed Allocation" value is very high.</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SMEM-s-quot-Failed-Allocation-quot-value-is-very-high/m-p/105750#M8384</link>
      <description>&lt;P&gt;You have a pretty large number of concurrent connections for a system with only 16GB of RAM (176k current/313k peak); it looks like the kernel is using almost all the RAM (and trying to get more) and the firewall's processes are having to dip into swap space to the tune of 1.3GB.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Assuming a memory leak is not present it does look like a RAM upgrade to 32GB will help here.&amp;nbsp; Perhaps a later version of code will utilize kernel memory a bit more efficiently, but it looks like you just have a very busy firewall there that could use more memory.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 14:23:20 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SMEM-s-quot-Failed-Allocation-quot-value-is-very-high/m-p/105750#M8384</guid>
      <dc:creator>Timothy_Hall</dc:creator>
      <dc:date>2020-12-17T14:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: SMEM's "Failed Allocation" value is very high.</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SMEM-s-quot-Failed-Allocation-quot-value-is-very-high/m-p/105757#M8386</link>
      <description>&lt;P&gt;Thank you for your advice. We are planning an upgrade to 64gb of RAM. Also, an upgrade to R80.40 is planned. We hope this plan helps us.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 15:12:52 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SMEM-s-quot-Failed-Allocation-quot-value-is-very-high/m-p/105757#M8386</guid>
      <dc:creator>Young_Wook_Choi</dc:creator>
      <dc:date>2020-12-17T15:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: SMEM's "Failed Allocation" value is very high.</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SMEM-s-quot-Failed-Allocation-quot-value-is-very-high/m-p/105771#M8387</link>
      <description>&lt;P&gt;&lt;A href="https://community.checkpoint.com/t5/General-Topics/R80-x-Performance-Tuning-Tip-Connection-Table/td-p/41581" target="_blank"&gt;https://community.checkpoint.com/t5/General-Topics/R80-x-Performance-Tuning-Tip-Connection-Table/td-p/41581&lt;/A&gt; See Tip 4 and Tip 7 for advice on how to lower session lifetime, this could also reduce the size of the connection table. Please use caution when adjusting session lifetime.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 18:16:49 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SMEM-s-quot-Failed-Allocation-quot-value-is-very-high/m-p/105771#M8387</guid>
      <dc:creator>Benedikt_Weissl</dc:creator>
      <dc:date>2020-12-17T18:16:49Z</dc:date>
    </item>
  </channel>
</rss>

