set weight bug?

2013-11-05 Thread Igor
Using newest snapshot, when I do echo set weight s1/p1 100| socat stdio /tmp/haproxy to a server already has weight 100, then fresh haproxy's stat page, it requires password, and it doesn't accept the right password set in stats auth until I reload the haproxy. I have a script to set servers

[PATCH v7 0/5] Auxiliary Agent Check Preparation

2013-11-05 Thread Simon Horman
-check-v7.snapshot.20131105 Simon Horman (5): MEDIUM: Move result element to struct check MEDIUM: Paramatise functions over the check of a server MEDIUM: cfgparse: Factor out check initialisation MEDIUM: Add state to struct check MEDIUM: Move health element to struct check include/proto

[PATCH v7 4/5] MEDIUM: Add state to struct check

2013-11-05 Thread Simon Horman
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

[PATCH v7 2/5] MEDIUM: Paramatise functions over the check of a server

2013-11-05 Thread Simon Horman
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 * set_server_enabled Generally the server parameter of these functions has been removed. Where it is still needed

[PATCH v7 3/5] MEDIUM: cfgparse: Factor out check initialisation

2013-11-05 Thread Simon Horman
This is in preparation for struct server having two elements of type struct check. Signed-off-by: Simon Horman ho...@verge.net.au --- v7 * No change Notes by Willy on v6: OK v5 * Remove server argument from init_check. It is not used. * Set type in init_check This allows a zero type to be

[PATCH v7 5/5] MEDIUM: Move health element to struct check

2013-11-05 Thread Simon Horman
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 --- v7 * Merge line-reordering update from a subsequent patch * Rebase as name field is no longer added to struct check by a

Re: RES: RES: RES: RES: RES: RES: RES: High CPU Usage (HaProxy)

2013-11-05 Thread Willy Tarreau
Hello Fred, [ first, please avoid top-posting, this is very cumbersome for replying in context afterwards, and tends to pollute subscribers mailboxes with overly large emails ] Also, can you confirm that this is a real machine and that we're not troubleshooting a VM ? Yes, this is a

Re: RES: RES: RES: RES: RES: RES: RES: High CPU Usage (HaProxy)

2013-11-05 Thread Jonathan Matthews
On 5 November 2013 11:16, Willy Tarreau w...@1wt.eu wrote: It is a Xeon E5-2650 Dual (So we have 16 physical cores to use here and 32 threads). OK. Do you know if you have a single or multiple interrupts on your NICs, and if they're delivered to a single core, multiple cores, or floating

RES: RES: RES: RES: RES: RES: RES: RES: High CPU Usage (HaProxy)

2013-11-05 Thread Fred Pedrisa
OK. Do you know if you have a single or multiple interrupts on your NICs, and if they're delivered to a single core, multiple cores, or floating around more or less randomly ? This is managed by FreeBSD, it currently have multiple queues and irq balance with msix. It seems that your numbers

Re: RES: RES: RES: RES: RES: RES: RES: RES: High CPU Usage (HaProxy)

2013-11-05 Thread Dmitry Sivachenko
On 05 нояб. 2013 г., at 19:33, Fred Pedrisa fredhp...@hotmail.com wrote: However, in FreeBSD we can't do that IRQ Assigning, like we can on linux. (As far I know). JFYI: you can assign IRQs to CPUs via cpuset -x irq (I can’t tell you if it is “like on linux” or not though).

BOLSAS PARA ANCHETAS NAVIDEÑAS y REGALOS CORPORATIVOS

2013-11-05 Thread BIO BOLSA SAS
Esta newsletter por email le fué enviada en formato gráfico HTML. Si usted está viendo esta versión, su programa de email prefiere mensajes de texto sin formato. Usted puede leer la versión original online:

RE: set weight bug?

2013-11-05 Thread Lukas Tribus
Hi Igor, Using newest snapshot, when I do echo set weight s1/p1 100| socat stdio /tmp/haproxy to a server already has weight 100, then fresh haproxy's stat page, it requires password, and it doesn't accept the right password set in stats auth until I reload the haproxy. I have a script

Re: [PATCH v7 4/5] MEDIUM: Add state to struct check

2013-11-05 Thread Simon Horman
On Tue, Nov 05, 2013 at 06:04:35PM +0900, Simon Horman wrote: 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

Re: set weight bug?

2013-11-05 Thread Igor
Here is my config http://pastie.org/private/wf0dv30krqpasgmhtdnahw (Deleted some servers and two backends for clear config) I used script to handle servers weight since haproxy-ss-20131031, so I never tried previous versions. Bests, -Igor On Wed, Nov 6, 2013 at 5:55 AM, Lukas Tribus