Hi!
From time to time I have problems with the page loading speed, even though we use cloudflare optimization tools and the WP Rocket plugin. Everything seems to be reasonably optimized, but problems appear from time to time.
I focused on htaccess, made restrictions on XMLRPC file, blocked IP bot traffic, blocked hotlinking, but it didn’t really help much.
I contacted the hosting and received the following response:
Referring to the chat conversation, after analysis by administrators, we noticed that the server was saturating child processes. This is due to too many processes that queue up when the limit is reached, which slows down the operation of the websites. Below are the logs:
/var/log/php82-fpm.log:[23-Feb-2024 09:50:10] WARNING: [pool server146600] server reached max_children setting, consider raising it
/var/log/php82-fpm.log:[23-Feb-2024 10:04:51] WARNING: [pool server146600] server reached max_children setting, consider raising it
/var/log/php82-fpm.log:[23-Feb-2024 10:08:28] WARNING: [pool server146600] server reached max_children setting, consider raising it
/var/log/php82-fpm.log:[23-Feb-2024 10:14:43] WARNING: [pool server146600] server reached max_children setting, consider raising it
etc. etc.
!! We also see that many processes are generated by filtering products on the website. Below are sample logs: !!
66.249.70.133 server146600 23/Feb/2024:03:36:19 +0100 GET /index.php?filter_kolor=black-pl,breeze-pl,fuchsia-pl,gold-pl,ink-pl,orange-orange,sapphire -pl,scarlet-pl,silver-black,silver-butter,silver-peach,silver-pink,silver-pl,white-pl 200 /home/virtuals/rpfabrics.pl/index.php /rpfabrics-pl/brand/ rpfabrics/?filter_kolor=black-pl,breeze-pl,fuchsia-pl,gold-pl,ink-pl,orange-orange,sapphire-pl,scarlet-pl,silver-black,silver-butter,silver-peach,silver -pink,silver-pl,white-pl 348396.114 138036 19.00 82 https://rpfabrics.pl/rpfabrics-pl/brand/rpfabrics/?filter_kolor=black-pl,breeze-pl,fuchsia-pl,gold-pl,ink -pl,orange-orange,sapphire-pl,scarlet-pl,silver-black,silver-butter,silver-peach,silver-pink,silver-pl,white-pl NA US 2236864 3392191
83.99.151.70 server146600 23/Feb/2024:03:00:57 +0100 GET /index.php?lang=en&filter_kolor=chocolate-en,citrine-en,dark-emerald-en,white-en 200 /home/virtuals/ rpfabrics.pl/index.php /product-category/guipures/guipure-motivs/rose-guipure-pair/?lang=en&filter_kolor=chocolate-en,citrine-en,dark-emerald-en,white-en 324395.567 104448 16/11 82 https://rpfabrics.pl/product-category/guipures/guipure-motivs/rose-guipure-pair/?lang=en&filter_kolor=chocolate-en,citrine-en,dark-emerald-en,white-en EU LV 2503639 3392191
This is where my knowledge ends and I can’t even diagnose it, let alone eliminate the cause. Please help me eliminate the cause.
Thank you..