・Apache/2.4.18 (CentOS)
・PHP 5.6.18 (cli) (built: Feb 25 2016 02:12:24)
・CentOS release 6.5 (Final)
にてWEBサイトを開発しています。
PHPプログラムにて、特定のページから戻る際、画像データが大量にあった場合に下記のエラーが発生してしまいます(/var/log/httpd/error_log)。
エラーメッセージ「[proxy_fcgi:error] [pid 8850:tid 14012548987648] (104)Connection reset by peer」
外部の画像ファイルがあるサーバに、APIを利用して画像を表示し、その後、画面を
戻す動きをしています。
/var/log/php/のerrorlogには記載されません。
/var/log/httpd/のerrorlogに記載されています。
=====httpd.confの内容==========================
ServerRoot "/etc/httpd"
Listen 80
LoadModule foo_module modules/mod_foo.so
Include conf.modules.d/*.conf
User apache
Group apache
ServerAdmin root@localhost
ServerName test.ABC.co.jp:80
DocumentRoot "/usr/local/apache2/htdocs"
<Directory "/usr/local/apache2/htdocs/">
AllowOverride None
Require all granted
</Directory>
<Directory "/usr/local/apache2/htdocs">
Options Includes ExecCGI FollowSymLinks
AllowOverride All
Require all granted
</Directory>
<Files ".ht*">
ForceType text/html
SetOutputFilter INCLUDES
</Files>
ErrorLog "logs/error_log"
LogLevel warn
</IfModule> <IfModule alias_module> <If "-n %{PATH_INFO}"> # 存在しないディレクトリがURLに含まれていれば、404 Not Found を返す Redirect 404 / </If> ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" </IfModule><IfModule logio_module> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio </IfModule> CustomLog "logs/access_log" combined
<Directory "/var/www/cgi-bin">
AllowOverride None
Options None
Require all granted
</Directory>
</IfModule> AddDefaultCharset off <IfModule mime_magic_module> MIMEMagicFile conf/magic </IfModule>AddType application/x-compress .Z AddType application/x-gzip .gz .tgz AddType application/x-httpd-php .php .inc AddHandler cgi-script .cgi .pl AddType text/html .shtml AddOutputFilter INCLUDES .shtml
EnableSendfile on
IncludeOptional conf.d/*.conf
Include conf/extra/httpd-default.conf
<IfModule prefork.c> StartServers 256 MinSpareServers 256 MaxSpareServers 256 ServerLimit 512 MaxRequestWorkers 512 MaxConnectionsPerChild 500 </IfModule> <IfModule worker.c> ServerLimit 60 StartServers 2 MaxRequestWorkers 1500 MinSpareThreads 25 MaxSpareThreads 75 ThreadsPerChild 25 MaxConnectionsPerChild 2000 </IfModule> Include conf/extra/php-fpm.conf ========================httpd.conf内容============================= どこを修正すればいいでしょうか? 宜しくお願いします。