mod_passenger中出现意外错误:接收HTTP上载数据时发生错误

时间:2013-04-18 13:20:07

标签: ruby-on-rails ruby-on-rails-3.2

我收到错误

[ pid=22895 thr=139814677706720 file=ext/apache2/Hooks.cpp:884 time=2013-04-18 21:10:56.113 ]: Unexpected error in mod_passenger: An error occurred while receiving HTTP upload data: End of file found (70014)
  Backtrace:
     in 'boost::shared_ptr<Passenger::BufferedUpload> Hooks::receiveRequestBody(request_rec*)' (Hooks.cpp:1321)
     in 'int Hooks::handleRequest(request_rec*)' (Hooks.cpp:585)

1 个答案:

答案 0 :(得分:1)

我得到了解决方案。

如果您的服务器在cantos中然后在 httpd.conf

中更改此行

您的httpd.conf文件位于 etc / conf / httpd.conf

打开该文件并更改此行

默认为KeepAlive is 60。现在改变这个和replace 60 to 100.

希望这对你有用。