軽いファイルの場合は問題ないのですが
重いファイルをアップすると下記のエラーが表示されます。
原因と対策を教えてください。
宜しくお願いします。
ERROR
The requested URL could not be retrieved
--------------------------------------------------------------------------------
While trying to retrieve the URL: http://www.xxxxx.xxx/xxx.php
The following error was encountered:
Write Error
The system returned:
(104) Connection reset by peerAn error condition occurred while writing to the network. Please retry your request.
Your cache administrator is root.
--------------------------------------------------------------------------------
Generated Tue, 12 xxx 2009 00:00:00 GMT by localhost.localdomain (squid/2.5.STABLE3)
そのままですが、ファイルが重いためタイムアウトが発生しています。
原因は、サーバのスペック不足(CPU・メモリ・回線)が主な原因です。
安価なレンタルサーバでは難しいですがphp.iniやhttpd.confのKeepAliveなどを変更することで回避できる場合もあります。
変更できるのであれば、memory_limitとKeepAliveを増やしてみてください。
ありがとうございます。
先程サーバの管理者に対応して頂き直りました。
LimitRequestBody ディレクティブの設定を変更したとのことでした。
ありがとうございました。