In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
A few days ago, the alarm system frequently reported that the utilization rate of checkpoint firewall CPU0,CPU1 was as high as 95%. Log in to the checkpoint command line
Expert mode uses the "top" command to see that a "monitored" process takes up a lot of CPU.
Checked the relevant documents, mainly db files under / var/log/db/var/log/ up to more than 700m.
The official methods are as follows:
=
Tellpmprocess:monitord
This command is used to pause the monitored process
Cp / var/log/db / var/log/db_ORIGINAL
Back up db as db_ORIGNAL
Sqlite3 / var/log/db
VACUUM
.exit
Tellpm process:monitord t
Start the monitored process
But after the implementation, the effect is not good. The original size of the db is more than 700m, but after the implementation, it becomes 700m.
You can use ls-lh / var/log/db* to view the size of the db
=
Find another solution on the Internet, directly delete the entire db file after backup, and wait for the system to regenerate.
Tellpmprocess:monitord
This command is used to pause the monitored process
Mv / var/log/db / var/log/db_ORIGINAL
Back up db as db_ORIGNAL and delete the original db file
Tellpm process:monitord t
Start the monitored process
Wait a few minutes after execution for the system to regenerate the db file, and the load of the whole CPU drops.
You can use the following command to view the status of the monitored process
Ps auxwww | grep monitord
=
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.