H
H
hook00772019-07-07 22:00:47
MySQL
hook0077, 2019-07-07 22:00:47

MySQL not accepting requests during http flood?

On my VDS, when there is an http flood on the machine from an attacker, mysql is so loaded with requests that it does not accept connections. How can I make nginx reject requests from all clients during an http flood, but at the same time mysql works as expected, accepting requests, and not rebooting, since in the "background" it is connected to another server, where a constant connection to the database is important?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Derepko, 2019-07-07
@xEpozZ

Make a limit of hits by ip address. For example, pieces 5 requests per second. configured in nginx

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question