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

Best way to remove core dump files

Hi,

 

We're runnign frequent health check reports and see errors for core dump files created long time back. I want to know whats the best way to remove them so the report comes out clean. These are the core dump files on Gateways and Management server. 

 

Sajid

0 Kudos
1 Solution

Accepted Solutions
Ruan_Kotze
Advisor

Hi Sajid,

Just delete them in expert mode - They reside in  /var/log/dump/usermode/  

You could also schedule a cron job to do that periodically.

Thanks,
Ruan

View solution in original post

(1)
3 Replies
Ruan_Kotze
Advisor

Hi Sajid,

Just delete them in expert mode - They reside in  /var/log/dump/usermode/  

You could also schedule a cron job to do that periodically.

Thanks,
Ruan

(1)
G_W_Albrecht
Legend
Legend

This is only true for processes in usermode - kernel crash dumps are located in /var/log/crash/<date>/vmcore, see sk44186: Enable generation of kernel core dump file on Check Point Security Gateway on SecurePlatfor... and sk92764: Core Dump Manager (CDM) for User Mode core dump files in Gaia OS for details.

CCSE CCTE CCSM SMB Specialist
0 Kudos
the_rock
Legend
Legend

@Ruan_Kotze is 100% right. Below is an example from my lab.

Andy

 

Screenshot_1.png

 You can also do this:

 

quantum-firewall> set core-dump
quantum-firewall> set core-dump disable
CLINFR0519 Configuration lock present. Can not execute this command. To acquire the lock use the command 'lock database override'.
quantum-firewall> lock database overri
quantum-firewall> lock database override
quantum-firewall> set core-dump disable
quantum-firewall> save config
quantum-firewall> show core-du
quantum-firewall> show core-dump
per_process - show dumps amount limit per process
status - show enable / disable status of core-dump
total - show total space usage limit
quantum-firewall> show core-dump stat
quantum-firewall> show core-dump status
Core dumps disabled
quantum-firewall>

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events