Skip to main content

Errors with PHP-FPM

Comments

8 comments

  • filip212
    Next errors on PHP5.6: Apache Error Log: [Fri Sep 08 01:07:12.737411 2017] [proxy_fcgi:error] [pid 15405] [client XX.XXX.XX.XX:33444] AH01067: Failed to read FastCGI header [Fri Sep 08 01:07:12.737485 2017] [proxy_fcgi:error] [pid 15405] (104)Connection reset by peer: [client XX.XXX.XX.XX:33444] AH01075: Error dispatching request to : [Fri Sep 08 01:09:36.185585 2017] [mpm_prefork:notice] [pid 7594] AH00171: Graceful restart requested, doing restart [Fri Sep 08 01:09:36.574260 2017] [mpm_prefork:notice] [pid 7594] AH00163: Apache/2.4.27 (cPanel) OpenSSL/1.0.2k mod_bwlimited/1.4 configured -- resuming normal operations [Fri Sep 08 01:09:36.574287 2017] [core:notice] [pid 7594] AH00094: Command line: '/usr/sbin/httpd' PHP-FPM Error Log: [08-Sep-2017 01:07:12] WARNING: [pool XX_XXX] child 21906 said into stderr: "zend_mm_heap corrupted" [08-Sep-2017 01:07:12] WARNING: [pool XX_XXX] child 21906 exited with code 1 after 1.077741 seconds from start [08-Sep-2017 01:07:12] NOTICE: [pool XX_XXX] child 21915 started
    0
  • cPanelMichael
    Hello, Could you open a support ticket using the link in my signature so we can take a closer look? Thank you.
    0
  • Gojko
    So what is the solution, i google it: AH01067: Failed to read FastCGI header site:forums.cpanel.net and all what i get is support ticket last replay but no solution for this. So what is solution php-fpm a read that opcache possible problem but i didn't get any solution to fix this?
    0
  • cPanelMichael
    Hello @Gojko, Could you let us know the full output that you see in /usr/local/apache/logs/error_log when this happens? Thank you.
    0
  • Gojko
    tail -100 /var/log/apache2/error_log | grep website
    [Mon May 07 20:54:30.388022 2018] [proxy_fcgi:error] [pid 18798:tid 140286181242624] (104)Connection reset by peer: [client 212.200.65.247:16221] AH01075: Error dispatching request to :, referer: http://website/wp-admin/post.php?post=1255&action=edit [Mon May 07 20:54:38.303769 2018] [proxy_fcgi:error] [pid 18798:tid 140286055352064] [client 212.200.65.247:17385] AH01067: Failed to read FastCGI header, referer: http://website/wp-admin/post.php?post=1255&action=edit [Mon May 07 20:54:38.303790 2018] [proxy_fcgi:error] [pid 18798:tid 140286055352064] (104)Connection reset by peer: [client 212.200.65.247:17385] AH01075: Error dispatching request to :, referer: http://website/wp-admin/post.php?post=1255&action=edit [Mon May 07 20:55:09.444669 2018] [proxy_fcgi:error] [pid 18799:tid 140286063744768] [client 212.200.65.247:19067] AH01067: Failed to read FastCGI header, referer: http://website/wp-admin/post-new.php?post_type=product [Mon May 07 20:55:09.444690 2018] [proxy_fcgi:error] [pid 18799:tid 140286063744768] (104)Connection reset by peer: [client 212.200.65.247:19067] AH01075: Error dispatching request to :, referer: http://website/wp-admin/post-new.php?post_type=product [Mon May 07 20:55:35.481140 2018] [proxy_fcgi:error] [pid 18799:tid 140286055352064] [client 212.200.65.247:15558] AH01067: Failed to read FastCGI header, referer: http://website/wp-admin/post-new.php?post_type=product [Mon May 07 20:55:35.481161 2018] [proxy_fcgi:error] [pid 18799:tid 140286055352064] (104)Connection reset by peer: [client 212.200.65.247:15558] AH01075: Error dispatching request to :, referer: http://website/wp-admin/post-new.php?post_type=product [Mon May 07 20:56:23.581014 2018] [proxy_fcgi:error] [pid 18798:tid 140286021781248] [client 212.200.65.247:18344] AH01067: Failed to read FastCGI header, referer: http://website/wp-admin/post-new.php?post_type=product [Mon May 07 20:56:23.581041 2018] [proxy_fcgi:error] [pid 18798:tid 140286021781248] (104)Connection reset by peer: [client 212.200.65.247:18344] AH01075: Error dispatching request to :, referer: http://website/wp-admin/post-new.php?post_type=product [Mon May 07 20:57:18.761450 2018] [proxy_fcgi:error] [pid 18799:tid 140286021781248] [client 212.200.65.247:16631] AH01067: Failed to read FastCGI header, referer: http://website/wp-admin/post-new.php?post_type=product [Mon May 07 20:57:18.761476 2018] [proxy_fcgi:error] [pid 18799:tid 140286021781248] (104)Connection reset by peer: [client 212.200.65.247:16631] AH01075: Error dispatching request to :, referer: http://website/wp-admin/post-new.php?post_type=product [Mon May 07 20:58:25.519612 2018] [proxy_fcgi:error] [pid 19061:tid 140286260311808] [client 212.200.65.247:15716] AH01067: Failed to read FastCGI header, referer: http://website/wp-admin/edit-tags.php?taxonomy=product_cat&post_type=product [Mon May 07 20:58:25.519634 2018] [proxy_fcgi:error] [pid 19061:tid 140286260311808] (104)Connection reset by peer: [client 212.200.65.247:15716] AH01075: Error dispatching request to :, referer: http://website/wp-admin/edit-tags.php?taxonomy=product_cat&post_type=product [Mon May 07 21:00:03.723125 2018] [proxy_fcgi:error] [pid 18800:tid 140286114100992] [client 212.200.65.247:16790] AH01067: Failed to read FastCGI header, referer: http://website/wp-admin/edit-tags.php?taxonomy=product_cat&post_type=product [Mon May 07 21:00:03.723148 2018] [proxy_fcgi:error] [pid 18800:tid 140286114100992] (104)Connection reset by peer: [client 212.200.65.247:16790] AH01075: Error dispatching request to :, referer: http://website/wp-admin/edit-tags.php?taxonomy=product_cat&post_type=product [Mon May 07 21:00:31.465630 2018] [proxy_fcgi:error] [pid 18798:tid 140286293882624] [client 212.200.65.247:18448] AH01067: Failed to read FastCGI header, referer: http://website/wp-admin/edit-tags.php?taxonomy=product_cat&post_type=product [Mon May 07 21:00:31.465654 2018] [proxy_fcgi:error] [pid 18798:tid 140286293882624] (104)Connection reset by peer: [client 212.200.65.247:18448] AH01075: Error dispatching request to :, referer: http://website/wp-admin/edit-tags.php?taxonomy=product_cat&post_type=product [Mon May 07 21:01:24.512209 2018] [proxy_fcgi:error] [pid 18798:tid 140286172849920] [client 212.200.65.247:16727] AH01067: Failed to read FastCGI header, referer: http://website/wp-admin/post-new.php?post_type=product [Mon May 07 21:01:24.512231 2018] [proxy_fcgi:error] [pid 18798:tid 140286172849920] (104)Connection reset by peer: [client 212.200.65.247:16727] AH01075: Error dispatching request to :, referer: http://website/wp-admin/post-new.php?post_type=product
    0
  • cPanelMichael
    H01067: Failed to read FastCGI header (104)Connection reset by peer AH01075: Error dispatching request to

    Hello @Gojko, I recommend searching the PHP-FPM error logs (/opt/cpanel/ea-php$$/root/usr/var/log/php-fpm/error.log) for any domain name's reaching the max_children limit. You'd replace ea-php$$ with each specific version of PHP (e.g. ea-php70) that PHP-FPM is utilized with on your system. The offending entries will look like this:
    ERROR: unable to read what child say: Bad file descriptor (9) NOTICE: [pool domain_tld] child 1234 exited with code 0 after 25.12345 seconds from start
    If you find specific domain names are reaching the limit, you can increase the max_children value for them using the "Pool Options" feature in "WHM >> MultiPHP Manager". Thank you.
    0
  • Gojko
    Thank you for the replay. I found something:
    [09-May-2018 19:32:56] WARNING: [pool domain] child 7398 said into stderr: "zend_mm_heap corrupted" [09-May-2018 19:32:56] WARNING: [pool domain] child 7398 exited with code 1 after 0.378050 seconds from start [09-May-2018 21:11:25] WARNING: [pool domain] child 734 exited on signal 11 (SIGSEGV) after 0.123760 seconds from start
    is that? what is with "zend_mm_heap corrupted" or "exited on signal 11 (SIGSEGV)"? if i increase max_children it will fix this?
    0
  • cPanelMichael
    what is with "zend_mm_heap corrupted" or "exited on signal 11 (SIGSEGV)"?

    Hello @Gojko, Do you happen to have OPCache enabled as a PHP extension? If so, please let us know the output from the following command:
    grep opcache.fast_shutdown /opt/cpanel/ea-php*/root/etc/php.d/*opcache.ini
    I've seen reports where disabling the fast_shutdown option in the opcache.ini file and then restarting Apache solves this error message. Thank you.
    0

Please sign in to leave a comment.