<?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: Java process taking up memory on the firewall in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Java-process-taking-up-memory-on-the-firewall/m-p/133127#M19782</link>
    <description>&lt;P&gt;Below is what I see...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[Expert@CPFW:0]# cpview&lt;BR /&gt;|------------------------------------------------------------------------------|&lt;BR /&gt;| CPVIEW.Overview 03Nov2021 8:13:09 |&lt;BR /&gt;|------------------------------------------------------------------------------|&lt;BR /&gt;| Overview SysInfo Network CPU I/O Software-blades Hardware-Health Advanced |&lt;BR /&gt;|------------------------------------------------------------------------------|&lt;BR /&gt;| CPU: |&lt;BR /&gt;| |&lt;BR /&gt;| Num of CPUs: 4 |&lt;BR /&gt;| |&lt;BR /&gt;| CPU Used |&lt;BR /&gt;| 2 7% |&lt;BR /&gt;| 3 4% |&lt;BR /&gt;| 1 2% |&lt;BR /&gt;| ---------------------------------------------------------------------------- |&lt;BR /&gt;| Memory: |&lt;BR /&gt;| |&lt;BR /&gt;| Total MB Used MB Free MB |&lt;BR /&gt;| Physical 7,621 6,074 1,546 |&lt;BR /&gt;| FW Kernel 5,639 1,005 4,634 |&lt;BR /&gt;| Swap 15,806 480 15,325&lt;/P&gt;</description>
    <pubDate>Wed, 03 Nov 2021 12:14:19 GMT</pubDate>
    <dc:creator>the_rock</dc:creator>
    <dc:date>2021-11-03T12:14:19Z</dc:date>
    <item>
      <title>Java process taking up memory on the firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Java-process-taking-up-memory-on-the-firewall/m-p/133090#M19777</link>
      <description>&lt;P&gt;Hey guys,&lt;/P&gt;
&lt;P&gt;Just wondering, is there a good way to troubleshoot the issue where java is taking most memory on the appliance? I noticed its always around 80% and when I run, ps -auxw, top or cpview, shows 1.5 GB free out of 8 GB and though its configured as standalone (R80.40 JHF 125), there are not too many blades enabled. So far, there are vpn, logging and status and monitoring, nothing else. If we enabled ips, IA, mobile access, memory goes up to 85% with java still taking about 20%.&lt;/P&gt;
&lt;P&gt;Any suggestions are appreciated. I know java is usually related to CPM in this case, but just not too sure best way to go about it.&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 01:04:27 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Java-process-taking-up-memory-on-the-firewall/m-p/133090#M19777</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2021-11-03T01:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Java process taking up memory on the firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Java-process-taking-up-memory-on-the-firewall/m-p/133092#M19778</link>
      <description>&lt;P&gt;Java is used for CPM, the API server, and other things.&lt;BR /&gt;Believe it allocates unused available memory and will back off when other things need it.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 01:43:31 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Java-process-taking-up-memory-on-the-firewall/m-p/133092#M19778</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2021-11-03T01:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: Java process taking up memory on the firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Java-process-taking-up-memory-on-the-firewall/m-p/133093#M19779</link>
      <description>&lt;P&gt;Thanks D. So, just wondering, since it shows java is consuming 17% of memory, not sure where other 63% comes from, as I cant find any other processes at all consuming barely any memory.&lt;/P&gt;
&lt;P&gt;Thoughts?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 01:46:03 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Java-process-taking-up-memory-on-the-firewall/m-p/133093#M19779</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2021-11-03T01:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Java process taking up memory on the firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Java-process-taking-up-memory-on-the-firewall/m-p/133094#M19780</link>
      <description>&lt;P&gt;Kernel memory?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 02:27:46 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Java-process-taking-up-memory-on-the-firewall/m-p/133094#M19780</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2021-11-03T02:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Java process taking up memory on the firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Java-process-taking-up-memory-on-the-firewall/m-p/133127#M19782</link>
      <description>&lt;P&gt;Below is what I see...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[Expert@CPFW:0]# cpview&lt;BR /&gt;|------------------------------------------------------------------------------|&lt;BR /&gt;| CPVIEW.Overview 03Nov2021 8:13:09 |&lt;BR /&gt;|------------------------------------------------------------------------------|&lt;BR /&gt;| Overview SysInfo Network CPU I/O Software-blades Hardware-Health Advanced |&lt;BR /&gt;|------------------------------------------------------------------------------|&lt;BR /&gt;| CPU: |&lt;BR /&gt;| |&lt;BR /&gt;| Num of CPUs: 4 |&lt;BR /&gt;| |&lt;BR /&gt;| CPU Used |&lt;BR /&gt;| 2 7% |&lt;BR /&gt;| 3 4% |&lt;BR /&gt;| 1 2% |&lt;BR /&gt;| ---------------------------------------------------------------------------- |&lt;BR /&gt;| Memory: |&lt;BR /&gt;| |&lt;BR /&gt;| Total MB Used MB Free MB |&lt;BR /&gt;| Physical 7,621 6,074 1,546 |&lt;BR /&gt;| FW Kernel 5,639 1,005 4,634 |&lt;BR /&gt;| Swap 15,806 480 15,325&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 12:14:19 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Java-process-taking-up-memory-on-the-firewall/m-p/133127#M19782</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2021-11-03T12:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Java process taking up memory on the firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Java-process-taking-up-memory-on-the-firewall/m-p/133238#M19815</link>
      <description>&lt;P&gt;Just to update on this...will have remote with TAC today to see what they suggest. Even after reboot, its exact same issue...fw been up for 5 mins and memory use is at 75%, with java still taking up the most.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 13:48:33 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Java-process-taking-up-memory-on-the-firewall/m-p/133238#M19815</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2021-11-04T13:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: Java process taking up memory on the firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Java-process-taking-up-memory-on-the-firewall/m-p/133324#M19824</link>
      <description>&lt;P&gt;This is expected behavior.&amp;nbsp; Upon boot an SMS/MDS will probe the amount of CPUs and RAM available, and assign a resources profile that allocates the number of daemons to start and Java heap sizes among other things.&amp;nbsp; The more resources Java has the faster it can run and get useful work done as opposed to constantly doing garbage collection, so the resources profile helps ensure the full capabilities of the system hardware are being utilized without trying to take too much.&amp;nbsp; This is why the memory utilization is high immediately after a boot instead of the more typical growing slowly; it is pre-allocating the optimal amount of resources up front to ensure maximum performance and not having to grow them later.&lt;/P&gt;
&lt;P&gt;Please see this thread which is very long but should help you understand what is going on:&lt;/P&gt;
&lt;P&gt;&lt;A id="link_13" href="https://community.checkpoint.com/t5/Management/Mangement-server-R80-10-slowness/m-p/11024?search-action-id=34980620110&amp;amp;search-result-uid=11024" target="_blank" rel="noopener"&gt;Mangement server R80.10 slowness&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 17:11:29 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Java-process-taking-up-memory-on-the-firewall/m-p/133324#M19824</guid>
      <dc:creator>Timothy_Hall</dc:creator>
      <dc:date>2021-11-05T17:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Java process taking up memory on the firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Java-process-taking-up-memory-on-the-firewall/m-p/133326#M19826</link>
      <description>&lt;P&gt;Thanks Tim. Is it normal though its constantly at 70%, not only after reboot?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 17:21:56 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Java-process-taking-up-memory-on-the-firewall/m-p/133326#M19826</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2021-11-05T17:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: Java process taking up memory on the firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Java-process-taking-up-memory-on-the-firewall/m-p/133327#M19827</link>
      <description>&lt;P&gt;Maybe, what are the memory and core specs or your system and which resources profile is it using:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;grep -i chosen $FWDIR/conf/serverSettings.props&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 17:27:27 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Java-process-taking-up-memory-on-the-firewall/m-p/133327#M19827</guid>
      <dc:creator>Timothy_Hall</dc:creator>
      <dc:date>2021-11-05T17:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Java process taking up memory on the firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Java-process-taking-up-memory-on-the-firewall/m-p/133332#M19828</link>
      <description>&lt;P&gt;This is what I get:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;[Expert@CPFW:0]# grep -i chosen $FWDIR/conf/serverSettings.props&lt;BR /&gt;CHOSEN_CPSETUP_PROFILE="Small Medium env resources profile"&lt;BR /&gt;[Expert@CPFW:0]#&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Memory is 8 GB, so that could be part of the issue (not 100% sure) and it has 1 cpu, 2 physical cores, 4 virtual&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 19:48:12 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Java-process-taking-up-memory-on-the-firewall/m-p/133332#M19828</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2021-11-05T19:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Java process taking up memory on the firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Java-process-taking-up-memory-on-the-firewall/m-p/133344#M19834</link>
      <description>&lt;P&gt;Looks right to me, I don't really see a problem here unless the system is running short of memory and routinely dipping into swap space.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 22:19:45 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Java-process-taking-up-memory-on-the-firewall/m-p/133344#M19834</guid>
      <dc:creator>Timothy_Hall</dc:creator>
      <dc:date>2021-11-05T22:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: Java process taking up memory on the firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Java-process-taking-up-memory-on-the-firewall/m-p/133358#M19836</link>
      <description>&lt;P&gt;Thanks Tim. I think though that we will get more RAM for the customer, since it is standalone and with possibility of wanting to enable more blades down the road, its probably better to take care of this now.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers.&lt;/P&gt;</description>
      <pubDate>Sat, 06 Nov 2021 13:47:42 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Java-process-taking-up-memory-on-the-firewall/m-p/133358#M19836</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2021-11-06T13:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Java process taking up memory on the firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Java-process-taking-up-memory-on-the-firewall/m-p/133396#M19849</link>
      <description>&lt;P&gt;Yep, should definitely help with a standalone setup.&lt;/P&gt;</description>
      <pubDate>Sun, 07 Nov 2021 13:21:54 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Java-process-taking-up-memory-on-the-firewall/m-p/133396#M19849</guid>
      <dc:creator>Timothy_Hall</dc:creator>
      <dc:date>2021-11-07T13:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Java process taking up memory on the firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Java-process-taking-up-memory-on-the-firewall/m-p/207787#M39345</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/597"&gt;@Timothy_Hall&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;How does the Profile selection affects the memory usage. Even I am facing similar issue where the memory utilization stays at 81% on SMS which have 14 GB of RAM, SMS does not have SMARTEVENT enabled and only managing 3 firewalls as of now also, no SME in the environment. The output to above command is as below:&lt;/P&gt;&lt;P&gt;CHOSEN_CPSETUP_PROFILE="Large SMC env resources profile without SME"&lt;/P&gt;&lt;P&gt;Should we move to small to medium profile as we only have 3 gateways?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 00:18:44 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Java-process-taking-up-memory-on-the-firewall/m-p/207787#M39345</guid>
      <dc:creator>kshah1</dc:creator>
      <dc:date>2024-03-05T00:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Java process taking up memory on the firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Java-process-taking-up-memory-on-the-firewall/m-p/207882#M39379</link>
      <description>&lt;P&gt;Your system is probably not short on memory, please post output of "free -m".&amp;nbsp; Properly interpreting this output is included in my speech at CPX Vegas tomorrow @1:00pm and is called "Be your own TAC".&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 18:13:32 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Java-process-taking-up-memory-on-the-firewall/m-p/207882#M39379</guid>
      <dc:creator>Timothy_Hall</dc:creator>
      <dc:date>2024-03-05T18:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Java process taking up memory on the firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Java-process-taking-up-memory-on-the-firewall/m-p/207884#M39380</link>
      <description>&lt;P&gt;I agree with that. We had an extended TAC case for a customer with this issue and turned out to be memory at the end, even esc. guy said the same.&lt;/P&gt;
&lt;P&gt;Btw, hope recording of your presentation will be on community?&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 18:34:10 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Java-process-taking-up-memory-on-the-firewall/m-p/207884#M39380</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2024-03-05T18:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Java process taking up memory on the firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Java-process-taking-up-memory-on-the-firewall/m-p/207892#M39384</link>
      <description>&lt;P&gt;Not sure if it will be recorded, but the slide deck will get posted to CheckMates for sure.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 19:24:59 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Java-process-taking-up-memory-on-the-firewall/m-p/207892#M39384</guid>
      <dc:creator>Timothy_Hall</dc:creator>
      <dc:date>2024-03-05T19:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Java process taking up memory on the firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Java-process-taking-up-memory-on-the-firewall/m-p/207893#M39385</link>
      <description>&lt;P&gt;Thats good enough for me...gotta learn from one of the best!&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 19:27:58 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Java-process-taking-up-memory-on-the-firewall/m-p/207893#M39385</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2024-03-05T19:27:58Z</dc:date>
    </item>
  </channel>
</rss>

