S
S
SimBioT192019-10-29 21:26:56
linux
SimBioT19, 2019-10-29 21:26:56

Periodic load on the server, how to track and block if necessary?

Right now, the server periodically takes off the CPU, it slows down
5db8840e64222027348434.png
As you can see, the httpd load:
5db88413e4ddc745039734.png
How to understand where exactly it comes from?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
akelsey, 2019-10-29
@akelsey

Что то уж пики слишком идут через подозрительно равные интервалы. Как по cron'у обращения к сайту, либо парсер чей-то.
Можно начать проверять логи вебсервера, с группировкой по IP адресу кол-во запросов в интервале времени, например 10 минут.

R
rionnagel, 2019-10-29
@rionnagel

strace, tcpdump+wireshark, feed elk with logs for starters.

V
Victor Taran, 2019-10-30
@shambler81

iotop -oka and watch while booting

A
Algorithm_00, 2019-10-31
@Algorithm18

Take Python, write a parser and catch ip addresses that carry either a load or an interval of appearance on the network. Of course, I'm not talking about the server master, but once my more experienced friend solved it in such ways. Perhaps those who understand will throw slippers, but I gave a tip about.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question