trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Rushford <jjrushf...@gmail.com>
Subject Re: Help regarding parent.config
Date Mon, 22 May 2017 16:43:06 GMT
I did see that you're running 6.0.  Here is some of my debug logging, you
can see that round_robin=strict is working for me:

[May 22 16:24:24.599] Server {0x2b035992b700} DEBUG: (parent_select) Chosen
parent = 127.0.0.1.4000
[May 22 16:24:29.546] Server {0x2b0359b2f700} DEBUG: (parent_select) Chosen
parent = 127.0.0.1.4001
[May 22 16:24:31.746] Server {0x2b0359c31700} DEBUG: (parent_select) Chosen
parent = 127.0.0.1.4000
[May 22 16:24:34.107] Server {0x2b0359d33700} DEBUG: (parent_select) Chosen
parent = 127.0.0.1.4001
[May 22 16:24:35.889] Server {0x2b0359e35700} DEBUG: (parent_select) Chosen
parent = 127.0.0.1.4000
[May 22 16:24:40.751] Server {0x2b035a039700} DEBUG: (parent_select) Chosen
parent = 127.0.0.1.4001
[May 22 16:24:45.728] Server {0x2b035a13b700} DEBUG: (parent_select) Chosen
parent = 127.0.0.1.4000
[May 22 16:24:49.621] Server {0x2b035a33f700} DEBUG: (parent_select) Chosen
parent = 127.0.0.1.4001
[May 22 16:24:56.086] Server {0x2b0358a0d700} DEBUG: (parent_select) Chosen
parent = 127.0.0.1.4000
[May 22 16:25:02.568] Server {0x2b0358c11700} DEBUG: (parent_select) Chosen
parent = 127.0.0.1.4001
[May 22 16:25:06.875] Server {0x2b0358e15700} DEBUG: (parent_select) Chosen
parent = 127.0.0.1.4000
[May 22 16:25:11.923] Server {0x2b0358f17700} DEBUG: (parent_select) Chosen
parent = 127.0.0.1.4001
[May 22 16:25:16.307] Server {0x2b035911b700} DEBUG: (parent_select) Chosen
parent = 127.0.0.1.4000
[May 22 16:25:21.246] Server {0x2b035921d700} DEBUG: (parent_select) Chosen
parent = 127.0.0.1.4001
[May 22 16:25:26.474] Server {0x2b0359421700} DEBUG: (parent_select) Chosen
parent = 127.0.0.1.4000
[May 22 16:25:28.707] Server {0x2b0359523700} DEBUG: (parent_select) Chosen
parent = 127.0.0.1.4001
[May 22 16:25:31.966] Server {0x2b0359625700} DEBUG: (parent_select) Chosen
parent = 127.0.0.1.4000
[May 22 16:25:37.348] Server {0x2b0359829700} DEBUG: (parent_select) Chosen
parent = 127.0.0.1.4001
[May 22 16:25:41.974] Server {0x2b035992b700} DEBUG: (parent_select) Chosen
parent = 127.0.0.1.4000
[May 22 16:25:48.653] Server {0x2b0359b2f700} DEBUG: (parent_select) Chosen
parent = 127.0.0.1.4001

On Mon, May 22, 2017 at 10:35 AM, John Rushford <jjrushford@gmail.com>
wrote:

> ~S,
>
> What version of trafficserver are you using?  I ran some tests here on a
> machine running trafficserver  6.2.1 after setting up two local ssh
> forwarding tunnels listening on ports 4000 and 4001.  With this
> parent.config, all is working as expected where transactions strictly round
> robin between ports 4000 and 4001.  Here is my config:
>
> dest_domain=. parent="127.0.0.1:4000; 127.0.0.1:4001" round_robin=strict
>
> In records.config set these two config parameters to view parent selection
> debug logging in traffic.out
>
>  CONFIG proxy.config.diags.debug.enabled INT 1
>  CONFIG proxy.config.diags.debug.tags STRING parent_select
>
>
>
> On Thu, Apr 20, 2017 at 11:02 PM, gksalil <gksalil@gmail.com> wrote:
>
>> Hello
>>
>>    I have the following entry in parent.config.
>>
>> dest_domain=.     parent="127.0.0.1:4000; 127.0.0.1:4001"
>> round_robin=true
>>
>>
>>
>>   I expect the alternate requests will be send to port :4000 and :4001 so
>> as
>> to load balance the request. But I noticed that for all packets are sent
>> through 4000 only. ( I have tunnels created from my machine to ATS
>> machines
>> in two other machines. :4000 port is opened to ATS in one machine and
>> :4001
>> port is opened to ATS is another machine.)  What could be the problem and
>> how do I debug this issue further ?
>>
>>
>>
>> Thanks
>> ~S
>>
>>
>>
>> --
>> View this message in context: http://apache-traffic-server.2
>> 4303.n7.nabble.com/Help-regarding-parent-config-tp3074.html
>> Sent from the Apache Traffic Server mailing list archive at Nabble.com.
>>
>
>
>
> --
> John Rushford
> jjrushford@gmail.com
>



-- 
John Rushford
jjrushford@gmail.com

Mime
View raw message