GithubHelp home page GithubHelp logo

hadiscover's People

Contributors

adetante avatar irontoby avatar scottjbarr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

hadiscover's Issues

defunct haproxy processes

Hi,

I am seeing a bunch of defunct haproxy processes after configuration is reloaded. Is this expected?

root 3860 0.2 0.7 322952 7132 pts/0 Sl+ 05:27 0:00 /root/go/bin/hadiscover --config /etc/haproxy/haproxy.cfg.tpl --etcd http://localhost:4001 --ha /usr/sbin/haproxy --key service
root 3866 0.0 0.0 0 0 pts/0 Z+ 05:27 0:00 [haproxy]
root 3885 0.0 0.0 0 0 pts/0 Z+ 05:28 0:00 [haproxy]
root 3892 0.0 0.0 0 0 pts/0 Z+ 05:28 0:00 [haproxy]
root 3910 0.0 0.0 0 0 pts/0 Z+ 05:33 0:00 [haproxy]
root 3911 0.0 0.0 0 0 pts/0 Z+ 05:33 0:00 [haproxy]
root 3912 0.0 0.0 0 0 pts/0 Z+ 05:33 0:00 [haproxy]
root 3913 0.0 0.0 0 0 pts/0 Z+ 05:33 0:00 [haproxy]
root 3914 0.0 0.0 0 0 pts/0 Z+ 05:33 0:00 [haproxy]
root 3915 0.0 0.0 0 0 pts/0 Z+ 05:33 0:00 [haproxy]
root 3916 0.0 0.0 0 0 pts/0 Z+ 05:33 0:00 [haproxy]
root 3917 0.0 0.0 0 0 pts/0 Z+ 05:33 0:00 [haproxy]
root 3918 0.0 0.0 0 0 pts/0 Z+ 05:33 0:00 [haproxy]
root 3919 0.0 0.0 0 0 pts/0 Z+ 05:33 0:00 [haproxy]
root 3920 0.0 0.0 0 0 pts/0 Z+ 05:33 0:00 [haproxy]
root 3921 0.0 0.0 0 0 pts/0 Z+ 05:34 0:00 [haproxy]
root 3922 0.0 0.0 0 0 pts/0 Z+ 05:34 0:00 [haproxy]
root 3923 0.0 0.0 0 0 pts/0 Z+ 05:34 0:00 [haproxy]
root 3924 0.0 0.0 0 0 pts/0 Z+ 05:34 0:00 [haproxy]
root 3925 0.0 0.0 0 0 pts/0 Z+ 05:34 0:00 [haproxy]
root 3926 0.0 0.0 0 0 pts/0 Z+ 05:34 0:00 [haproxy]
root 3927 0.0 0.0 0 0 pts/0 Z+ 05:34 0:00 [haproxy]
root 3928 0.0 0.0 0 0 pts/0 Z+ 05:34 0:00 [haproxy]
root 3929 0.0 0.0 0 0 pts/0 Z+ 05:34 0:00 [haproxy]
root 3930 0.0 0.0 0 0 pts/0 Z+ 05:34 0:00 [haproxy]
root 3931 0.0 0.0 0 0 pts/0 Z+ 05:34 0:00 [haproxy]
root 3932 0.0 0.0 0 0 pts/0 Z+ 05:34 0:00 [haproxy]
root 3933 0.0 0.0 0 0 pts/0 Z+ 05:34 0:00 [haproxy]
root 3934 0.0 0.0 0 0 pts/0 Z+ 05:34 0:00 [haproxy]
root 3935 0.0 0.0 0 0 pts/0 Z+ 05:34 0:00 [haproxy]
root 3936 0.0 0.2 12436 2856 pts/0 S+ 05:34 0:00 /usr/sbin/haproxy -f .haproxy.cfg -sf 3935
root 3938 0.0 0.2 11752 2272 pts/3 S+ 05:34 0:00 grep --color=auto haproxy

Cannot register watcher for changes in etcd: invalid character 'C' looking for beginning of value

Hello,
we are trying to configure docker and haproxy using hadiscover and used the same template you provided as example i pasted down

but while running the command sudo ./hadiscover --config /etc/haproxy.cfg.tpl --etcd http://10.193.137.116:8040 --ha /apps/opt/haproxy-1.5.8/haproxy --key services

we are getting error
2015/09/11 17:48:17 Start watching changes in etcd
2015/09/11 17:48:17 Cannot register watcher for changes in etcd: invalid character 'C' looking for beginning of value
[root@sv2lxecxmsdi01 bin]# Cannot register watcher for changes in etcd: invalid character 'C' looking for beginning of value

is there any mistake we are doing ?

the template file is

global
maxconn 4096

defaults
log global
mode http
option httplog
option dontlognull
retries 3
redispatch
maxconn 2000
contimeout 5000
clitimeout 50000
srvtimeout 50000

frontend http-in
bind *:8000
default_backend http

backend http
{{range .}} server {{.Name}} {{.Ip}}:{{.Port}} maxconn 32
{{end}}
In the ba

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.