ubuntu - How to prevent multiple instances of HAProxy? -
i experiencing problem cited in answer below question - having multiple instances of haproxy created inadvertently, result of netstat -tulpn | grep 80
several copies of haproxy listening on single port.
haproxy random http 503 errors
i know can kill pid# rid of excess instances, there way prevent them? see mention of similar problem here:
https://github.com/haproxy/haproxy/issues/51
but relates multiple frontends in single config. there similar solution - way tell haproxy not initiate on port occupied?
looks problem this:
my provisioner starting haproxy 1 user, while deployment system restarting haproxy separate user - 2 copies of haproxy ended running. so, of course solution make them both run via same user.
Comments
Post a Comment