Re: Haproxy 1.4 url redirection issue

2014-03-07 Thread Baptiste
Amol, The second log lines clearly shows that your application server is redirecting your user :) Baptiste On Thu, Mar 6, 2014 at 4:53 AM, Amol mandm_z...@yahoo.com wrote: so after looking at haproxy logs i noticed 2 things if i type www.xx.com there is 1 log entry haproxy[26387]:

Re: Current solutions to the soft-restart-healthcheck-spread problem?

2014-03-07 Thread Vincent Bernat
❦ 6 mars 2014 16:15 CET, Jonathan Matthews cont...@jpluscplusm.com : 1) On restart/reload/disabled-server-now-enabled-via-admin-interface, haproxy considers a server to be 1 health check away from going down, but considers it *initially* up. On reload, haproxy could wait for a whole round

Re: weights

2014-03-07 Thread Baptiste
I also setup leastconn on stateless web application servers. So the fastest answers. Baptiste On Thu, Mar 6, 2014 at 8:24 AM, Willy Tarreau w...@1wt.eu wrote: Hi Malcolm, On Tue, Mar 04, 2014 at 08:43:47PM +, Malcolm Turnbull wrote: Willy, Exactly right, but it is a common

Re: balance leastconn does not honor weight?

2014-03-07 Thread Dmitry Sivachenko
On 06 марта 2014 г., at 19:29, Dmitry Sivachenko trtrmi...@gmail.com wrote: Hello! I am using haproxy-1.5.22. In a single backend I have servers with different weight configured: 16, 24, 32 (proportional to the number of CPU cores). Most of the time they respond very fast. When I

Re: Stats for total queued backend requests

2014-03-07 Thread Willy Tarreau
Hi Laurent, On Fri, Mar 07, 2014 at 08:57:55AM +0100, Laurent Dormoy wrote: Hi, I have a hard time collecting statistics for queued backend requests. It usually happens during a couple of seconds and cannot be efficiently tracked by a monitoring system collecting data at regular intervals.

Re: Current solutions to the soft-restart-healthcheck-spread problem?

2014-03-07 Thread Willy Tarreau
Hi Vincent, On Fri, Mar 07, 2014 at 09:10:21AM +0100, Vincent Bernat wrote: ??? 6 mars 2014 16:15 CET, Jonathan Matthews cont...@jpluscplusm.com : 1) On restart/reload/disabled-server-now-enabled-via-admin-interface, haproxy considers a server to be 1 health check away from going down,

Re: ereq count on a FRONTEND for a group

2014-03-07 Thread Baptiste
Hi Dave, Could you please enable logging in HAProxy and report here log lines corresponding to 502 errors? 502 could be sent by HAProxy for many reasons. Baptiste On Thu, Mar 6, 2014 at 3:59 PM, Dave d...@raven.za.net wrote: Hello, What could be causing ereq counts to go up on the frontend

Re: balance leastconn does not honor weight?

2014-03-07 Thread Willy Tarreau
Hi Dmitry, On Fri, Mar 07, 2014 at 12:16:32PM +0400, Dmitry Sivachenko wrote: On 06 ?? 2014 ??., at 19:29, Dmitry Sivachenko trtrmi...@gmail.com wrote: Hello! I am using haproxy-1.5.22. In a single backend I have servers with different weight configured: 16, 24, 32

Re: balance leastconn does not honor weight?

2014-03-07 Thread Dmitry Sivachenko
On 07 марта 2014 г., at 12:25, Willy Tarreau w...@1wt.eu wrote: Hi Dmitry, On Fri, Mar 07, 2014 at 12:16:32PM +0400, Dmitry Sivachenko wrote: On 06 ?? 2014 ??., at 19:29, Dmitry Sivachenko trtrmi...@gmail.com wrote: Hello! I am using haproxy-1.5.22. In a single backend

Re: balance leastconn does not honor weight?

2014-03-07 Thread Willy Tarreau
On Fri, Mar 07, 2014 at 01:01:04PM +0400, Dmitry Sivachenko wrote: Now it behaves almost this way but without honoring specified weights. We cannot honnor both at the same time. Most products I've tested don't *even* do the round robin on equal connection counts while we do. I'm just

Re: balance leastconn does not honor weight?

2014-03-07 Thread Dmitry Sivachenko
On 07 марта 2014 г., at 13:02, Willy Tarreau w...@1wt.eu wrote: On Fri, Mar 07, 2014 at 01:01:04PM +0400, Dmitry Sivachenko wrote: Now it behaves almost this way but without honoring specified weights. We cannot honnor both at the same time. Most products I've tested don't *even* do the

Re: balance leastconn does not honor weight?

2014-03-07 Thread David Birdsong
On Fri, Mar 7, 2014 at 1:08 AM, Dmitry Sivachenko trtrmi...@gmail.comwrote: On 07 марта 2014 г., at 13:02, Willy Tarreau w...@1wt.eu wrote: On Fri, Mar 07, 2014 at 01:01:04PM +0400, Dmitry Sivachenko wrote: Now it behaves almost this way but without honoring specified weights. We

Re: balance leastconn does not honor weight?

2014-03-07 Thread Baptiste
Hi All, When next request(s) arrive, server must to read missing pages back from disk. It takes time. Server becomes very slow for some time. I don't want it to be flooded by requests until it starts to respond fast again. It looks like leastconn would fit this situation. If one server is

Re: balance leastconn does not honor weight?

2014-03-07 Thread Dmitry Sivachenko
On 07 марта 2014 г., at 14:53, Baptiste bed...@gmail.com wrote: Hi All, When next request(s) arrive, server must to read missing pages back from disk. It takes time. Server becomes very slow for some time. I don't want it to be flooded by requests until it starts to respond fast again.

[PATCH] DOC: lowercase format string in unique-id

2014-03-07 Thread Julien Vehent
Update configuration.txt to use the correct format string in the unique-id documentation. --- doc/configuration.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/configuration.txt b/doc/configuration.txt index a8ff839..704d759 100644 --- a/doc/configuration.txt

Re: [PATCH] DOC: lowercase format string in unique-id

2014-03-07 Thread Julien Vehent
On 2014-03-07 08:27, Julien Vehent wrote: Update configuration.txt to use the correct format string in the unique-id documentation. Argh! I lowercased one too many (%Ts != %ts). The correct patch is below. --- doc/configuration.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

Log format with odd number of quotes. Bug or conf error?

2014-03-07 Thread Julien Vehent
Hi all, I am seeing a missing quote in the custom log format I am using: log-format [%pid]\ [%Ts.%ms]\ %ac/%fc/%bc/%bq/%sc/%sq/%rc\ %Tq/%Tw/%Tc/%Tr/%Tt\ %tsc\ %ci:%cp\ %fi:%fp\ %si:%sp\ %ft\ %sslc\ %sslv\ %{+Q}r\ %ST\ %b:%s\ %ID\ %{+Q}CC\ %{+Q}hr\ %{+Q}CS\ %{+Q}hs\ %B\ bytes Below is a

サイトの収益化、お手伝いさせてください。

2014-03-07 Thread Ad frontier運営事務局
あなたの大切なサイト、収益化に困っていませんか? 私たちはそんな方のために新しいサービスを生み出しました。 内容はいたってシンプル。 広告をサイトに掲載していただくだけ。 もちろん広告に公序良俗に反するものはありません。 お客様のサイトのテーマにあった広告を用意いたします。 今有名な広告サービスはユーザーに対して最適な広告を表示させる仕組みはありますが、 サイトオーナー様にとってはどんな広告が表示されるか分からない。 できる限り良質な広告だけを選定して掲載したい。 その中で広告収入を得たい。 そんな方々のために当サービスは存在します。