Re: splice(0xedb, 0, 0xf09, 0, 0x72b0, 0x3) = -1 EAGAIN (Resource temporarily unavailable)

2013-12-12 Thread Willy Tarreau
Hi Annika, On Fri, Dec 13, 2013 at 07:12:33AM +, Annika Wickert wrote: > Hi Willy, > > On 13 Dec 2013, at 02:13, Willy Tarreau wrote: > > > On Mon, Dec 09, 2013 at 03:43:09PM +, Annika Wickert wrote: > >> - Two Intel(R) Xeon(R) CPU X6550 @ 2.00GHz in each cluster node > >> - 2x Emulex C

Re: splice(0xedb, 0, 0xf09, 0, 0x72b0, 0x3) = -1 EAGAIN (Resource temporarily unavailable)

2013-12-12 Thread Annika Wickert
Hi Willy, On 13 Dec 2013, at 02:13, Willy Tarreau wrote: > On Mon, Dec 09, 2013 at 03:43:09PM +, Annika Wickert wrote: >> - Two Intel(R) Xeon(R) CPU X6550 @ 2.00GHz in each cluster node >> - 2x Emulex Corporation OneConnect 10Gb NIC (rev 02) in each cluster node >> - 32gbit RAM in each clust

Re: SSL client mode

2013-12-12 Thread Willy Tarreau
On Mon, Dec 09, 2013 at 03:17:08PM +0100, Thomas Heil wrote: > I think this should work > -- > listen http :80 > mode http > server sslsrv 127.0.0.1:443 ssl > -- > > As Lukas mentioned haproxy-devel has a builtin for client ssl mode. Oh and BTW, in the lab it even worked before the server ssl

Re: splice(0xedb, 0, 0xf09, 0, 0x72b0, 0x3) = -1 EAGAIN (Resource temporarily unavailable)

2013-12-12 Thread Willy Tarreau
On Mon, Dec 09, 2013 at 03:43:09PM +, Annika Wickert wrote: > - Two Intel(R) Xeon(R) CPU X6550 @ 2.00GHz in each cluster node > - 2x Emulex Corporation OneConnect 10Gb NIC (rev 02) in each cluster node > - 32gbit RAM in each cluster node > - Two nodes per cluster (active-active in the new one)

Re: splice(0xedb, 0, 0xf09, 0, 0x72b0, 0x3) = -1 EAGAIN (Resource temporarily unavailable)

2013-12-12 Thread Willy Tarreau
Hi Annika, On Mon, Dec 09, 2013 at 09:30:01AM +, Annika Wickert wrote: > Hi everybody, > > we have a few regarding load at our Haproxy 1.5-dev19 cluster. We run > constantly at a load of 12 - 15 most of it is system load. I started to do > debugging with strace and see constantly the follow

Re: Print http log to stdout?

2013-12-12 Thread Willy Tarreau
On Fri, Dec 13, 2013 at 03:43:51AM +0800, Igor wrote: > In verbose mode, is it possible to print http log to stdout? No it's not possible. Do you think it could be useful ? If so, I don't think it should be too difficult to do, especially considering that at some places we already support addresse

Re: New bug?

2013-12-12 Thread Willy Tarreau
Hi Igor, On Tue, Dec 10, 2013 at 03:14:37AM +0800, Igor wrote: > Hi, after upgraded to haproxy-ss-20131207, haproxy failed to start due > to the errors: > > [ALERT] 343/024837 (19081) : parsing [/etc/haproxy/conf.conf:15] : > error detected while parsing a 'rspideny' condition : missing args for

Print http log to stdout?

2013-12-12 Thread Igor
In verbose mode, is it possible to print http log to stdout? Thanks. Bests, -Igor

Re: New bug?

2013-12-12 Thread Willy Tarreau
Hi guys, On Mon, Dec 09, 2013 at 10:04:45PM +0100, Thomas Heil wrote: > Hi, > > On 09.12.2013 20:14, Igor wrote: > > Hi, after upgraded to haproxy-ss-20131207, haproxy failed to start due > > to the errors: > > > > [ALERT] 343/024837 (19081) : parsing [/etc/haproxy/conf.conf:15] : > > error detec

Re: ACL Logic Question

2013-12-12 Thread Athanasios | ZenGuard
Hi all, it was the typo, problem has now been resolved (according to preliminary testing). On Thu, Dec 12, 2013 at 3:04 PM, Baptiste wrote: > there is a typo, a / missing before 'api' in path_beg: > > acl is_api hdr_beg(host) -i api > acl is_api path_beg -i /api > acl somewhere hdr_sub(ho

Re: ACL Logic Question

2013-12-12 Thread Baptiste
there is a typo, a / missing before 'api' in path_beg: acl is_api hdr_beg(host) -i api acl is_api path_beg -i /api acl somewhere hdr_sub(host) -i .somewhere. use_backend api if is_api use_backend www if somewhere Maybe it does not work because of the rest of your configuration... Please pas

Re: ACL Logic Question

2013-12-12 Thread Athanasios | ZenGuard
Dear all, thanks for your input. I tried baptiste's configuration and it did not solve my problem. I have a feeling we are getting there (we already kill a bug). Any further ideas would be more than welcome :) On Thu, Dec 12, 2013 at 2:29 PM, Baptiste wrote: > On Thu, Dec 12, 2013 at 12:35 PM,

Re: ACL Logic Question

2013-12-12 Thread Baptiste
On Thu, Dec 12, 2013 at 12:35 PM, Athanasios | ZenGuard wrote: > Dear HAProxy list, > I have a question regarding ACL logic. > First of all some background to my predicament: > recently we switched to different API and WWW slices. Usually, updated > clients will call api.somewhere for API and www.

Re: How to make HAProxy rotate more faster?

2013-12-12 Thread Baptiste
Hi, answered on stackoverflow. http://stackoverflow.com/questions/20513809/how-to-make-haproxy-rotate-more-faster/ Baptiste On Thu, Dec 12, 2013 at 7:21 AM, Qi wrote: > Hello, > > > I have set up rotating proxies with HAProxy successfully. > > Following is part of haproxy.cfg; > > frontend Ro

ACL Logic Question

2013-12-12 Thread Athanasios | ZenGuard
Dear HAProxy list, I have a question regarding ACL logic. First of all some background to my predicament: recently we switched to different API and WWW slices. Usually, updated clients will call api.somewhere for API and www.somewhere for WWW. This holds true for 90% of the cases. A number (let's s

Удивительное поздравление с Новым Годом

2013-12-12 Thread mr.kehl.e
Новый 2014 Год совсем скоро! А значит пришло время выбирать подарки для друзей и родных! Подарите им праздник – сертификаты на впечатления. Зимние забавы, увлекательные приключения и весёлые мероприятия для всей семьи – это то, что дарит настоящую радость и новогоднее настроение