T
T
tgarl2021-07-20 16:39:06
linux
tgarl, 2021-07-20 16:39:06

How to understand what is the problem on the server when there is a sharp excess of disk usage?

The bottom line is this: Periodically, at the time of saving files via ssh, the load on the disk and CPU increases sharply, as a result of which the server ceases to be available until you close all programs through which you are currently connected (browsers, ide, console, everything that is open). hosting support supplied atop.
I see just such a picture
60f6ced0933ee361037077.jpeg
60f6d1f144bc2527666948.jpeg

They tell me that the problem is in SQL and the scripts that cause them, but sql gives only 20%.
In addition, according to my observations, it is at the moment of downloading or uploading a file via ssh that a problematic situation occurs. Yes, at this moment someone may be on the site, so it is not surprising that there is a load on the database, but it is not 100%

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Victor Taran, 2021-07-20
@shambler81

iotop -oka during the peak and see what eats

V
Vitaly Karasik, 2021-07-20
@vitaly_il1

As already said, it looks like a memory problem.
Show the output
of free -m

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question