Question: |
Hello, is it possible to do so with loads and out-of-memory OOM killer didn`t kill mysql? |
Answer: |
Hello. describe the problem in more detail. |
Question: |
just when the memory consumed by loads (heaps of PHP-processes) the oom killer kills that takes the most memory, usually this is mysql. But this does not work, because PHP scripts start to hang without the base. Today, here he killed the database a few times - it did not help, in the end I rebooted the server. So is it possible to configure the oom killer to not kill mysql. View syslog today`s 10:13 in the morning, it can be seen |
Answer: |
you are being DDoS атака7 where a bunch of processes? Have you watched the logs who asks for Your website? |
Question: |
That is not a DDoS-attack, I don`t know what it is, just load, why and how have no idea about access to the logs everything is fine, just people and bots (Google, Yandex, etc.). There are two bot-parser, blocked them in htaccess. But definitely not DDoS. So about the killer, it is a custom or not? |
Answer: |
you need to look settings and scripts to optimize the database and mysql server. the mysql server can be optimized by checking its settings using the script mysqltuner but he needs at least a day to collect statistics , without restarting the server |
Question: |
Okay, I`ll see. |
Answer: |
it`s not normal when normal drupal , when you indicated earlier, short visits creates such a crazy load. you need to optimize the website. |
Question: |
It is clear |
Answer: |
now we need to have to check the settings of the base, perhaps to the detriment of productivity to reduce consumed memory database. |
Question: |
I think until this is not worth it, the performance is not very |
Answer: |
performance suffers from many of the processes are consuming a lot of resources |
Question: |
I understand, but if you limit the amount of memory the database, then it is even slower will work, and will be even more problems, so it is not necessary. Thanks for the help |
Answer: |
ok |