Hi Simon, Output below:
# echo "show info json" | socat /tmp/haproxy.stat stdio Name: HAProxy Version: 1.6-dev1 Release_date: 2015/03/11 Nbproc: 1 Process_num: 1 Pid: 1611 Uptime: 0d 0h14m04s Uptime_sec: 844 Memmax_MB: 0 Ulimit-n: 4037 Maxsock: 4037 Maxconn: 2000 Hard_maxconn: 2000 CurrConns: 1 CumConns: 177 CumReq: 1005 Maxpipes: 0 PipesUsed: 0 PipesFree: 0 ConnRate: 0 ConnRateLimit: 0 MaxConnRate: 7 SessRate: 0 SessRateLimit: 0 MaxSessRate: 7 CompressBpsIn: 0 CompressBpsOut: 0 CompressBpsRateLim: 0 Tasks: 9 Run_queue: 1 Idle_pct: 100 node: localhost.localdomain description: On 12 January 2017 at 13:23, Simon Horman <[email protected]> wrote: > Hi Scott, > > could you send the output of the following? > > echo "show info json" | socat /tmp/haproxy.stat stdio > > On Thu, Jan 12, 2017 at 01:18:54PM +0000, Scott McKeown wrote: > > 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 <[email protected]> > > > > 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 <[email protected]> > 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 <[email protected]> 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) > > -- > Simon Horman [email protected] > Horms Solutions BV www.horms.nl > Parnassusweg 819, 1082 LZ Amsterdam, Netherlands > Tel: +31 (0)20 800 6155 Skype: horms7 > -- 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)

