Hi Guys,
Sorry for the delay I got tied up with some other issues yesterday but I've
just finished with Simons git repo pull.
Simon are you sure this is correct as I thought this was for a 1.8-dev
build which could be why I had problems on Tuesday.

# haproxy -v
HA-Proxy version 1.6-dev1 2015/03/11
Copyright 2000-2015 Willy Tarreau <w...@1wt.eu>

I'm still getting the following though:
# echo "show info json" | socat /tmp/haproxy.stat stdio | python -m
json.tool
No JSON object could be decoded

Its a basic build with the following options:
# make TARGET=linux26 USE_STATIC_PCRE=1 USE_LINUX_TPROXY=1

Oh and I'm running with your config file now.

Anything else that I can try or detail you would like to make sure its not
me?


~Scott



On 9 January 2017 at 16:13, Scott McKeown <sc...@loadbalancer.org> wrote:

> No problem I'll have another look tomorrow morning and I'll let you all
> know how I get on.
>
>
> On 9 January 2017 at 15:18, Simon Horman <si...@horms.net> wrote:
>
>> Hi Scott,
>>
>> thanks for testing.
>>
>> For reference the code I am using is here:
>>
>> https://github.com/horms/haproxy.git show-json
>>
>> And my minimal config file is as follows.
>> Would it be possible for you to share you config with me (privately) ?
>>
>> global
>>         daemon
>>         stats socket /tmp/haproxy.stat mode 600 level admin
>>         pidfile /tmp/haproxy.pid
>>         log /dev/log local4
>>         #tune.bufsize 2048
>>         #tune.bufsize 4096
>>         tune.bufsize 8192
>>         #tune.bufsize 16384
>>         tune.maxrewrite 1024
>>
>> defaults
>>         mode http
>>         balance roundrobin
>>         timeout connect 4000
>>         timeout client 42000
>>         timeout server 43000
>>         log global
>>
>>
>> listen VIP_Name
>>         bind 127.0.0.1:10080 transparent
>>         mode http
>>         balance leastconn
>>         cookie SERVERID insert nocache indirect
>>         server backup 127.0.0.1:9081 backup  non-stick
>>         option http-keep-alive
>>         option forwardfor
>>         option redispatch
>>         option abortonclose
>>         maxconn 40000
>>         log global
>>         option httplog
>>         option log-health-checks
>>         server RIP1_Name 127.0.0.1  weight 100  cookie RIP_Name
>> agent-check agent-port 12345 agent-inter 2000 check port 80 inter 2000 rise
>> 2 fall 3  minconn 0 maxconn 0s on-marked-down shutdown-sessions disabled
>>         server RIP2_Name 127.0.0.1  weight 100  cookie RIP_Name
>> agent-check agent-port 12345 agent-inter 2000 check port 80 inter 2000 rise
>> 2 fall 3  minconn 0 maxconn 0s on-marked-down shutdown-sessions
>>
>
>
>
> --
> With Kind Regards.
>
> Scott McKeown
> Loadbalancer.org
> http://www.loadbalancer.org
> Tel (UK) - +44 (0) 3303801064 <0330%20380%201064> (24x7)
> Tel (US) - +1 888.867.9504 <+1%20888-867-9504> (Toll Free)(24x7)
>



-- 
With Kind Regards.

Scott McKeown
Loadbalancer.org
http://www.loadbalancer.org
Tel (UK) - +44 (0) 3303801064 (24x7)
Tel (US) - +1 888.867.9504 (Toll Free)(24x7)

Reply via email to