Unexpected error in mod_passenger: An error occurr

2019-08-03 02:55发布

问题:

I am getting error like

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

I got solution.

If your server in cantos then change this line in your httpd.conf

your httpd.conf file is in etc/conf/httpd.conf

Open that file and change this line

default is KeepAlive is 60. now change this and replace 60 to 100.

Hope this will work in your side.