Emeric BRUN ebrun@... writes:
Ki,
original message-
De: Godbach nylzhaowei@...
A: Emeric BRUN ebrun@...
Copie à: haproxy@...
Date: Mon, 21 Jan 2013 11:46:46 +0800
-
Hi, Emeric
Thank you for
Formerly, if A was replaced by B, and then B by C before
A finished exiting, we didn't wait for B to finish so it
ended up as a zombie process.
Fix this by queuing all process we spawn for waitpid.
Signed-off-by: Marc-Antoine Perennou marc-anto...@perennou.com
---
src/haproxy-systemd-wrapper.c |
The parameters of srv_downtime and srv_getinter are not modified
and thus may be const.
Signed-off-by: Simon Horman ho...@verge.net.au
---
include/proto/server.h |4 ++--
src/server.c |4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/proto/server.h
This patch set adds two new server parameters, agent-port and
agent-interval. These may be used to control running an agent check
as well as a (non-agent) health check.
Some details of how this may be configured may be found in the changelog
of the last patch of the series.
From an
Move {,fast,down}inter elements from struct server to struct check.
This allows those elements of a check to be independent of the check's server.
This is in preparation for associating a agent check
with a server which runs as well as the server's existing check.
Signed-off-by: Simon Horman
This is in preparation for associating a agent check
with a server which runs as well as the server's existing check.
The split has been made by:
* Moving elements of struct server's check element that will
be shared by both checks into a new check_common element
of struct server.
* Moving
This is in preparation for associating a agent check
with a server which runs as well as the server's existing check.
Signed-off-by: Simon Horman horms+rene...@verge.net.au
---
include/types/server.h |1 +
src/cfgparse.c |5 +++--
src/checks.c |2 +-
3 files
Move result element from struct server to struct check
This allows check results to be independent of the check's server.
This is in preparation for associating a agent check
with a server which runs as well as the server's existing check.
Signed-off-by: Simon Horman ho...@verge.net.au
---
This is used to indicate the type of a check independent of
its server's proxy's check type.
This is in preparation for associating a agent check
with a server which runs as well as the server's existing check.
Signed-off-by: Simon Horman ho...@verge.net.au
---
include/types/server.h |1 +
This is in preparation for struct server having two elements
of type struct check.
Signed-off-by: Simon Horman ho...@verge.net.au
---
src/cfgparse.c | 56 +---
1 file changed, 33 insertions(+), 23 deletions(-)
diff --git a/src/cfgparse.c
Paramatise the following functions over the check of a server
* set_server_down
* set_server_up
* srv_getinter
* server_status_printf
* set_server_check_status
* set_server_disabled
Generally the server parameter of these functions has been removed.
Where it is still needed it is obtained using
This is in preparation for associating a agent check
with a server which runs as well as the server's existing check.
Signed-off-by: Simon Horman ho...@verge.net.au
---
include/types/server.h |3 ++-
src/cfgparse.c | 10 +-
src/checks.c | 50
Add state to struct check. This is currently used to store one bit,
CHK_RUNNING, which is set if a check is running and clear otherwise.
This bit was previously SRV_CHK_RUNNING of the state element of struct
server.
This is in preparation for associating a agent check
with a server which runs as
This helper is in preparation for adding a second struct check element
to struct server.
Signed-off-by: Simon Horman ho...@verge.net.au
---
src/checks.c | 47 ---
1 file changed, 28 insertions(+), 19 deletions(-)
diff --git a/src/checks.c
Allow an agent check to be run in conjunction with one other server
health check.
If the backend for a server check is not lb-agent-chk then an agent
check may also be run using the agent-check parameter to a server,
which sets the TCP port to be used for the agent check.
e.g.
server web1_1
Don't know how much control you guys have over this but it looks like
haproxy has been removed from the EPEL repositories. Anyone have any
information about this? Curious as to why.
Last week haproxy-1.4.22-1.el6 was available. can't find anything now.
MG
Ignore my last. Looks like it was merged into rhel repo.
Rule #1 of Automation: Manage your dependencies ;)
Shame on me
On Mon, Feb 25, 2013 at 9:57 PM, Michael Glenney mike.glen...@gmail.comwrote:
Don't know how much control you guys have over this but it looks like
haproxy has been
17 matches
Mail list logo