Re: tuning maxconn and nbproc

2013-03-25 Thread Baptiste
Hi Guys, A short article explaining HAProxy's server maxconn benefits: http://blog.exceliance.fr/2011/06/28/play_with_maxconn_avoid_server_slowness_or_crash/ Baptiste

haproxy in cluster with pacemaker and corosync

2013-03-25 Thread Wolfgang Routschka
Hi everybody, today I would like to ask you about haproxy best practice in pacemaker/corosync setups. We want to use pacemaker/corosync for failover haproxy. I found 2 ways for configuration - over lsb-ocf-script and a ocf-script https://raw.github.com/russki/cluster-agents/master/haproxy

Re: haproxy in cluster with pacemaker and corosync

2013-03-25 Thread Hauke
Hi Wolfgang, maybe it helps: I use the simple lsb RA for haproxy in pacemaker. A modified version of https://github.com/finnlabs/haproxy/blob/master/haproxy-init works for me. Environment: Active/Passive, Debian Squeeze, pacemaker and stuff out of stable repos, self build haproxy (stable). --

Re: Intermittent success of rspirep

2013-03-25 Thread David Coulson
On 3/13/13 7:59 AM, Cyril Bonté wrote: For now, I don't know where to look but maybe it can be useful to find and fix the issue. I also tried with : v1.5-dev8 : it works v1.5-dev9 : segfault v1.5-dev10 : segfault v1.5-dev11 : couldn't compile v1.5-dev12 : couldn't compile v1.5-dev13 : it

AW: haproxy in cluster with pacemaker and corosync

2013-03-25 Thread Wolfgang Routschka
Hi Hauke, thanks for your answer. One question about the script. What means config in line 20 HAPROXY_CONFIG=/usr/local/sbin/haproxy-config.py / Configurationfile is setting on line 17 Another question is configuration haproxy for logging and logrotate - in logrotate I reload haproxy for

AW: AW: haproxy in cluster with pacemaker and corosync

2013-03-25 Thread Wolfgang Routschka
Hello, https://github.com/finnlabs/haproxy/blob/master/haproxy-init on line 20https://github.com/finnlabs/haproxy/blob/master/haproxy-init%20on%20line%2020 thankes for information about logrotate Von: David Coulson [mailto:da...@davidcoulson.net] Gesendet: Montag, 25. März 2013 12:11 An:

Re: AW: haproxy in cluster with pacemaker and corosync

2013-03-25 Thread Hauke
I don't use that haproxy-config.py script (that creates a configfile from a directory layout; maybe some distro ships haproxy with that kind of configuration). This is how my logging for haproxy looks like: /var/log/haproxy/*.log { daily missingok rotate 365

Re: AW: haproxy in cluster with pacemaker and corosync

2013-03-25 Thread Holger Just
Hi there, Wolfgang Routschka wrote: One question about the script. What means config in line 20 HAPROXY_CONFIG=/usr/local/sbin/haproxy-config.py Configurationfile is setting on line 17 the haproxy-init script in that repo is basically the init script from the HAProxy Debian package from

Re: Intermittent success of rspirep

2013-03-25 Thread Willy Tarreau
Hi guys, On Mon, Mar 25, 2013 at 06:54:24AM -0400, David Coulson wrote: On 3/13/13 7:59 AM, Cyril Bonté wrote: For now, I don't know where to look but maybe it can be useful to find and fix the issue. I also tried with : v1.5-dev8 : it works v1.5-dev9 : segfault v1.5-dev10 :

Re: Intermittent success of rspirep

2013-03-25 Thread David Coulson
Looks good so far. Will do more testing tomorrow. Thanks Willy! Sent from my iPhone On Mar 25, 2013, at 8:19 PM, Willy Tarreau w...@1wt.eu wrote: Hi guys, On Mon, Mar 25, 2013 at 06:54:24AM -0400, David Coulson wrote: On 3/13/13 7:59 AM, Cyril Bonté wrote: For now, I don't know where