Failed to prepare the stderr pipe error
Some day ago we get site down but WHM/Server are online and site back to online after 45 minute. Today I get my site down for 16m but WHM loading working. Please let me know this issue.
/opt/cpanel/ea-php72/root/usr/var/log/php-fpm/error.log
/var/log/apache2/error_log
[12-Dec-2017 02:06:05] ERROR: failed to prepare the stderr pipe: Too many open files (24)/var/log/apache2/error_log
[Tue Dec 12 02:14:55.261958 2017] [proxy_fcgi:error] [pid 12779:tid 140574623467264] (70007)The timeout specified has expired: [client 162.158.165.80:32443] AH01075: Error dispatching request to : (polling), referer:
[Tue Dec 12 02:04:22.752973 2017] [access_compat:error] [pid 12780:tid 140574715787008] [client 37.1.205.15:60856] AH01797: client denied by server configuration: /home/nadda/public_html/forums
[Tue Dec 12 02:04:18.695083 2017] [proxy_fcgi:error] [pid 11036:tid 140044035610368] (9)Bad file descriptor: [client 172.69.62.8:31273] AH01075: Error dispatching request to : (reading input brigade), referer:
[Tue Dec 12 02:04:20.332204 2017] [ssl:warn] [pid 12772:tid 140575455950976] AH01909: proxy-subdomains-ssl-default-vhost.localhost:443:0 server certificate does NOT include an ID which matches the server name
[Tue Dec 12 02:04:20.334699 2017] [:notice] [pid 12772:tid 140575455950976] ModSecurity for Apache/2.9.2 (http://www.modsecurity.org/) configured.
[Tue Dec 12 02:04:20.334722 2017] [:notice] [pid 12772:tid 140575455950976] ModSecurity: APR compiled version="1.5.2"; loaded version="1.5.2"
[Tue Dec 12 02:04:20.334729 2017] [:notice] [pid 12772:tid 140575455950976] ModSecurity: PCRE compiled version="8.32 "; loaded version="8.32 2012-11-30"
[Tue Dec 12 02:04:20.334732 2017] [:notice] [pid 12772:tid 140575455950976] ModSecurity: LUA compiled version="Lua 5.1"
[Tue Dec 12 02:04:20.334735 2017] [:notice] [pid 12772:tid 140575455950976] ModSecurity: LIBXML compiled version="2.9.1"
[Tue Dec 12 02:04:20.334738 2017] [:notice] [pid 12772:tid 140575455950976] ModSecurity: Status engine is currently disabled, enable it by set SecStatusEngine to On.
[Tue Dec 12 02:04:20.335435 2017] [suexec:notice] [pid 12772:tid 140575455950976] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Dec 12 02:04:20.383093 2017] [ssl:warn] [pid 12773:tid 140575455950976] AH01909: proxy-subdomains-ssl-default-vhost.localhost:443:0 server certificate does NOT include an ID which matches the server name
[Tue Dec 12 02:04:20.389935 2017] [http2:info] [pid 12773:tid 140575455950976] AH03090: mod_http2 (v1.10.12, feats=CHPRIO+SHA256+INVHD+DWINS, nghttp2 1.20.0), initializing...
[Tue Dec 12 02:04:20.434537 2017] [mpm_worker:notice] [pid 12773:tid 140575455950976] AH00292: Apache/2.4.29 (cPanel) OpenSSL/1.0.2m mod_bwlimited/1.4 configured -- resuming normal operations
[Tue Dec 12 02:04:20.434600 2017] [core:notice] [pid 12773:tid 140575455950976] AH00094: Command line: '/usr/sbin/httpd'-
Hello, Could you review this post and let us know if it's the issue you are facing? Thank you. 0 -
Hello, Could you review this post and let us know if it's the issue you are facing? Thank you.
Does not think because max_children already set to 150. Also error log is "Too many open files (24)"0 -
ERROR: failed to prepare the stderr pipe: Too many open files (24)
Hello, It's possible this relates to internal case EA-6628, where the open files limit for Apache PHP-FPM is too low on CentOS 7 servers with a high number of domains. You can use following commands as a workaround to remove the open files limit for Apache PHP-FPM:for drop in /etc/systemd/system/ea-php{54,55,56,70,71,72}-php-fpm.service.d; do mkdir -p $drop; printf '[Service]\nLimitNOFILE=infinity\n' > $drop/open_file_limit.conf; done systemctl daemon-reload /scripts/restartsrv_apache_php_fpm
Let us know if this helps. Thank you.0
Please sign in to leave a comment.
Comments
3 comments