Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
dkzndkqh
Contributor
Jump to solution

Spark Embedded physical memory high

Currently, my SMB(1550, R81.10.15) appliance is using too much memory. However, even when I check with top, I can't figure out which process is causing the high memory usage.

Could you please let me know what might be causing it?

0 Kudos
1 Solution

Accepted Solutions
G_W_Albrecht
Legend Legend
Legend

No worry ! Let us look at the .lua Script in detail to learn more about the performed steps ! The script first checks for Smart-1 Cloud / Central Management:

printWarn("Centrally-managed mode. Skipping the disabling of IoT, SD-WAN, SmartAccel, Hit Count, and Privacy Settings")

All these steps are left out - so the SK is somewhat misleading ! So next, in script gw_optimizer_V12.lua probing will be disabled - you need to use the script gw_optimizer_V12_no_probing.lua so probing settings will be unchanged ! Next step sounds good.

increase sfwd RAM for 1600 and later 

 Sounds good ! Then:

disable batchReognition.lua script

and restart the main process:

sfwd restart

Now for a dessert:

create bg script for pfrm cleaning (and a correspoinding script to stop it)

This will add cleaning to userScript.

printSucc("gw_optimizer_bg.sh was created to periodically clean the /pfrm2.0 directory (run '/storage/gw_optimizer/gw_optimizer_stop.sh' to stop it)")

So you can use this without fear i think...

CCSP - CCSE / CCTE / CTPS / CCME / CCSM Elite / SMB Specialist

View solution in original post

0 Kudos
18 Replies
Tom_Hinoue
Advisor
Advisor

I strongly recommend you to upgrade to the latest R81.10.17 which includes a lot of fixes including performance optimization for the 15X0 appliances (2GB RAM models). Try checking the usage after upgrade, and if you still experience high memory, you might want to engage with TAC for further troubleshoot.

p.s.
I hope someone can kindly move this to the Spark (SMB) section 🙂

dkzndkqh
Contributor

Thank you for letting me know! By the way, is there a big difference before and after the upgrade? I feel like I should keep the upgrade as a last resort.

0 Kudos
Chris_Atkinson
Employee Employee
Employee

You might also wish to explore the script in sk183290 - Optimizer Script for Quantum Spark Gateways 1500 series .

CCSM R77/R80/ELITE
0 Kudos
dkzndkqh
Contributor

Thank you for the information. I have a few questions. In the SK document, it says to disable features like IoT, SD-WAN, Smart Accel, IoT Statistics, Device information logging, Hit Count, Privacy Settings, Logging of allowed traffic, Probing in Internet connections (depending on the script), and Batch recognition to decrease CPU and memory usage.
Does this mean that disabling these features will reduce resource consumption?

0 Kudos
G_W_Albrecht
Legend Legend
Legend

Yes.

CCSP - CCSE / CCTE / CTPS / CCME / CCSM Elite / SMB Specialist
0 Kudos
dkzndkqh
Contributor

We current don’t use  IoT, SD-WAN, IoT Statistics blades but the others can’t disable

0 Kudos
G_W_Albrecht
Legend Legend
Legend

e.g. Hit Count is not relevant here, i would think. I suggest to run the script an then enable the absolutely needed features again...

CCSP - CCSE / CCTE / CTPS / CCME / CCSM Elite / SMB Specialist
0 Kudos
dkzndkqh
Contributor

Since we're currently using Smart-1 Cloud, there are limitations on what we can optimize directly on the appliance.

0 Kudos
G_W_Albrecht
Legend Legend
Legend

No worry ! Let us look at the .lua Script in detail to learn more about the performed steps ! The script first checks for Smart-1 Cloud / Central Management:

printWarn("Centrally-managed mode. Skipping the disabling of IoT, SD-WAN, SmartAccel, Hit Count, and Privacy Settings")

All these steps are left out - so the SK is somewhat misleading ! So next, in script gw_optimizer_V12.lua probing will be disabled - you need to use the script gw_optimizer_V12_no_probing.lua so probing settings will be unchanged ! Next step sounds good.

increase sfwd RAM for 1600 and later 

 Sounds good ! Then:

disable batchReognition.lua script

and restart the main process:

sfwd restart

Now for a dessert:

create bg script for pfrm cleaning (and a correspoinding script to stop it)

This will add cleaning to userScript.

printSucc("gw_optimizer_bg.sh was created to periodically clean the /pfrm2.0 directory (run '/storage/gw_optimizer/gw_optimizer_stop.sh' to stop it)")

So you can use this without fear i think...

CCSP - CCSE / CCTE / CTPS / CCME / CCSM Elite / SMB Specialist
0 Kudos
dkzndkqh
Contributor

Sorry for the late reply, and thank you so much for your help. I’ll keep this in mind when I work on it later!

0 Kudos
the_rock
Legend
Legend
0 Kudos
dkzndkqh
Contributor

Are you perhaps talking about installing Dr. Spark report?

the_rock
Legend
Legend

Correct.

0 Kudos
dkzndkqh
Contributor

I downloaded the report and reviewed it, and it also shows that the memory usage is high

0 Kudos
the_rock
Legend
Legend

I would open TAC case and have them review it as well.

Andy

0 Kudos
dkzndkqh
Contributor

thank you for you help

0 Kudos
the_rock
Legend
Legend

As the guys suggested, maybe upgrade to latest version, hope that helps. 

Andy

0 Kudos
Chris_Atkinson
Employee Employee
Employee

When you review sk183153 R81.10.17 for Quantum Spark Appliances you'll see some similarities to the script shared with respect to optimizations.

Beyond that you may need to work with TAC or your SE if there are specific sizing concerns that persist.

CCSM R77/R80/ELITE
0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    Tue 20 May 2025 @ 11:30 AM (PDT)

    Las Vegas: Check Point Hybrid Mesh

    Wed 21 May 2025 @ 11:30 AM (MST)

    Tempe, AZ: Check Point Hybrid Mesh

    Tue 03 Jun 2025 @ 06:00 PM (EDT)

    Montreal: CPX Recap

    Tue 10 Jun 2025 @ 06:00 PM (EDT)

    Quebec City: CPX Recap
    CheckMates Events