Discussion:
Redirection enabled and TIME_WAIT
Dunkin, Nick
2017-05-17 20:38:58 UTC
Permalink
Hi

We are using the proxy.config.http.redirection_enabled feature in ATS 7.0.

We are finding that when ATS receives the 307 Redirect from Origin, it closes that connection and creates a new one to retrieve the redirected content. The result is that, when under load, we end up with a large amount of sockets in TIME_WAIT.

I can’t find any other configuration options that might alleviate this situation.

Does anyone have any insight or advice to offer?

Many thanks,

Nick Dunkin
Sudheer Vinukonda
2017-05-17 20:56:34 UTC
Permalink
Do you use persistent connections to the Origin? If so, the connection should not be closed by ATS (unless the Origin returned 307 with a Connection : Close header).

Thanks,

Sudheer
Post by Dunkin, Nick
Hi
We are using the proxy.config.http.redirection_enabled feature in ATS 7.0.
We are finding that when ATS receives the 307 Redirect from Origin, it closes that connection and creates a new one to retrieve the redirected content. The result is that, when under load, we end up with a large amount of sockets in TIME_WAIT.
I can’t find any other configuration options that might alleviate this situation.
Does anyone have any insight or advice to offer?
Many thanks,
Nick Dunkin
Dunkin, Nick
2017-05-17 21:20:54 UTC
Permalink
Hi Sudheer

Thanks for the reply.

Yes, and there is no Connection: close either. All other Origin request behavior is normal. We only see this when the Origin issues a redirect.

Thanks,

Nick

From: Sudheer Vinukonda <***@yahoo.com>
Reply-To: "***@trafficserver.apache.org" <***@trafficserver.apache.org>
Date: Wednesday, May 17, 2017 at 4:56 PM
To: "***@trafficserver.apache.org" <***@trafficserver.apache.org>
Subject: Re: Redirection enabled and TIME_WAIT

Do you use persistent connections to the Origin? If so, the connection should not be closed by ATS (unless the Origin returned 307 with a Connection : Close header).

Thanks,

Sudheer

On May 17, 2017, at 1:38 PM, Dunkin, Nick <***@ccur.com<mailto:***@ccur.com>> wrote:
Hi

We are using the proxy.config.http.redirection_enabled feature in ATS 7.0.

We are finding that when ATS receives the 307 Redirect from Origin, it closes that connection and creates a new one to retrieve the redirected content. The result is that, when under load, we end up with a large amount of sockets in TIME_WAIT.

I can’t find any other configuration options that might alleviate this situation.

Does anyone have any insight or advice to offer?

Many thanks,

Nick Dunkin

Loading...