Limiting Source IPs

2014-07-19 Thread Fred Pedrisa
Hi, Guys. Let's suppose I have two listen sections, and each of them having their own stick table for source ip limiting (like 10 connections per src ip). By using 'peers' in case a user is connected to listen section A or B, not mattering which, the maximum connections he will be able t

Resource Usage 1.5-dev25 vs 1.5-dev15

2014-05-16 Thread Fred Pedrisa
Hello Guys, Do you know if there is any significant improvement between these 2 versions ? I was considering to switch, but I couldn't notice anything related in the changelogs, didn't I forgot checking something ? Sincerely, Fred

RES: Bytes In Per Second

2014-03-02 Thread Fred Pedrisa
2014 12:24 Para: Fred Pedrisa Cc: HAProxy Assunto: Re: Bytes In Per Second Hi Fred, HAProxy already report this on its stats page: http://demo.1wt.eu/ Baptiste On Sat, Mar 1, 2014 at 4:44 AM, Fred Pedrisa wrote: > Hello, Guys ! > > > > I would like to know if there is a possibi

Bytes In Per Second

2014-02-28 Thread Fred Pedrisa
Hello, Guys ! I would like to know if there is a possibility to add a conter for the number of packets/requests/streams per second like we do with bytes per second for in/out to haproxy ! If so it would be very cool ! Fred

Max Packets / Max Bytes [Raw TCP]

2014-01-17 Thread Fred Pedrisa
Hello, Is there a way to limit max packets per second / max bytes per second (per source IP), when using haproxy in raw tcp mode ? Fred

How to enable log file ?

2013-12-07 Thread Fred Pedrisa
Hello, I wanted to enable the usage of log files, to check what is happening with the tcp connections, that sometimes are closed without a clear reason. How can I do it ?

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

2013-11-23 Thread Fred Pedrisa
> OK. The last point could slightly help in reducing the number of calls to kqueue and aggregate more events at once. But FreeBSD's kqueue is really fast so that should not change much. You really need to be able to pin the processes to certain CPUs, as well as the interrupts. Unfortunately I canno

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

2013-11-22 Thread Fred Pedrisa
Hey, Willy. I've switch to haproxy 1.5 (last one available on the website), but the results didn't change much. However, I didn't try to run all the proxies in just one single process, to check the difference yet. -Mensagem original- De: Fred Pedrisa [mailto:fredhp

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 b

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

2013-10-28 Thread Fred Pedrisa
371933 163533 8 21 71 6 0 0 4818M35G 262 0 0 0 174 0 0 0 42681 354697 172687 8 21 71 -Mensagem original- De: Willy Tarreau [mailto:w...@1wt.eu] Enviada em: segunda-feira, 28 de outubro de 2013 20:58 Para: Fred Pedrisa Cc: 'Lukas Tribus'; haproxy@formilux.

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

2013-10-28 Thread Fred Pedrisa
db90,0x0) = 0 (0x0) sendto(914,"\v\0tpj\M-h\^A\^D\M-Q\^]\0\0\^A"...,108,0x80,NULL,0x0) = 108 (0x6c) recvfrom(166,"\^D\0\^V0\0\0\M-$\M^@\M-L-\^T\0p"...,8030,0x0,NULL,0x0) = 643 (0x283) recvfrom(166,0x800f13303,7387,0x0,0x0,0x0) ERR#35 'Resource temporarily unavail

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

2013-10-28 Thread Fred Pedrisa
Hello, Willy. Is there any alternative to strace ? I am on FreeBSD x64 right now. -Mensagem original- De: Willy Tarreau [mailto:w...@1wt.eu] Enviada em: segunda-feira, 28 de outubro de 2013 03:37 Para: Fred Pedrisa Cc: 'Lukas Tribus'; haproxy@formilux.org Assunto: Re: RES: RES

Mail List Problem

2013-10-21 Thread Fred Pedrisa
Hello, Guys. Robert Snyder is having issues with the mailing list, he is trying to join it, but the system says he is already a member, when he try to send an e-mail, he gets this as reply : From: haproxy+ow...@formilux.org Subject: Post to

RES: Help with posting to HAProxy List

2013-10-21 Thread Fred Pedrisa
de 2013 21:59 Para: Fred Pedrisa Assunto: Help with posting to HAProxy List Fred, I have been trying all day to post a question to the list, but it keeps getting bounced. I tried to rejoin the list, but it says my address is already a member (r...@psu.edu). Do you know who can help me with this

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

2013-10-21 Thread Fred Pedrisa
12.45, sometimes going up to 16.00 +/- -Mensagem original- De: Lukas Tribus [mailto:luky...@hotmail.com] Enviada em: segunda-feira, 21 de outubro de 2013 20:39 Para: Fred Pedrisa; haproxy@formilux.org Assunto: RE: RES: RES: RES: RES: High CPU Usage (HaProxy) Hi, > Yes, the current vers

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

2013-10-21 Thread Fred Pedrisa
- De: Lukas Tribus [mailto:luky...@hotmail.com] Enviada em: segunda-feira, 21 de outubro de 2013 20:08 Para: Fred Pedrisa; haproxy@formilux.org Assunto: RE: RES: RES: RES: High CPU Usage (HaProxy) Hi, > Yes, this is why I was speaking with Jeff about this. > > Because I suppose t

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

2013-10-21 Thread Fred Pedrisa
Para: Fred Pedrisa; haproxy@formilux.org Assunto: RE: RES: RES: High CPU Usage (HaProxy) Hi Fred, > I am using a 10 Gbps Intel 520-DA2 NIC. > > The cpu usage in top vary per process we have something like : > > Haproxy - 93% > Haproxy - 85% > Haproxy - 50% > Haproxy - 43% &

RES: RES: High CPU Usage (HaProxy)

2013-10-21 Thread Fred Pedrisa
, basic functionality, no load balancing, no status checking or http mode at all. Just a simple backend : User -> Haproxy -> Destination. -Mensagem original- De: Lukas Tribus [mailto:luky...@hotmail.com] Enviada em: segunda-feira, 21 de outubro de 2013 19:13 Para: Fred Pedrisa; h

RES: High CPU Usage (HaProxy)

2013-10-21 Thread Fred Pedrisa
-feira, 21 de outubro de 2013 15:23 Para: Fred Pedrisa; haproxy@formilux.org Assunto: RE: High CPU Usage (HaProxy) Hi Fred, > I am using many haproxy instances, for separated projects. > > This is causing a high cpu usage, and a high load in the OS up to > 12.00 and so on. > > The

RES: High CPU Usage (HaProxy)

2013-10-21 Thread Fred Pedrisa
ro de 2013 15:07 Para: Fred Pedrisa Cc: haproxy@formilux.org Assunto: Re: High CPU Usage (HaProxy) Yes you could have all different applications in one process/configuration. When you 'reload' using -sf you'd have 2 processes for a while (depends on if you have long-lived con

RES: High CPU Usage (HaProxy)

2013-10-21 Thread Fred Pedrisa
Hello, So, I can run all my instances in just one process and work with it this way, by using -sf right ? -Mensagem original- De: Jeff Zellner [mailto:j...@olark.com] Enviada em: segunda-feira, 21 de outubro de 2013 14:59 Para: Fred Pedrisa Cc: haproxy@formilux.org Assunto: Re: High CPU

RES: High CPU Usage (HaProxy)

2013-10-21 Thread Fred Pedrisa
ro de 2013 14:54 Para: Fred Pedrisa Cc: haproxy@formilux.org Assunto: Re: High CPU Usage (HaProxy) Hi Fred, I imagine that your high load is due to running many instances of HAProxy, but hard to be 100% without all the information. Load indicates that there are processes waiting to execute,

High CPU Usage (HaProxy)

2013-10-21 Thread Fred Pedrisa
Hello, I am using many haproxy instances, for separated projects. This is causing a high cpu usage, and a high load in the OS up to 12.00 and so on. The question is, using just one instance, would reduce the CPU load, or it would make no difference at all ? Also, is there a way to j

RES: RES: Help with kQueue

2013-05-30 Thread Fred Pedrisa
hard, but would be cool having native support for active mode ! Sincerely, Fred -Mensagem original- De: Lukas Tribus [mailto:luky...@hotmail.com] Enviada em: quinta-feira, 30 de maio de 2013 20:09 Para: Fred Pedrisa; haproxy@formilux.org Assunto: RE: RES: Help with kQueue Hi Fred, >

RES: Help with kQueue

2013-05-30 Thread Fred Pedrisa
with the latest version, looks like it will use kqueue !! but select fail ? :D -Mensagem original- De: Lukas Tribus [mailto:luky...@hotmail.com] Enviada em: quinta-feira, 30 de maio de 2013 12:46 Para: Fred Pedrisa; haproxy@formilux.org Assunto: RE: Help with kQueue > # /proxy/haproxy -vv

RES: Help with kQueue

2013-05-30 Thread Fred Pedrisa
Hello, Lr.cfg and l2cr.cfg are both the same files :) -Mensagem original- De: Lukas Tribus [mailto:luky...@hotmail.com] Enviada em: quinta-feira, 30 de maio de 2013 12:46 Para: Fred Pedrisa; haproxy@formilux.org Assunto: RE: Help with kQueue > # /proxy/haproxy -vv -c -f l2cr.

RES: Help with kQueue

2013-05-30 Thread Fred Pedrisa
Lukas Tribus [mailto:luky...@hotmail.com] Enviada em: quinta-feira, 30 de maio de 2013 05:22 Para: Fred Pedrisa; haproxy@formilux.org Assunto: RE: Help with kQueue Hi Fred, > #proxy/haproxy -V -d -f /proxy/lr.cfg -n 8192 Available polling > systems : > select : pref=150, test resu

Help with kQueue

2013-05-29 Thread Fred Pedrisa
De: Fred Pedrisa [mailto:fredhp...@hotmail.com] Enviada em: quinta-feira, 30 de maio de 2013 02:09 Para: 'haproxy@formilux.org' Assunto: Help with kQueue Hello, Guys. Sorry for disturbing, and for the first e-mail I sent, I thought it was an automated mailing list, requiring to

Subscribe

2013-05-29 Thread Fred Pedrisa
Hello