I've created a Github issue to track this:
https://github.pie.apple.com/ats/trafficserver/issues/672

On Tue, Oct 24, 2023 at 10:16 AM Alan Carroll <[email protected]>
wrote:

> I looked at this a bit. The message isn't directly related to that
> setting. In fact, it's an internal error message. ATS tracks the number of
> outbound connections for each IP address. This error message indicates that
> the number of connections to some IP address is negative, which clearly
> makes no sense.
>
> What I would suspect it somehow the minimum connection logic isn't
> updating the outbound session tracking but when such a session ends it
> still decrements the count, leading to negative values. Would it be
> possible to check if ATS 10 has this issue?
>
> -----Original Message-----
> From: Veiko Kukk <[email protected]>
> Sent: Monday, October 23, 2023 11:35 AM
> To: [email protected]
> Subject: ATS 9.2.3 and proxy.config.http.per_server.connection.min
>
> Hi
>
> I'm upgrading from 7.1 to 9.2.3 and attempting to get a certain amount of
> connections kept open between ATS and upstream server to avoid connection
> creation overhead.
>
> In 7.1 this worked well CONFIG
> proxy.config.http.origin_min_keep_alive_connections INT 50
>
> In 9.2.3 enabling CONFIG proxy.config.http.per_server.connection.min INT
> 50 results in many lines of errors displayed in diags.log
>
> [Oct 23 16:26:59.192] [ET_NET 0] ERROR: [http_ss] [188] number of
> connections should be greater than or equal to zero: 4294967295 [Oct 23
> 16:27:15.309] [ET_NET 0] ERROR: [http_ss] [210] number of connections
> should be greater than or equal to zero: 4294967295 [Oct 23 16:27:29.543]
> [ET_NET 1] ERROR: [http_ss] [203] number of connections should be greater
> than or equal to zero: 4294967295 [Oct 23 16:27:59.336] [ET_NET 0] ERROR:
> [http_ss] [219] number of connections should be greater than or equal to
> zero: 4294967295 [Oct 23 16:28:15.683] [ET_NET 0] ERROR: [http_ss] [241]
> number of connections should be greater than or equal to zero: 4294967295
> [Oct 23 16:28:31.506] [ET_NET 1] ERROR: [http_ss] [234] number of
> connections should be greater than or equal to zero: 4294967295
>
> Connections through proxy work even though those strange errors are
> displayed.
>
> Veiko
>

Reply via email to