【问题标题】:Unexpected error in mod_passenger: An error occurred while receiving HTTP upload datamod_passenger 出现意外错误:接收 HTTP 上传数据时出错
【发布时间】:2013-04-18 13:20:06
【问题描述】:

我收到类似的错误

[ 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)

【问题讨论】:

  • 也许有人遇到过你同样的问题:你可以give a look here
  • 你解决了吗?

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


【解决方案1】:

我得到了解决方案。

如果您的服务器在 cantos 中,则在您的 httpd.conf

中更改此行

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

打开该文件并更改这一行

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

希望这对你有用。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-05-28
    • 1970-01-01
    • 2013-06-16
    • 2013-07-06
    • 1970-01-01
    相关资源
    最近更新 更多