Nirjonadda

Well-Known Member
May 8, 2013
762
28
78
cPanel Access Level
Root Administrator
I am getting this error for some time: The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

I am using PHP Handler: lsapi with PHP-FPM and PHP 7.3

Error log:

Code:
[Mon May 27 21:04:41.252604 2019] [pagespeed:error] [pid 17780:tid 47350827620096] [mod_pagespeed 1.13.35.2-0 @17780] Failed to make directory /var/mod_pagespeed/cache/v3/mysite.com/https,3A/,2Fmysite.com/threads/kurtwag.10214: File exists
[Mon May 27 21:04:41.252705 2019] [pagespeed:error] [pid 17780:tid 47350827620096] [mod_pagespeed 1.13.35.2-0 @17780] Could not create directories for file /var/mod_pagespeed/cache/v3/mysite.com/https,3A/,2Fmysite.com/threads/kurtwag.10214/,.temp
[Mon May 27 21:04:47.820793 2019] [proxy_fcgi:error] [pid 3197:tid 47350775088896] [client 62.18.131.213:49638] AH01067: Failed to read FastCGI header
[Mon May 27 21:04:47.820874 2019] [proxy_fcgi:error] [pid 3197:tid 47350775088896] (104)Connection reset by peer: [client 62.18.131.213:49638] AH01075: Error dispatching request to :
[Mon May 27 21:05:08.443733 2019] [proxy_fcgi:error] [pid 3197:tid 47350789797632] [client 62.18.131.213:49638] AH01067: Failed to read FastCGI header
[Mon May 27 21:05:09.501429 2019] [proxy_fcgi:error] [pid 3197:tid 47350785595136] [client 62.18.131.213:49638] AH01067: Failed to read FastCGI header
[Mon May 27 21:05:21.131130 2019] [proxy_fcgi:error] [pid 3197:tid 47350789797632] [client 62.18.131.213:49638] AH01067: Failed to read FastCGI header
[Mon May 27 21:05:21.131192 2019] [proxy_fcgi:error] [pid 3197:tid 47350789797632] (104)Connection reset by peer: [client 62.18.131.213:49638] AH01075: Error dispatching request to :
[Mon May 27 21:07:15.650394 2019] [proxy_fcgi:error] [pid 3197:tid 47350779291392] [client 62.18.131.213:49638] AH01067: Failed to read FastCGI header
[Mon May 27 21:07:15.650524 2019] [proxy_fcgi:error] [pid 3197:tid 47350779291392] (104)Connection reset by peer: [client 62.18.131.213:49638] AH01075: Error dispatching request to :
[Mon May 27 21:10:30.566516 2019] [proxy_fcgi:error] [pid 3197:tid 47350747772672] [client 47.11.131.100:37925] AH01067: Failed to read FastCGI header, referer: https://mysite.com/whats-new/
[Mon May 27 21:14:04.509630 2019] [pagespeed:error] [pid 3197:tid 47352754734848] [mod_pagespeed 1.13.35.2-0 @3197] PageSpeed Serf fetch failure rate extremely high; only 0 of 739 recent fetches fully successful; is fetching working?
[Mon May 27 21:20:51.344511 2019] [proxy_fcgi:error] [pid 8931:tid 47350756177664] [client 62.18.131.213:49906] AH01067: Failed to read FastCGI header, referer: https://mysite.com/
[Mon May 27 21:20:51.344703 2019] [proxy_fcgi:error] [pid 8931:tid 47350756177664] (104)Connection reset by peer: [client 62.18.131.213:49906] AH01075: Error dispatching request to : , referer: https://mysite.com/
[Mon May 27 21:21:04.731932 2019] [proxy_fcgi:error] [pid 8931:tid 47350756177664] [client 62.18.131.213:49906] AH01067: Failed to read FastCGI header, referer: https://mysite.com/
[Mon May 27 21:21:04.732033 2019] [proxy_fcgi:error] [pid 8931:tid 47350756177664] (104)Connection reset by peer: [client 62.18.131.213:49906] AH01075: Error dispatching request to : , referer: https://mysite.com/
[Mon May 27 21:21:08.299205 2019] [proxy_fcgi:error] [pid 8931:tid 47350756177664] [client 62.18.131.213:49906] AH01067: Failed to read FastCGI header, referer: https://mysite.com/
[Mon May 27 21:21:08.299293 2019] [proxy_fcgi:error] [pid 8931:tid 47350756177664] (104)Connection reset by peer: [client 62.18.131.213:49906] AH01075: Error dispatching request to : , referer: https://mysite.com/
 

Nirjonadda

Well-Known Member
May 8, 2013
762
28
78
cPanel Access Level
Root Administrator
Hello @Nirjonadda

Is anything noted in the php-fpm error log? You can find it at /opt/cpanel/ea-php$$/root/usr/var/log/php-fpm/error.log
ScreenShot01112.png

Code:
[30-May-2019 21:06:03] WARNING: [pool mysite_com] server reached max_children setting (5), consider raising it
[30-May-2019 21:06:15] NOTICE: [pool mysite_com] child 16942 exited with code 0 after 60.158827 seconds from start
[30-May-2019 21:06:15] NOTICE: [pool mysite_com] child 17078 started
[30-May-2019 21:06:39] NOTICE: [pool mysite_com] child 16973 exited with code 0 after 69.369742 seconds from start
[30-May-2019 21:06:39] NOTICE: [pool mysite_com] child 17124 started
[30-May-2019 21:06:49] NOTICE: [pool mysite_com] child 17022 exited with code 0 after 60.237301 seconds from start
[30-May-2019 21:06:49] NOTICE: [pool mysite_com] child 17142 started
[30-May-2019 21:07:12] NOTICE: [pool mysite_com] child 17045 exited with code 0 after 69.479595 seconds from start
[30-May-2019 21:07:12] NOTICE: [pool mysite_com] child 17195 started
[30-May-2019 21:07:23] NOTICE: [pool mysite_com] child 17078 exited with code 0 after 68.529337 seconds from start
[30-May-2019 21:07:23] NOTICE: [pool mysite_com] child 17230 started
[30-May-2019 21:07:41] NOTICE: [pool mysite_com] child 17124 exited with code 0 after 61.168188 seconds from start
[30-May-2019 21:07:41] NOTICE: [pool mysite_com] child 17276 started
[30-May-2019 21:07:54] NOTICE: [pool mysite_com] child 17142 exited with code 0 after 64.801303 seconds from start
[30-May-2019 21:07:54] NOTICE: [pool mysite_com] child 17293 started
[30-May-2019 21:08:13] NOTICE: [pool mysite_com] child 17195 exited with code 0 after 61.599246 seconds from start
[30-May-2019 21:08:13] NOTICE: [pool mysite_com] child 17359 started
[30-May-2019 21:08:28] NOTICE: [pool mysite_com] child 17230 exited with code 0 after 64.656850 seconds from start
[30-May-2019 21:08:28] NOTICE: [pool mysite_com] child 17400 started
[30-May-2019 21:08:43] NOTICE: [pool mysite_com] child 16515 exited with code 0 after 388.289923 seconds from start
[30-May-2019 21:08:43] NOTICE: [pool mysite_com] child 17426 started
[30-May-2019 21:09:11] NOTICE: [pool mysite_com] child 17276 exited with code 0 after 90.376071 seconds from start
[30-May-2019 21:09:11] NOTICE: [pool mysite_com] child 17606 started
[30-May-2019 21:09:36] NOTICE: [pool mysite_com] child 17293 exited with code 0 after 102.565126 seconds from start
[30-May-2019 21:09:36] NOTICE: [pool mysite_com] child 17674 started
[30-May-2019 21:10:12] NOTICE: [pool mysite_com] child 17359 exited with code 0 after 119.005490 seconds from start
[30-May-2019 21:10:12] NOTICE: [pool mysite_com] child 17773 started
[30-May-2019 21:10:23] NOTICE: [pool mysite_com] child 17400 exited with code 0 after 115.488117 seconds from start
[30-May-2019 21:10:23] NOTICE: [pool mysite_com] child 17813 started
[30-May-2019 21:10:33] NOTICE: [pool mysite_com] child 17426 exited with code 0 after 109.909783 seconds from start
[30-May-2019 21:10:33] NOTICE: [pool mysite_com] child 17844 started
[30-May-2019 21:10:54] NOTICE: [pool mysite_com] child 17606 exited with code 0 after 102.546041 seconds from start
[30-May-2019 21:10:54] NOTICE: [pool mysite_com] child 17891 started
[30-May-2019 21:10:54] NOTICE: [pool mysite_com] child 17674 exited with code 0 after 78.101094 seconds from start
[30-May-2019 21:10:54] NOTICE: [pool mysite_com] child 17895 started
[30-May-2019 21:10:58] WARNING: [pool mysite_com] child 17773 exited on signal 11 (SIGSEGV) after 45.767096 seconds from start
[30-May-2019 21:10:58] NOTICE: [pool mysite_com] child 17896 started
[30-May-2019 21:11:21] NOTICE: [pool mysite_com] child 17813 exited with code 0 after 57.908628 seconds from start
[30-May-2019 21:11:21] NOTICE: [pool mysite_com] child 17934 started
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,309
363
Houston
It looks like you're occasionally reaching the max_children setting per the 5 minutes of the log file you sent:

Code:
[30-May-2019 21:06:03] WARNING: [pool mysite_com] server reached max_children setting (5), consider raising it
 

Nirjonadda

Well-Known Member
May 8, 2013
762
28
78
cPanel Access Level
Root Administrator
max_children set to 1000 but issue are same.

ScreenShot01113.png

Code:
[Fri May 31 00:07:37.851187 2019] [proxy_fcgi:error] [pid 6313:tid 47408341886720] [client 217.64.113.214:11231] AH01067: Failed to read FastCGI header, referer: https://mysite.com/
[Fri May 31 00:07:37.851277 2019] [proxy_fcgi:error] [pid 6313:tid 47408341886720] (104)Connection reset by peer: [client 217.64.113.214:11231] AH01075: Error dispatching request to : , referer: https://mysite.com/
[Fri May 31 00:07:43.140421 2019] [proxy_fcgi:error] [pid 6313:tid 47408360797952] [client 217.64.113.214:11231] AH01067: Failed to read FastCGI header, referer: https://mysite.com/
[Fri May 31 00:07:43.140566 2019] [proxy_fcgi:error] [pid 6313:tid 47408360797952] (104)Connection reset by peer: [client 217.64.113.214:11231] AH01075: Error dispatching request to : , referer: https://mysite.com/
[Fri May 31 00:07:46.475747 2019] [proxy_fcgi:error] [pid 6313:tid 47408341886720] [client 217.64.113.214:11231] AH01067: Failed to read FastCGI header, referer: https://mysite.com/
[Fri May 31 00:07:46.475839 2019] [proxy_fcgi:error] [pid 6313:tid 47408341886720] (104)Connection reset by peer: [client 217.64.113.214:11231] AH01075: Error dispatching request to : , referer: https://mysite.com/
[Fri May 31 00:07:50.615391 2019] [proxy_fcgi:error] [pid 6313:tid 47408341886720] [client 217.64.113.214:11231] AH01067: Failed to read FastCGI header, referer: https://mysite.com/
[Fri May 31 00:07:50.615437 2019] [proxy_fcgi:error] [pid 6313:tid 47408341886720] (104)Connection reset by peer: [client 217.64.113.214:11231] AH01075: Error dispatching request to : , referer: https://mysite.com/
Code:
[31-May-2019 00:07:50] NOTICE: [pool mysite_com] child 17782 started
[31-May-2019 00:07:56] NOTICE: [pool mysite_com] child 16646 exited with code 0 after 827.624480 seconds from start
[31-May-2019 00:07:56] NOTICE: [pool mysite_com] child 17790 started
[31-May-2019 00:10:23] NOTICE: [pool mysite_com] child 16822 exited with code 0 after 759.781247 seconds from start
[31-May-2019 00:10:23] NOTICE: [pool mysite_com] child 18076 started
[31-May-2019 00:10:46] NOTICE: [pool mysite_com] child 16847 exited with code 0 after 744.894585 seconds from start
[31-May-2019 00:10:46] NOTICE: [pool mysite_com] child 18093 started
[31-May-2019 00:11:08] WARNING: [pool mysite_com] child 17610 exited on signal 11 (SIGSEGV) after 294.184757 seconds from start
[31-May-2019 00:11:08] NOTICE: [pool mysite_com] child 18115 started
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,309
363
Houston
Hi @Nirjonadda

When this occurs what's the memory usage like on the server? You can view current memory usage with:

Code:
free -m
or historical memory usage for the last 12 hours with:

Code:
sar -r