Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ruby-on-rails/64.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails mod_passenger中出现意外错误:接收HTTP上载数据时出错_Ruby On Rails_Ruby On Rails 3.2 - Fatal编程技术网

Ruby on rails mod_passenger中出现意外错误:接收HTTP上载数据时出错

Ruby on rails mod_passenger中出现意外错误:接收HTTP上载数据时出错,ruby-on-rails,ruby-on-rails-3.2,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::shar

我犯了这样的错误

[ 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)
[pid=22895 thr=139814677706720 file=ext/apache2/Hooks.cpp:884 time=2013-04-18 21:10:56.113]:模块中出现意外错误乘客:接收HTTP上载数据时出错:找到文件结尾(70014)
回溯:
在“boost::shared_ptr Hooks::receiveRequestBody(request_rec*)”中(Hooks.cpp:1321)
在“int Hooks::handleRequest(request_rec*)”中(Hooks.cpp:585)
我找到了解决方案

如果您的服务器位于cantos中,则在httpd.conf中更改此行

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

打开该文件并更改此行

默认值为
KeepAlive为60
。现在更改此选项,并将60替换为100。

希望这对你方有效。

我找到了解决办法

如果您的服务器位于cantos中,则在httpd.conf中更改此行

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

打开该文件并更改此行

默认值为
KeepAlive为60
。现在更改此选项,并将60替换为100。


希望这能在你这边起作用。

也许有人遇到过你同样的问题:你能解决这个问题吗?也许有人遇到过你同样的问题:你能解决这个问题吗?