osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: trunk proxy_http failures


On Wed, Sep 19, 2018 at 4:10 PM Stefan Eissing
<stefan.eissing@xxxxxxxxxxxxx> wrote:
>
>     <Proxy "balancer://https-local">
>         BalancerMember "https://127.0.0.1:SUBST_PORT_HTTPS_SUBST"; hcmethod=GET hcuri=/

Does disablereuse=on help here?

>     </Proxy>
>     ...
>     ProxyPass "/proxy" "balancer://http-local"
>     ProxyPassReverse "/proxy" "balancer://http-local"
>
> Typical log:
...
> [Wed Sep 19 14:02:58.038790 2018] [proxy:debug] [pid 35806:tid 123145377832960] proxy_util.c(2630): [client 127.0.0.1:64231] AH00947: connected /files/data-1m to 127.0.0.1:12346
> [Wed Sep 19 14:03:03.041506 2018] [proxy_http:error] [pid 35806:tid 123145377832960] (70014)End of file found: [client 127.0.0.1:64231] AH01102: error reading status line from remote server 127.0.0.1:12346

I suspect mod_proxy is reusing a connection already close by 127.0.0.1:12346.
If you know the KeepAliveTimeout configured there, setting a ttl= to a
lower value on the BalancerMember could be less radical than
disablereuse...

HTH,
Yann.