httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Galić <i.ga...@brainsware.org>
Subject Re: [users@httpd] pass request body failed
Date Wed, 01 Dec 2010 12:22:07 GMT

----- "Elmar Sternath (NSN - DE/Munich)" <elmar.sternath@nsn.com> wrote:

> Hi,
> 
> We use Apache 2.2.16 as a reverse proxy on both UNIX and Windows
> environment (by use of mod_proxy). In both environments, we have
> trouble when uploading big files (size 10 MB, upload time from client
> to proxy approx. 40 sec.) to the proxied backend application in

40 Seconds seems strange. Have you already changed any time-outs?

> Internet. We already figured out that the problem only occurs when t
> he upload time from client to proxy is long enough (i.e. if we upload
> the same file from Intranet, it takes only 10 sec. and then it works
> properly) and when the file is big enough (for 1 MB files it works
> properly). Furthermore, if we bypass the proxy an d upload the same
> file directly to the backend application, it works properly also.
> 
> The Apache error log tells us the following:
> 
> APR does not understand this error code: proxy: pass request body
> failed to 127.0.0.1:50000 (localhost)

https://issues.apache.org/bugzilla/buglist.cgi?quicksearch=proxy%3A+pass+request+body+failed
Joy...
 
> This message is clear ly understandable, my question now is, how can
> we analyze what ’ s going wrong here?? Obviously, we ’ re facing some
> kind of miscommunication between the proxy and the backend
> application. Are there any timing/sizing parameters we can change?

mod_proxy's ProxyPass has a MYRIAD of options:
http://httpd.apache.org/docs/current/mod/mod_proxy.html#proxypass

I've been told on a number of occasions that the defaults aren't
necessarily suited best for everybody's needs.

Tweak them, making one change at a time, observe the change,
document your success and failures here.

> Thanks in advance for your good ideas!
> 
> Elmar

o/~
i

-- 
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.galic@brainsware.org
URL: http://brainsware.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message