S
S
saanneekk2014-04-27 08:45:33
MySQL
saanneekk, 2014-04-27 08:45:33

Mysql under DOS attack?

I want to protect the VPS, at least from minor DOS attacks, but the trouble is literally from the very first second of a single-threaded DOS attack, the mysql server crashes, despite the fact that Apache resists to the last and I never managed to fill it up even from several computers. It seems to me that this is not normal, the VPS has the following parameters: 1 core, 512 RAM, 20Gb SSD.
For reference: there is a licensed ISPManager.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
Eugene, 2014-04-27
@Nc_Soft

DDOS protection, 512RAM, apache. These words cannot be used in the same sentence

S
sWinDos, 2014-04-27
@sWinDos

RAM, by modern standards, is not enough of course. MySQL should be configured under it. You can take ready-made my.conf from Bitrix Environment, it is normally configured for small amounts of memory, using InnoDB

K
Konstantin Kozhin, 2014-04-27
@kkzhn

Most likely, apache is eating up all the memory, so mysql has no choice but to "fall".
It would be interesting to see what kind of error mysql crashes with, and start from that.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question