E
E
Eugene2020-02-21 23:26:18
MySQL
Eugene, 2020-02-21 23:26:18

The server + mysql constantly reboots. What is the problem? Little RAM?

Lately I've been noticing a problem with the server...
The load seems to be holding normally -= 16 GB of RAM memory.
But I don’t understand why - but it often happens that the server reboots (I noticed from the vest panel that mysql is rebooted first of all, apparently the problem is in it).
The graph shows how the graph jumps. Tell me, what's the problem here?
I noticed a connection (possibly - in the fact that when the load on the processor reaches 100% for a long time (30 seconds) - then the site is cut off.
+ There was also a setting on the OPcache hosting (sort of) - and perhaps because of this such problems ..

Tell me what it could be? The schedule is attached. Here

PImPonO.png

is another schedule for the week:

QTfU83h.png

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry Sviridov, 2020-02-21
@dimuska139

I would look at the MySQL logs first. It would also be necessary to identify what creates such a load. Perhaps some heavy queries without indexes, etc. You can enable logging of slow queries, and then analyze them using EXPLAIN - create indexes, if necessary.

R
Roman Mirilaczvili, 2020-02-22
@2ord

I have a suspicion that the hosting problem is connected either with some limits on the duration of work when CPU / IOPS are overloaded), or maybe the server is simply overheating and it is rebooting.
It is also possible blocking in the program (PHP) or the web server as a result of the slow operation of the DBMS.
In order to be able to find out, it is necessary to analyze the logs of the OS, web server, Mysql and monitor the use of resources at problematic intervals.
Technical information for a precise answer is not provided.

M
metajiji, 2020-02-23
@metajiji

Run mysqltuner.pl

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question