Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Fabz
Contributor

Smart1 almost 90% Utilization

Hi Checkmates,

i back with some question and looking for suggestions..

smart1 410 run with 81.10 to cover 3 GW. 2 mo after upgrade, currently we facing high RAM utilization. the RAM peak almost reach 90% and i worried if this will make an impact on ops.

Questions :

  • what is the impact if RAM hits 100% on management?
  • what is the different function RAM and CPU on management? curios, since the CPU util slightly low, around 40%
  • not related to issue, just looking the idea how to check or information related to available gateway slot to manage?

Thank you!

0 Kudos
6 Replies
PhoneBoy
Admin
Admin

Most likely, the RAM is being used by indexing the security logs and the various management processes.
This is not unusual. 
Issues will arise with performance of management functions if RAM gets to 100% and swap starts being used.

0 Kudos
the_rock
Legend
Legend

The impact would not be great if RAM usage is constantly at 100%. I mean, think about it in terms of regular say personal laptop (desktop computer). If ram is always close to 100%, it will eventually get blue screen of death, almost guaranteed,

If I were you and I had that issue, I would examine output of below commands to verify what could be causing this.

Commands Im referring to from expert mode of Smart-1:

top

free -g

ps -auxw

cpview (look for ram usage there, you can also do cpview -t and then t to input time frame, which might also be useful)

https://support.checkpoint.com/results/sk/sk163804 is the reference for cpview -t

cpwd_admin list (check for letter E and 1, it there are processes showing anything but 1 beside letter E for established, that means the process has restarted more than once, so maybe look for the date on the left side)

By the same token, ps -auxw command will help for CPU usage, same for cpview, which gives you lots of other options as well.

Hope that helps.

Andy

0 Kudos
just13pro
Collaborator

What is the JHF installed on the Smart-1?

If no JHF installed or if not yet the latest, try to update the JHF first and see if it has improvement.

0 Kudos
the_rock
Legend
Legend

@just13pro made a very good point. I would definitely verify you have recommended jumbo installed, which for R81.10 is currently take 110

Andy

https://sc1.checkpoint.com/documents/Jumbo_HFA/R81.10/R81.10/Introduction.htm

0 Kudos
Bob_Zimmerman
Authority
Authority

How are you measuring how much RAM is "used"? Linux has a bunch of tools for this, and most of them do not match with the human idea of how much RAM is free versus used.

0 Kudos
the_rock
Legend
Legend

Based on what @Bob_Zimmerman said, you can check below link and also output of one of my lab R81.20 fw's

Andy

https://phoenixnap.com/kb/linux-commands-check-memory-usage

 

[Expert@CP-TEST-FIREWALL:0]# cat /proc/meminfo
MemTotal: 24452428 kB
MemFree: 13928244 kB
MemAvailable: 18893096 kB
Buffers: 2264 kB
Cached: 5337508 kB
SwapCached: 0 kB
Active: 3722584 kB
Inactive: 2470948 kB
Active(anon): 860788 kB
Inactive(anon): 728 kB
Active(file): 2861796 kB
Inactive(file): 2470220 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 8388604 kB
SwapFree: 8388604 kB
Dirty: 316 kB
Writeback: 0 kB
AnonPages: 853328 kB
Mapped: 118340 kB
Shmem: 7756 kB
Slab: 475072 kB
SReclaimable: 209936 kB
SUnreclaim: 265136 kB
KernelStack: 6384 kB
PageTables: 10476 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 20614816 kB
Committed_AS: 3163716 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 2855152 kB
VmallocChunk: 34356225224 kB
Percpu: 1312 kB
AnonHugePages: 391168 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 505720 kB
DirectMap2M: 24659968 kB
[Expert@CP-TEST-FIREWALL:0]# free -g
total used free shared buff/cache available
Mem: 23 4 13 0 5 18
Swap: 7 0 7
[Expert@CP-TEST-FIREWALL:0]# vmstat
procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----
r b swpd free buff cache si so bi bo in cs us sy id wa st
3 0 0 13929532 2264 5812372 0 0 0 1 3 3 0 1 98 0 0
[Expert@CP-TEST-FIREWALL:0]# top
top - 12:28:38 up 9 days, 21:38, 1 user, load average: 0.10, 0.16, 0.10
Tasks: 257 total, 2 running, 255 sleeping, 0 stopped, 0 zombie
%Cpu0 : 0.0 us, 0.0 sy, 0.0 ni, 99.0 id, 0.0 wa, 1.0 hi, 0.0 si, 0.0 s
%Cpu1 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 s
%Cpu2 : 1.0 us, 1.0 sy, 0.0 ni, 95.1 id, 0.0 wa, 1.0 hi, 1.0 si, 1.0 s
%Cpu3 : 1.0 us, 1.0 sy, 0.0 ni, 96.1 id, 0.0 wa, 1.0 hi, 0.0 si, 1.0 s
%Cpu4 : 0.0 us, 0.0 sy, 0.0 ni, 99.0 id, 0.0 wa, 1.0 hi, 0.0 si, 0.0 s
%Cpu5 : 1.0 us, 0.0 sy, 0.0 ni, 98.0 id, 0.0 wa, 1.0 hi, 0.0 si, 0.0 s
%Cpu6 : 0.0 us, 0.0 sy, 0.0 ni, 98.0 id, 0.0 wa, 2.0 hi, 0.0 si, 0.0 s
%Cpu7 : 0.0 us, 1.0 sy, 0.0 ni, 97.0 id, 0.0 wa, 1.0 hi, 0.0 si, 1.0 s
KiB Mem : 24452428 total, 13929440 free, 4708328 used, 5814660 buff/cache
KiB Swap: 8388604 total, 8388604 free, 0 used. 18894328 avail Mem

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ P COMMAND
5629 admin 20 0 0 0 0 S 1.0 0.0 55:02.64 7 fw_wor+
5630 admin 20 0 0 0 0 R 1.0 0.0 51:53.48 6 fw_wor+
5632 admin 20 0 0 0 0 S 1.0 0.0 51:55.74 4 fw_wor+
5633 admin 20 0 0 0 0 S 1.0 0.0 50:21.71 3 fw_wor+
5634 admin 20 0 0 0 0 S 1.0 0.0 50:59.78 2 fw_wor+
16079 admin 20 0 3756 1488 1032 R 1.0 0.0 0:00.03 3 top
1 admin 20 0 2632 676 576 S 0.0 0.0 0:08.64 4 init
[Expert@CP-TEST-FIREWALL:0]#

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events