<?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 Understanding if high CPU utilization is 'normal' or not? in General Topics</title>
    <link>https://community.checkpoint.com/t5/General-Topics/Understanding-if-high-CPU-utilization-is-normal-or-not/m-p/174263#M29108</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;We have automated alerts setup with our SNMP monitoring platform, so that if our checkpoint gateways exceed 80%+ CPU utilization for a duration of 10-minutes or longer, we receive an alert.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The alerts generally trigger quite frequently, although it's very inconsistent. A particular gateway might trigger for multiple days, then nothing. There isn't really any pattern.&lt;/P&gt;&lt;P&gt;I've tried to look into the alerts to understand if this is "normal" operation, or something which needs further investigation.&lt;/P&gt;&lt;P&gt;My method has been to use cpview -t to check the historical util, this shows some information such as CPU type (e.g. CoreXL_FW).&lt;/P&gt;&lt;P&gt;I also check the /var/log/spike_detective logs, but I find the process information doesn't mean much to me, e.g.:&lt;/P&gt;&lt;P&gt;spike info: type: thread, thread id: 86227, thread name: fwk3_3, start time: 21/02/23 05:11:54, spike duration (sec): 29, initial cpu usage: 100, average cpu usage: 100, perf taken: 0&lt;/P&gt;&lt;P&gt;I wondered if others have alternative methods to investigate high CPU utilization to understand the cause? Or is it quite normal to have frequent "spikes" and periods of high CPU in normal operation? If so perhaps we need to tweak our alert threshold.&lt;/P&gt;&lt;P&gt;Thanks in advance, and I appreciate it's quite a variable question depending on factors like throughput, active blades, model etc..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Mar 2023 15:52:18 GMT</pubDate>
    <dc:creator>Parabol</dc:creator>
    <dc:date>2023-03-09T15:52:18Z</dc:date>
    <item>
      <title>Understanding if high CPU utilization is 'normal' or not?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Understanding-if-high-CPU-utilization-is-normal-or-not/m-p/174263#M29108</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;We have automated alerts setup with our SNMP monitoring platform, so that if our checkpoint gateways exceed 80%+ CPU utilization for a duration of 10-minutes or longer, we receive an alert.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The alerts generally trigger quite frequently, although it's very inconsistent. A particular gateway might trigger for multiple days, then nothing. There isn't really any pattern.&lt;/P&gt;&lt;P&gt;I've tried to look into the alerts to understand if this is "normal" operation, or something which needs further investigation.&lt;/P&gt;&lt;P&gt;My method has been to use cpview -t to check the historical util, this shows some information such as CPU type (e.g. CoreXL_FW).&lt;/P&gt;&lt;P&gt;I also check the /var/log/spike_detective logs, but I find the process information doesn't mean much to me, e.g.:&lt;/P&gt;&lt;P&gt;spike info: type: thread, thread id: 86227, thread name: fwk3_3, start time: 21/02/23 05:11:54, spike duration (sec): 29, initial cpu usage: 100, average cpu usage: 100, perf taken: 0&lt;/P&gt;&lt;P&gt;I wondered if others have alternative methods to investigate high CPU utilization to understand the cause? Or is it quite normal to have frequent "spikes" and periods of high CPU in normal operation? If so perhaps we need to tweak our alert threshold.&lt;/P&gt;&lt;P&gt;Thanks in advance, and I appreciate it's quite a variable question depending on factors like throughput, active blades, model etc..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 15:52:18 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Understanding-if-high-CPU-utilization-is-normal-or-not/m-p/174263#M29108</guid>
      <dc:creator>Parabol</dc:creator>
      <dc:date>2023-03-09T15:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding if high CPU utilization is 'normal' or not?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Understanding-if-high-CPU-utilization-is-normal-or-not/m-p/174265#M29109</link>
      <description>&lt;P&gt;A policy installation to a gateway will cause a spike which is expected.&amp;nbsp; The next most common thing is the presence of elephant flows, try running &lt;STRONG&gt;fw ctl multik print_heavy_conn&lt;/STRONG&gt; to see all elephant flows for the last 24 hours.&amp;nbsp; These will normally coincide with spikes reported by the Spike Detective depending upon just how busy overall your firewall is.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 16:04:41 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Understanding-if-high-CPU-utilization-is-normal-or-not/m-p/174265#M29109</guid>
      <dc:creator>Timothy_Hall</dc:creator>
      <dc:date>2023-03-09T16:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding if high CPU utilization is 'normal' or not?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Understanding-if-high-CPU-utilization-is-normal-or-not/m-p/174269#M29113</link>
      <description>&lt;P&gt;Excellent advice by&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/597"&gt;@Timothy_Hall&lt;/a&gt;&amp;nbsp;as always. I would also suggest run below commands:&lt;/P&gt;
&lt;P&gt;ps -auxw&lt;/P&gt;
&lt;P&gt;free -m&lt;/P&gt;
&lt;P&gt;top&lt;/P&gt;
&lt;P&gt;cpview&lt;/P&gt;
&lt;P&gt;cpwd_admin list&lt;/P&gt;
&lt;P&gt;Btw, below is output of the command Tim gave on my fw, but obviously, there are no issues, as its basic lab with just single windows fw behind it (with https inspection on)&lt;/P&gt;
&lt;P&gt;[Expert@quantum-firewall:0]# fw ctl multik print_heavy_conn&lt;BR /&gt;[fw_1]; Conn: 172.16.10.178:62747 -&amp;gt; 34.104.35.123:80 IPP 6; Instance load: 63%; Connection instance load: 99%; StartTime: 08/03/23 21:56:37; Duration: 104; IdentificationTime: 08/03/23 21:56:44; Service: 6:80; Total Packets: 17866; Total Bytes: 19523333;&lt;BR /&gt;[Expert@quantum-firewall:0]# fw ctl multik stat&lt;BR /&gt;ID | Active | CPU | Connections | Peak&lt;BR /&gt;----------------------------------------------&lt;BR /&gt;0 | Yes | 3 | 11 | 65&lt;BR /&gt;1 | Yes | 2 | 8 | 73&lt;BR /&gt;2 | Yes | 1 | 11 | 79&lt;BR /&gt;3 | Yes | 0 | 9 | 67&lt;BR /&gt;[Expert@quantum-firewall:0]# free -m&lt;BR /&gt;total used free shared buff/cache available&lt;BR /&gt;Mem: 21860 5206 11350 8 5303 15644&lt;BR /&gt;Swap: 32191 0 32191&lt;BR /&gt;[Expert@quantum-firewall:0]#&lt;/P&gt;
&lt;P&gt;I also strongly recommend his book. Dont worry, he did not pay me to say this, I just think its EXCELLENT &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.amazon.ca/Max-Power-Firewall-Performance-Optimization/dp/1981481222/ref=sr_1_1?crid=PRBOG9FYLBP3&amp;amp;keywords=Max+Power%3A+Check+Point+Firewall+Performance+Optimization&amp;amp;qid=1678382550&amp;amp;s=books&amp;amp;sprefix=max+power+check+point+firewall+performance+optimization%2Cstripbooks%2C71&amp;amp;sr=1-1" target="_blank" rel="noopener"&gt;https://www.amazon.ca/Max-Power-Firewall-Performance-Optimization/dp/1981481222/ref=sr_1_1?crid=PRBOG9FYLBP3&amp;amp;keywords=Max+Power%3A+Check+Point+Firewall+Performance+Optimization&amp;amp;qid=1678382550&amp;amp;s=books&amp;amp;sprefix=max+power+check+point+firewall+performance+optimization%2Cstripbooks%2C71&amp;amp;sr=1-1&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 17:27:49 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Understanding-if-high-CPU-utilization-is-normal-or-not/m-p/174269#M29113</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2023-03-09T17:27:49Z</dc:date>
    </item>
  </channel>
</rss>

