Control Web Panel
WebPanel => CentOS 7 Problems => Topic started by: tomexuk on April 12, 2024, 06:40:10 AM
-
My newly installed server justr went mad
all of a sudden the cpu and Disk IO are all in red cpu 100% Disk IO 99.5 filly used up
thwe server has only two accounts which hardly have any traffic
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
19881 root 20 0 58564 2188 1472 R 11.8 0.0 0:00.02 top
1 root 20 0 191572 4612 2620 S 0.0 0.0 0:06.02 systemd
2 root 20 0 0 0 0 S 0.0 0.0 0:00.01 kthreadd
4 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:+
5 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kworker/u4+
Can any one please offer a solution to this
thank you
-
Nothing there shows 100% CPU or high memory usage.
The top process (PID 19881) is only at 11.8% CPU
kworkers are multiple httpd instances, which is normal for a web server.
-
Watch your server with htop for a while to get a sense of your avg. CPU usage. Also install Netdata (under Graphs in CWP Admin) if you want to build graphs that show your CPU, memory, disk IO usage over time.
-
Kindly look at this
https://pasteboard.co/K0PohO7ntKxr.jpg
the disk IO is completely used up and no site are loading the two sites on the server are too slow or fail to load at all
thank you
-
run iotop in a terminal, or use Netdata as I suggested.
sudo iotop -p PID
-
Kindly look at this
https://pasteboard.co/K0PohO7ntKxr.jpg
the disk IO is completely used up and no site are loading the two sites on the server are too slow or fail to load at all
thank you
Those 2 graphs are never accurate.
Run & past htop or mpstat from the CLI.
htop will show CPU Usage, and mpstat will also show Steal % if you are running a VPS.