Re: Very low session rate with simple benchmark setup

2014-07-04 Thread Willy Tarreau
On Fri, Jul 04, 2014 at 01:44:54AM +0200, Maxime Brugidou wrote: Actually i checked and the first 6 cores are the first threads of the first socket, then the 6 next are for the second socket then the next 12 cores are the hyperthreads. OK. So all this should not be an issue although you are

Re: Very low session rate with simple benchmark setup

2014-07-04 Thread Maxime Brugidou
On Jul 4, 2014 8:00 AM, Willy Tarreau w...@1wt.eu wrote: On Fri, Jul 04, 2014 at 01:44:54AM +0200, Maxime Brugidou wrote: * got back to the standard igb shipped in the kernel (it gets the 8 virtual channels by default for the NIC) OK, but you need to ensure they never deliver IRQs to the

Re: Very low session rate with simple benchmark setup

2014-07-04 Thread Willy Tarreau
On Fri, Jul 04, 2014 at 08:28:50AM +0200, Maxime Brugidou wrote: On Jul 4, 2014 8:00 AM, Willy Tarreau w...@1wt.eu wrote: On Fri, Jul 04, 2014 at 01:44:54AM +0200, Maxime Brugidou wrote: * got back to the standard igb shipped in the kernel (it gets the 8 virtual channels by default

Re: HAProxy maxconn value problem

2014-07-04 Thread bahri turel
I don' t see any errors like 503 or orther.. In your case I think your backend or your test client simply cannot go above 2000 requests per second. When I directly send requests (by removing haproxy in between) to any of application servers the concurrent connection increases very well and

Re: Multiple CPU Cores and Peers

2014-07-04 Thread Jai Gupta
On Fri, Jul 4, 2014 at 12:53 PM, Baptiste bed...@gmail.com wrote: stick-table type string len 12 size 32m expire 7d peers mypeers store server_id stick on hdr(host) Last question (hopefully): Please feel free to question. do you need ALL the requests for one Host header to

RE: HAProxy maxconn value problem

2014-07-04 Thread Lukas Tribus
Hi, Can it be just a coincidence to reach exactly 2000 connections while  the maxconn in haproxy -vv default maxconn value is also 2000?? Yes, because its unrelated. I don' t see any errors like 503 or orther..  If you don't see 503 errors, than its not maxconn limiting your connection

Strange crash of HAProxy 1.5.1

2014-07-04 Thread Merton Lister
Hello, I just compiled and installed HAProxy 1.5.1, and it didn't give any error. However, after I restarted HAProxy using the latest binary, any request (e.g. a simple GET for robots.txt) will simply crash the HAProxy process. I'm running it on an Ubuntu 10.04 LTS box, and I just switched back

Re: Strange crash of HAProxy 1.5.1

2014-07-04 Thread Cyril Bonté
Hi Merton, Le 04/07/2014 18:44, Merton Lister a écrit : Hello, I just compiled and installed HAProxy 1.5.1, and it didn't give any error. However, after I restarted HAProxy using the latest binary, any request (e.g. a simple GET for robots.txt) will simply crash the HAProxy process. I'm

Re: Need help with url rewrite

2014-07-04 Thread Jeffrey Scott Flesher Gmail
If a Picture is worth a 1000 Words: If the url does not have any path like this: http://mad-news.net/ acl has_ww_uri path_beg -i /ww returns false reqirep ^([^\ :]*)\ /(.*) \1\ /ww/\2 if !has_ww_uri http://mad-news.net/ww/en/ it adds the ww, the program with is wthttpd (Wt) defaults to en for

[PATCH] bug: backend: Fix method declaration for map_get_server_hash

2014-07-04 Thread Dan Dubovik
Hello, Recently, we were trying to segment our account provisioning using HAProxy. We are having HAProxy to port NAT traffic to a backend, using the djb2 hash to select the backend based on the Host header. When attempting to predict the backend that HAProxy would select, we were unable to come