<?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: Why is memory swapping on the gateway ? in General Topics</title>
    <link>https://community.checkpoint.com/t5/General-Topics/Why-is-memory-swapping-on-the-gateway/m-p/30552#M6317</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is normal to see a low amount of pswpins/s with &lt;STRONG&gt;sar -W&lt;/STRONG&gt; as processes read various types of data off the hard drive such as code pages, libraries, conf files, etc.&amp;nbsp; Default pagesize in Linux is 4KB, and the highest number shown in your output is 0.53 pages swapped in per second, or approximately 2KB per second being read from the hard drive which is inconsequential.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notice that pswpout/s is always zero in your screenshot which means no pages of memory are getting involuntarily thrown out of memory to the hard drive due to a shortage of RAM.&amp;nbsp; When this number is nonzero then you have some cause for concern.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The memory growth you are seeing is probably due to use of RAM for buffering/caching of hard drive operations, please post output of &lt;STRONG&gt;free -m&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As &lt;A href="https://community.checkpoint.com/migrated-users/2075"&gt;Dameon Welch Abernathy&lt;/A&gt;‌ noted, wstlsd is related to HTTPS Inspection and the "Categorize HTTPS Sites" checkbox and was covered in my book.&amp;nbsp; While the memory allocated by each wstlsd process may look concerning, a large amount of that memory is actually being shared amongst the wstlsd processes since they are all doing pretty much the same operations.&amp;nbsp; So the overall amount of memory being consumed by these processes can appear far higher than it is in actuality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&lt;BR /&gt; Second Edition of my "Max Power" Firewall Book&lt;BR /&gt; Now Available at &lt;A href="http://www.maxpowerfirewalls.com" target="_blank"&gt;http://www.maxpowerfirewalls.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 24 Feb 2018 22:04:29 GMT</pubDate>
    <dc:creator>Timothy_Hall</dc:creator>
    <dc:date>2018-02-24T22:04:29Z</dc:date>
    <item>
      <title>Why is memory swapping on the gateway ?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Why-is-memory-swapping-on-the-gateway/m-p/30550#M6315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;BR /&gt;See this post&amp;nbsp;&lt;A href="https://community.checkpoint.com/thread/6883-memory-status-shows-red-color-on-management-server" target="_blank"&gt;https://community.checkpoint.com/thread/6883-memory-status-shows-red-color-on-management-server&lt;/A&gt;&amp;nbsp; for the beginning of this thread and the relevant screenshots.&lt;BR /&gt;I'm posting here to have clues to understand why memory is swapping on our active gateway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a cluster of two 5400 appliances and one SMS server to handle the management, logging and monitoring.&lt;BR /&gt;These gateways are new and running for 2 weeks now (we were not on Check Point before) and we observe recently some swapping on the active gateway, after days of continuous growth of memory consumption (about 2% by day). After 80%, The SMS showed memory consumption in red color. Running top command on the active gateway and sorting on memory (hitting M) shows that the wstlsd process is consuming (or reserving ?) a fair amount of memory. And this amount consumed seems to stay at the same level at night or during non-business days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Running a "show version all" on the active gateway gives:&lt;BR /&gt;Product version Check Point Gaia R80.10&lt;BR /&gt;OS Build 462&lt;BR /&gt;OS kernel version 2.6.18-92cpx86_64&lt;BR /&gt;OS edition 64-bit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have both HTTPS inspection AND "Categorize HTTPS sites" enabled in AC &amp;amp; URL filtering (I understood that the latter is not working if the former is enabled). The vast majority of https traffic is by now bypassed and we are in the process of gradually deploying root certicate on computers to actively inspect the ssl connections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To my knowledge, the result of tha command "sar -W" (screenshot taken today) tend to show that the system is actively swapping .&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.checkpoint.com/legacyfs/online/checkpoint/63170_sarw.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Is the wstlsd process allocating memory even if it does not use it ? Is it possible to have a list of the connections handled by this process ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2019 09:17:12 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Why-is-memory-swapping-on-the-gateway/m-p/30550#M6315</guid>
      <dc:creator>Christophe_SIEB</dc:creator>
      <dc:date>2019-06-21T09:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Why is memory swapping on the gateway ?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Why-is-memory-swapping-on-the-gateway/m-p/30551#M6316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Categorize HTTPS Sites and HTTPS Inspection are mutually exclusive options, FYI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wstlsd handles connections that are being HTTPS Inspected.&lt;/P&gt;&lt;P&gt;You can debug it using the following SK if needed:&amp;nbsp;&lt;A class="link-titled" href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk105559" title="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk105559"&gt;How to debug WSTLSD daemon&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 20:16:15 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Why-is-memory-swapping-on-the-gateway/m-p/30551#M6316</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2018-02-23T20:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: Why is memory swapping on the gateway ?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Why-is-memory-swapping-on-the-gateway/m-p/30552#M6317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is normal to see a low amount of pswpins/s with &lt;STRONG&gt;sar -W&lt;/STRONG&gt; as processes read various types of data off the hard drive such as code pages, libraries, conf files, etc.&amp;nbsp; Default pagesize in Linux is 4KB, and the highest number shown in your output is 0.53 pages swapped in per second, or approximately 2KB per second being read from the hard drive which is inconsequential.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notice that pswpout/s is always zero in your screenshot which means no pages of memory are getting involuntarily thrown out of memory to the hard drive due to a shortage of RAM.&amp;nbsp; When this number is nonzero then you have some cause for concern.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The memory growth you are seeing is probably due to use of RAM for buffering/caching of hard drive operations, please post output of &lt;STRONG&gt;free -m&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As &lt;A href="https://community.checkpoint.com/migrated-users/2075"&gt;Dameon Welch Abernathy&lt;/A&gt;‌ noted, wstlsd is related to HTTPS Inspection and the "Categorize HTTPS Sites" checkbox and was covered in my book.&amp;nbsp; While the memory allocated by each wstlsd process may look concerning, a large amount of that memory is actually being shared amongst the wstlsd processes since they are all doing pretty much the same operations.&amp;nbsp; So the overall amount of memory being consumed by these processes can appear far higher than it is in actuality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&lt;BR /&gt; Second Edition of my "Max Power" Firewall Book&lt;BR /&gt; Now Available at &lt;A href="http://www.maxpowerfirewalls.com" target="_blank"&gt;http://www.maxpowerfirewalls.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Feb 2018 22:04:29 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Why-is-memory-swapping-on-the-gateway/m-p/30552#M6317</guid>
      <dc:creator>Timothy_Hall</dc:creator>
      <dc:date>2018-02-24T22:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: Why is memory swapping on the gateway ?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Why-is-memory-swapping-on-the-gateway/m-p/30553#M6318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, the gateway is no longer swapping since last JHA n°103 was applied (all rules and parameters unchanged). See picture. Thanks.&lt;IMG alt="Memory consumption and jha" class="image-1 jive-image j-img-original" src="https://community.checkpoint.com/legacyfs/online/checkpoint/66774_mswap.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2018 12:55:13 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Why-is-memory-swapping-on-the-gateway/m-p/30553#M6318</guid>
      <dc:creator>Christophe_SIEB</dc:creator>
      <dc:date>2018-06-27T12:55:13Z</dc:date>
    </item>
  </channel>
</rss>

