Pawel32 0 Zgłoś post Napisano Kwiecień 28, 2019 (edytowany) Witam, Posiadam od roku serwer dedykowany na którym mam postawiony Apache + MySQL + Direct Admin. Na serwerze obecnie mam 142 blogi Wordpress, do ok 2 tygodni temu load wynosił 3-4%, obecnie jest to od 35% do momentami nawet i 255%. Co prawda na serwerze postawionych jest 140 blogów wordpress, ale jest na nich bardzo mały ruch, czasami kilkaset osób w ciągu dnia i tyle. Według logów z 32GB RAM używane jest nie całe 10GB. Parametry serwera: Procesor: Intel Xeon E3-1270v6 - 4/8t - 3.8GHz /4.2GHz RAM: 32GB DDR4 ECC 2133 MHz Wynik polecenia httpd -V Server version: Apache/2.4.37 (Unix) Server built: Nov 1 2018 14:48:36 Server's Module Magic Number: 20120211:83 Server loaded: APR 1.6.5, APR-UTIL 1.6.1 Compiled using: APR 1.6.5, APR-UTIL 1.6.1 Architecture: 64-bit Server MPM: prefork threaded: no forked: yes (variable process count) Server compiled with.... -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_SYSVSEM_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=256 -D HTTPD_ROOT="/etc/httpd" -D HAVE_SYSTEMD -D SUEXEC_BIN="/usr/sbin/suexec" -D DEFAULT_PIDLOG="/var/logs/httpd.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="conf/mime.types" -D SERVER_CONFIG_FILE="conf/httpd.conf" Myślę, że screen wszystko wyjaśni: Obecnie wygląda to tak: Serwer został zakupiony rok temu i od razu w pakiecie był zainstalowany direct admin, więc nic nie było sensownie optymalizowane, ale patrząc na obecną sytuację bardzo by się przydało, bo są momenty, że strony chodzą bardzo szybki i jest dużo takich momentów, gdzie strona w ogóle się nie wczytuje, chociaż na serwerze nie ma obciążenia. Jakiś pomysł co zrobić, żeby LA spadł dużo niżej, i żeby serwer szybko chodził? Mój /etc/httpd/conf/extra/httpd-mpm.conf # # Server-Pool Management (MPM specific) # # # PidFile: The file in which the server should record its process # identification number when it starts. # # Note that this is the default PidFile for most MPMs. # <IfModule !mpm_netware_module> PidFile "/var/run/httpd.pid" </IfModule> # # Only one of the below sections will be relevant on your # installed httpd. Use "apachectl -l" to find out the # active mpm. # # # Only one of the below sections will be relevant on your # installed httpd. Use "apachectl -l" to find out the # active mpm. # # prefork MPM # StartServers: number of server processes to start # MinSpareServers: minimum number of server processes which are kept spare # MaxSpareServers: maximum number of server processes which are kept spare # MaxRequestWorkers: maximum number of server processes allowed to start # MaxConnectionsPerChild: maximum number of connections a server process serves # before terminating <IfModule mpm_prefork_module> StartServers 4 MinSpareServers 3 MaxSpareServers 10 ServerLimit 256 MaxRequestWorkers 256 MaxConnectionsPerChild 20000 </IfModule> # worker MPM # StartServers: initial number of server processes to start # MinSpareThreads: minimum number of worker threads which are kept spare # MaxSpareThreads: maximum number of worker threads which are kept spare # ThreadsPerChild: constant number of worker threads in each server process # MaxRequestWorkers: maximum number of worker threads # MaxConnectionsPerChild: maximum number of connections a server process serves # before terminating <IfModule mpm_worker_module> StartServers 3 MinSpareThreads 2 MaxSpareThreads 3 ThreadsPerChild 50 MaxRequestWorkers 100 MaxConnectionsPerChild 20000 </IfModule> # event MPM # StartServers: initial number of server processes to start # MinSpareThreads: minimum number of worker threads which are kept spare # MaxSpareThreads: maximum number of worker threads which are kept spare # ThreadsPerChild: constant number of worker threads in each server process # MaxRequestWorkers: maximum number of worker threads # MaxConnectionsPerChild: maximum number of connections a server process serves # before terminating <IfModule mpm_event_module> StartServers 3 MinSpareThreads 32 MaxSpareThreads 638 ThreadsPerChild 64 ServerLimit 32 MaxRequestWorkers 1024 MaxConnectionsPerChild 15000 </IfModule> # NetWare MPM # ThreadStackSize: Stack size allocated for each worker thread # StartThreads: Number of worker threads launched at server startup # MinSpareThreads: Minimum number of idle threads, to handle request spikes # MaxSpareThreads: Maximum number of idle threads # MaxThreads: Maximum number of worker threads alive at the same time # MaxConnectionsPerChild: Maximum number of connections a thread serves. It # is recommended that the default value of 0 be set # for this directive on NetWare. This will allow the # thread to continue to service requests indefinitely. <IfModule mpm_netware_module> ThreadStackSize 65536 StartThreads 250 MinSpareThreads 25 MaxSpareThreads 50 MaxThreads 1000 MaxConnectionsPerChild 0 </IfModule> # OS/2 MPM # StartServers: Number of server processes to maintain # MinSpareThreads: Minimum number of idle threads per process, # to handle request spikes # MaxSpareThreads: Maximum number of idle threads per process # MaxConnectionsPerChild: Maximum number of connections per server process <IfModule mpm_mpmt_os2_module> StartServers 2 MinSpareThreads 5 MaxSpareThreads 10 MaxConnectionsPerChild 0 </IfModule> # WinNT MPM # ThreadsPerChild: constant number of worker threads in the server process # MaxConnectionsPerChild: maximum number of connections a server process serves <IfModule mpm_winnt_module> ThreadsPerChild 150 MaxConnectionsPerChild 0 </IfModule> # The maximum number of free Kbytes that every allocator is allowed # to hold without calling free(). In threaded MPMs, every thread has its own # allocator. When not set, or when set to zero, the threshold will be set to # unlimited. <IfModule !mpm_netware_module> MaxMemFree 2048 </IfModule> <IfModule mpm_netware_module> MaxMemFree 100 </IfModule> Edytowano Kwiecień 28, 2019 przez Pawel32 (zobacz historię edycji) Udostępnij ten post Link to postu Udostępnij na innych stronach
Rolej 58 Zgłoś post Napisano Kwiecień 28, 2019 Sprawdź, czy w któregoś z Wordpressów jakiś bot nie wali na plik xmlrpc.php lub wp-login.php - często to powód wzrostu loadu. Udostępnij ten post Link to postu Udostępnij na innych stronach
Pawel32 0 Zgłoś post Napisano Kwiecień 28, 2019 W takim wypadku te logi by wiele tłumaczyły > ::1 - - [21/Apr/2019:12:40:19 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 > - - [21/Apr/2019:12:40:18 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - [21/Apr/2019:12:40:14 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:40:13 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:40:10 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:40:07 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:40:05 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:40:04 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:40:00 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:39:55 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:39:54 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:39:51 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:39:50 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:39:49 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:39:45 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:39:44 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:39:42 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:39:38 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:39:37 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:39:36 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:39:35 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:39:34 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:39:33 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:39:32 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:39:31 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:39:29 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:39:28 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:39:23 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:39:20 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:39:15 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:39:14 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:39:10 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:39:09 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:39:08 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:39:07 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:39:05 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:39:04 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:39:03 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:39:02 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:39:01 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:38:58 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:38:57 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:38:52 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:38:51 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:38:50 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:38:49 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:38:46 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:38:45 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:38:44 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:38:43 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:38:42 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:38:41 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:38:40 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:38:39 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:38:38 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:38:32 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:38:27 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:38:24 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:38:23 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:38:22 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:38:21 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:38:16 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:38:15 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:38:14 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:38:13 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:38:11 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:38:10 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:38:09 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:38:08 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:38:07 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:38:06 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:38:03 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:38:02 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:38:01 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:38:00 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:37:56 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:37:55 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:37:53 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:37:50 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:37:49 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:37:42 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:37:41 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:37:36 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:37:35 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:37:34 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:37:28 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:37:27 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:37:21 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:37:20 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:37:15 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:37:14 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:37:13 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:37:12 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:37:11 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:37:08 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:37:07 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:37:06 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:37:05 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:37:04 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:37:03 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:37:02 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:37:00 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:59 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:58 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:57 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:56 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:53 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:52 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:51 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:50 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:49 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:48 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:47 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:46 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:45 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:44 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:43 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:37 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:36 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:33 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:31 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:30 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:29 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:28 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:27 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:26 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:25 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:24 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:23 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:22 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:21 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:20 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:19 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:18 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:17 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:16 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:15 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:10 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:09 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:08 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:07 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:06 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:04 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:03 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:02 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:01 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:36:00 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:35:56 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:35:55 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:35:49 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:35:48 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:35:47 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:35:42 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:35:41 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:35:40 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:35:38 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:35:35 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:35:34 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:35:31 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:35:30 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:35:29 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:35:28 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:35:24 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:35:23 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:35:22 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:35:21 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:35:16 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:35:11 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:35:10 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:35:09 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:35:06 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:35:05 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:35:01 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:34:59 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:34:58 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:34:55 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:34:52 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:34:51 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:34:50 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:34:45 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:34:44 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:34:43 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:34:41 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:34:38 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:34:37 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:34:36 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:34:31 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:34:30 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:34:25 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:34:24 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:34:23 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:34:22 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:34:21 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:34:20 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:34:16 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:34:13 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:34:08 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:34:03 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:34:02 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:34:01 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:33:56 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:33:55 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:33:54 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:33:53 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:33:52 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:33:48 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:33:46 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:33:45 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:33:44 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:33:43 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:33:42 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:33:41 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:33:39 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:33:38 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:33:37 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:33:36 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:33:35 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:33:31 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:33:30 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:33:29 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:33:28 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:33:25 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:33:18 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:33:12 +0200] "OPTIONS * HTTP/1.0" 200 138 ::1 - - > [21/Apr/2019:12:33:08 +0200] "OPTIONS * HTTP/1.0" 200 138 To jest tylko mały wycinek. Wcześniej serwer potrafił przy 142 blogach chodzić nawet na poziomie 0.8%, teraz bez szans Udostępnij ten post Link to postu Udostępnij na innych stronach
Rolej 58 Zgłoś post Napisano Kwiecień 28, 2019 Coś Ci wali po localhoście. Sprawdź tę konkretną witrynę. Udostępnij ten post Link to postu Udostępnij na innych stronach
Pawel32 0 Zgłoś post Napisano Kwiecień 28, 2019 (edytowany) Problem w tym, że tak mam na każdej domenie. W access_log mam własnie tylko takie linijki jak wkleiłem Edytowano Kwiecień 28, 2019 przez Pawel32 (zobacz historię edycji) Udostępnij ten post Link to postu Udostępnij na innych stronach
Rolej 58 Zgłoś post Napisano Kwiecień 28, 2019 https://serverfault.com/questions/543355/options-http-1-0-in-access-log Sprawdź to. Udostępnij ten post Link to postu Udostępnij na innych stronach
Pawel32 0 Zgłoś post Napisano Kwiecień 28, 2019 To by pasowało, tylko pytanie co zrobić, żeby to tak nie zamulało serwera cały czas, bo jednak obciązenie z 0.8% na nawet 254% coś musiało wywołać. Udostępnij ten post Link to postu Udostępnij na innych stronach
Pawel32 0 Zgłoś post Napisano Kwiecień 28, 2019 Znalazłem przyczynę, dzisiaj dla kilku domen było od 40-80k zapytań na xml-rpc oraz wp-login. Wyłączyłem wszędzie xml-rpc oraz zmieniłem domyślny adres logowania + po 3 próbach logowania blokada Udostępnij ten post Link to postu Udostępnij na innych stronach
Rolej 58 Zgłoś post Napisano Kwiecień 28, 2019 Spróbuj też zainteresować się nginxem. Powinien być lżejszy i wydajniejszy dla Wordpressow. Udostępnij ten post Link to postu Udostępnij na innych stronach
Pawel32 0 Zgłoś post Napisano Kwiecień 28, 2019 Znalazłem jedno główne IP które dzisiaj wykonało prawie 2mln requestów na xml-rpc, po jego zablokowaniu Load Average skacze pomiędzy 0.9% a 2.5% więc potężna różnica Udostępnij ten post Link to postu Udostępnij na innych stronach
Rolej 58 Zgłoś post Napisano Kwiecień 29, 2019 Popracuj nad zabezpieczeniem tego. Jakieś regexpy w CSFie powinny załatwić sprawę. Udostępnij ten post Link to postu Udostępnij na innych stronach