sahafy

Member
Mar 14, 2022
8
1
3
Cairo
cPanel Access Level
Root Administrator
Hi,
I have a dedicated server from Hetzner
  • Intel Xeon E5-1650V3
  • 2x HDD SATA 4,0 TB Enterprise
  • 8x RAM 32768 MB DDR4 ECC (256GB Ram)
  • NIC 1 Gbit - Intel I210
I don't have high experience with Linux, but I am able to install cpanel/whm
I installed cPanel, and made usual common settings,
but the website loading is very slow
it may takes 15 seconds until it first load in browser
n.b. website uses cloudflare dns

from log [/opt/cpanel/ea-php74/root/usr/var/log/php-fpm/error.log] I see like this:
[14-Mar-2022 09:02:58] NOTICE: [pool domain_tld] child 16515 exited with code 0 after 103.585790 seconds from start

when I restart apache php fpm
/usr/local/cpanel/scripts/restartsrv_apache_php_fpm;

it loads normally in light speed

what could be the issue, and how to fix.

great thanks :)
 

sahafy

Member
Mar 14, 2022
8
1
3
Cairo
cPanel Access Level
Root Administrator
Hey there! Just to confirm, after an Apache PHP-FPM restart, the sites load quickly for a while and then start slowing down again - is that right?
yes, it loads for an hour quickly, then starts slowing down in loading again.
I made a cron to restart PHP-FPM every hour until I find a solution.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
10,360
1,631
363
cPanel Access Level
Root Administrator
Thanks for that information. If that is the case, it sounds like the PHP-FPM system may need some fine tuning. Can you look through this article to see if this information helps?

 

bilal3310

Member
Dec 17, 2021
14
5
3
Pakistan
cPanel Access Level
Root Administrator
I Think This Apache Limit Issue Please Try Below Apache Configuration
Login to WHM> Apache Configuration> Global Configuration
Find Server Limit & Set 2048
Find Max Request Workers & Set 2048
After That Restart Apache I Hope It Will Work For You !
Otherwise You Can Use LiteSpeed To Get Rid Of This Problem.