@colinm wrote:
I ran into this issue on 1.6 and so upgraded to 1.7.3 and now it has occurred again. The socket file that HAProxy is supposed to listen on still exists but after some period of time HAProxy is no longer accepting connections from it and the process has to be restarted.
03:26:54 PM root@app1 ~ # socat /dev/null UNIX:/var/run/magento/redis-cache.sock || echo DOWN 2017/03/23 15:27:09 socat[6583] E connect(6, AF=1 "/var/run/magento/redis-cache.sock", 35): Connection refused DOWN 03:27:09 PM root@app1 ~ # docker restart redis-cache.lb-2 redis-cache.lb-2 03:27:27 PM root@app1 ~ # socat /dev/null UNIX:/var/run/magento/redis-cache.sock || echo DOWN ~ #
I don't know how to reproduce exactly but in this case the process was only about a day old before I noticed it was no longer accepting connections.
Here is my full config:
global log 127.0.0.1 local0 notice defaults mode tcp log global timeout client 1h timeout server 1h timeout connect 1000 listen stats bind *:1936 mode http stats enable stats uri / stats refresh 60s stats show-node stats show-legends frontend redis-unix bind /run/magento/redis-cache.sock mode 777 default_backend redis frontend redis-tcp bind *:6379 default_backend redis # The tcp-check will ensure that only reachable master nodes are considered up. backend redis balance first option tcplog option tcp-check tcp-check send info\ replication\r\n tcp-check expect string role:master default-server inter 5000 downinter 5000 fastinter 1000 rise 2 fall 3 maxconn 256 maxqueue 128 server node1 10.81.128.1:6379 check server node56 10.81.128.56:6379 check
Posts: 2
Participants: 2