Community

4 Cpu -> 3 cpu sleep

MP
Mehmet Paçal #1

Hello;

Although the CPU usage is 100%, 3 CPUs are asleep and 1 CPU is active as in the image below.

What is the solution ?

Dr
Dreamer #2

You forget image…

MP
Mehmet Paçal #3

sorry, add image.

jo
josephgodwinke #4

Welcome @Mettleshade Happy you are here

It is because your system is idle. Try add afew websites esp. PHP CMS websites like Joomla!, WordPress etc and you will see load will change.

MP
Mehmet Paçal #5

Thanks for the response. There was a very sudden increase in traffic on my site last night, the CPU was full due to the campaign, the site could not be opened.

jo
josephgodwinke #6

Which CMS are you running? or what technologies are you using? Do you any error when you visit that website? Post a screenshot

Post contents of https://SERVER_URL:8090/serverlogs/errorLogs

Dr
Dreamer #7

SSH to server and use top command to see what uses cpu. Quite often this issue seems to be server being infected with xmrig.

MP
Mehmet Paçal #8

In the log, the log about the site where I am experiencing freezing does not appear. There is a situation like this, when the CPU rate decreased, the site returned to its normal speed.

MP
Mehmet Paçal #9

There is no CPU usage in normal time, when I make a discount, the traffic increase is sudden.

jo
josephgodwinke #10

Open your ssh terminal and run the command:

htop

If you don’t have it install it

apt install -y htop || yum install -y htop || dnf install -y htop

Wait it to run for 1 minute and take a screenshot. Post it here

jo
josephgodwinke #12

Post the screenshot of your whole terminal with the list of the technologies running

sh
shoaibkk #14

htop results?

MP
Mehmet Paçal #15

updated, thank you.

MP
Mehmet Paçal #16

hello, can you see the screenshot

jo
josephgodwinke #17

Hello @Mettleshade

What is filtering your incoming mails ? Do you have a mail AV or soething ?

MP
Mehmet Paçal #18

I don’t understand

Sign in to reply