Nirjonadda

Well-Known Member
May 8, 2013
736
27
78
cPanel Access Level
Root Administrator
I am getting lot of down time issue from proxy_fcgi, Reason: Socket timeout, unable to connect to server. Please let me know that how to fixing this error?

Code:
[Tue Aug 22 05:26:01.498696 2017] [proxy_fcgi:error] [pid 11353:tid 140044227917568] (103)Software caused connection abort: [client 119.30.47.132:61641] AH01075: Error dispatching request to : (reading input brigade), referer:
[Tue Aug 22 05:24:25.636245 2017] [proxy_fcgi:error] [pid 11298:tid 140044068456192] (104)Connection reset by peer: [client 131.253.25.75:45585] AH01075: Error dispatching request to : (reading input brigade), referer:
[Tue Aug 22 05:24:25.637373 2017] [proxy_fcgi:error] [pid 11298:tid 140044068456192] (70008)Partial results are valid but processing is incomplete: [client 131.253.25.75:45585] AH01075: Error dispatching request to : (reading input brigade), referer:
[Tue Aug 22 05:04:10.686848 2017] [proxy_fcgi:error] [pid 8963:tid 140043884640000] (70007)The timeout specified has expired: [client 66.249.76.149:53201] AH01075: Error dispatching request to : (polling)
[Tue Aug 22 05:04:33.964934 2017] [proxy_fcgi:error] [pid 8950:tid 140044068456192] (70007)The timeout specified has expired: [client 207.46.13.81:3843] AH01075: Error dispatching request to : (polling)
Code:
[22-Aug-2017 05:54:27] WARNING: [pool mysite_com] server reached max_children setting (15), consider raising it
[22-Aug-2017 06:12:33] NOTICE: [pool mysite_com] child 15015 exited with code 0 after 118.449814 seconds from start
[22-Aug-2017 06:12:33] NOTICE: [pool mysite_com] child 15207 started
[22-Aug-2017 06:12:34] NOTICE: [pool mysite_com] child 15016 exited with code 0 after 116.412987 seconds from start
[22-Aug-2017 06:12:34] NOTICE: [pool mysite_com] child 15208 started
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,216
463
Hello,

Could you review this post and let us know if it's the issue you are facing?

Thank you.
 

Nirjonadda

Well-Known Member
May 8, 2013
736
27
78
cPanel Access Level
Root Administrator
I have set max_children value 5 to 150 but still are getting site down from Socket timeout, unable to connect to server. Please let me know this fix.

/usr/local/apache/logs/error_log

Code:
[Thu Aug 24 21:38:36.408773 2017] [proxy_fcgi:error] [pid 6975:tid 140010038195968] (70008)Partial results are valid but processing is incomplete: [client 185.107.44.41:18950] AH01075: Error dispatching request to : (reading input brigade), referer:
[Thu Aug 24 21:38:36.409037 2017] [proxy_fcgi:error] [pid 6531:tid 140009902409472] (70008)Partial results are valid but processing is incomplete: [client 185.107.44.41:18951] AH01075: Error dispatching request to : (reading input brigade), referer:
[Thu Aug 24 21:38:36.409336 2017] [proxy_fcgi:error] [pid 6975:tid 140010038195968] (70008)Partial results are valid but processing is incomplete: [client 185.107.44.41:18950] AH01075: Error dispatching request to : (reading input brigade), referer:
[Thu Aug 24 21:38:36.409570 2017] [proxy_fcgi:error] [pid 6531:tid 140009902409472] (70008)Partial results are valid but processing is incomplete: [client 185.107.44.41:18951] AH01075: Error dispatching request to : (reading input brigade), referer:
[Thu Aug 24 21:52:41.682506 2017] [proxy_fcgi:error] [pid 6531:tid 140010122123008] (103)Software caused connection abort: [client 103.26.113.130:48599] AH01075: Error dispatching request to : (reading input brigade), referer:
[Thu Aug 24 21:52:43.300058 2017] [proxy_fcgi:error] [pid 6531:tid 140010122123008] (103)Software caused connection abort: [client 103.26.113.130:48599] AH01075: Error dispatching request to : (reading input brigade), referer:

/opt/cpanel/ea-php71/root/usr/var/log/php-fpm/error.log

Code:
[24-Aug-2017 22:12:58] NOTICE: [pool mysite_com] child 10510 exited with code 0 after 127.545324 seconds from start
[24-Aug-2017 22:12:58] NOTICE: [pool mysite_com] child 10587 started
[24-Aug-2017 22:13:04] NOTICE: [pool mysite_com] child 10556 exited with code 0 after 73.259092 seconds from start
[24-Aug-2017 22:13:04] NOTICE: [pool mysite_com] child 10604 started
[24-Aug-2017 22:13:16] NOTICE: [pool mysite_com] child 10566 exited with code 0 after 69.325743 seconds from start
[24-Aug-2017 22:13:16] NOTICE: [pool mysite_com] child 10739 started
 

Nirjonadda

Well-Known Member
May 8, 2013
736
27
78
cPanel Access Level
Root Administrator
@cPanelMichael I have change the settings as follow, Does this Solve PHP-FPM server reached max_children issue? The server has 50GB of RAM.

Code:
pm.max_children = 5
pm.max_requests = 20
pm.max_spare_servers = 5
pm.min_spare_servers = 1
pm.start_servers = 0
TO

Code:
pm.max_children = 150
pm.max_requests = 500
pm.min_spare_servers = 20
pm.max_spare_servers = 35
pm.start_servers = 20
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,216
463
Hello,

Feel free to open a support ticket using the link in my signature if those update settings do not address the issue so we can take a closer look.

Thank you.
 

Nirjonadda

Well-Known Member
May 8, 2013
736
27
78
cPanel Access Level
Root Administrator
Hello,

Feel free to open a support ticket using the link in my signature if those update settings do not address the issue so we can take a closer look.

Thank you.
Still are not fixed this issue with this change. Today I get site down. Site get back to online after 3/4 min. Why site failed to load when server are online. Only one domain having this issue.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,216
463
Hello,

Were you able to open a support ticket so we can take a closer look?

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,216
463
Done, Support Request ID is: 8815529
To update, here's a quote of part of the response from our Support Team:

The best solution would be to work with the site's developers to reduce the website's need for PHP processing. This is usually done by increasing the amount of cache usage that the website uses. Options like memcache, static full page caching, and others are all designed to load as much of your site from "cached" generated content instead of asking PHP to process and generate a page for each request.
Thank you.