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
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
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.
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 use balance leastconn, I see in the stats web interface that they all
receive
Hello!
(haproxy-1.5-dev21)
Using urlp() I can match specific parameter value and dispatch request to
different backends based on that value:
acl PARAM1 urlp(test) 1
use_backend BE1-back if PARAM1
acl PARAM2 urlp(test) 2
use_backend BE2-back if PARAM2
It works if I specify that parameter
On 30 янв. 2014 г., at 19:30, Baptiste bed...@gmail.com wrote:
Hu Dmitry,
In Post, the parameters are in the body.
You may be able to match them using the payload ACLs (HAProxy 1.5 only).
Hello,
I tried
acl PARAM1 payload(0,500) -m sub test=1
use_backend BE1-back if PARAM1
and it
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).
On 23.05.2013, at 11:22, joris dedieu joris.ded...@gmail.com wrote:
For my part I can't reproduce it.
$ uname -a
FreeBSD mailhost2 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29
18:27:25 UTC 2013
r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
$ cc -v
Hello!
When compiling the latest haproxy snapshot on FreeBSD-9 I get the following
warning:
cc -Iinclude -Iebtree -Wall -O2 -pipe -O2 -fno-strict-aliasing -pipe -DFREEBSD
_PORTS-DTPROXY -DCONFIG_HAP_CRYPT -DUSE_GETADDRINFO -DUSE_ZLIB -DENABLE_POL
L -DENABLE_KQUEUE -DUSE_OPENSSL
Hello!
I am using haproxy-1.5-dev17. I use hostnames in my config file rather than
IPs.
If DNS is not working, haproxy will dump core on start or config check.
How to repeat:
Put some fake stuff in /etc/resolv.conf so resolver does not work.
Run haproxy -c -f /path/to/haproxy.conf:
/tmp#
On 15.03.2013, at 15:54, Willy Tarreau w...@1wt.eu wrote:
Hi Dmitry,
On Fri, Mar 15, 2013 at 03:25:10PM +0400, Dmitry Sivachenko wrote:
Hello!
I am using haproxy-1.5-dev17. I use hostnames in my config file rather than
IPs.
If DNS is not working, haproxy will dump core on start
Hello!
What do you guys think?
I meant something similar to nginx's gzip_min_length.
On 07.02.2013, at 15:56, Dmitry Sivachenko trtrmi...@gmail.com wrote:
Hello!
It would be nice to add some parameter min_compress_size.
So haproxy will compress HTTP response only if response size
Hello!
It would be nice to add some parameter min_compress_size.
So haproxy will compress HTTP response only if response size is bigger than
that value.
Because compressing small data can lead to size increase and is useless.
Thanks.
On 26.12.2012, at 1:03, Willy Tarreau w...@1wt.eu wrote:
This fix is still wrong, as it only accepts one add-header rule, so
please use the other fix posted in this thread by seri0528 instead.
Thanks a lot! Works now.
Hello!
After update from -dev15, the following stats listener:
listen stats9 :30009
mode http
stats enable
stats uri /
stats show-node
stats show-legends
returns 503/Service unavailable.
With -dev15 it shows statistics page.
On 24.12.2012, at 19:51, Willy Tarreau
On 24.11.2012 18:25, Willy Tarreau wrote:
Hi Dmitry,
On Thu, Nov 22, 2012 at 08:03:26PM +0400, Dmitry Sivachenko wrote:
Hello!
I was reading docs about HTTP compression support in -dev13 and it is a bit
unclear to me how it works.
Imagine I have:
compression algo gzip
compression type
Hello!
I was reading docs about HTTP compression support in -dev13 and it is a bit
unclear to me how it works.
Imagine I have:
compression algo gzip
compression type text/html text/javascript text/xml text/plain
in defaults section.
What will haproxy do if:
1) backend server does NOT support
On 10/21/12 12:06 AM, Willy Tarreau wrote:
On Sun, Oct 21, 2012 at 12:01:10AM +0400, Dmitry Sivachenko wrote:
As I wrote in my original e-mail, I use tune.bufsize=32768. I did not
tweak tune.maxrewrite though.
I will try to decrease maxrewrite to 1024 and see if 'show errors' will
dump more
Hello!
I am using haproxy-1.4.22.
Now I can see the last invalid request haproxy rejected with Bad Request
return code with the following command:
$ echo show errors | socat stdio unix-connect:/tmp/haproxy.stats
1) The request seems to be truncated at 16k boundary. With very large
GET
On 10/20/12 11:49 PM, Willy Tarreau wrote:
Hello Dmitry,
On Sat, Oct 20, 2012 at 10:13:47PM +0400, Dmitry Sivachenko wrote:
Hello!
I am using haproxy-1.4.22.
Now I can see the last invalid request haproxy rejected with Bad Request
return code with the following command:
$ echo show errors
Hello!
I am using haproxy-1.4.20 on FreeBSD-9.
It was running without any problems for a long time, but after recent
changes in configuration it began to crash from time to time.
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU
On Thu, Mar 24, 2011 at 09:12:46PM +0100, Willy Tarreau wrote:
Hello Dmitry,
On Thu, Mar 24, 2011 at 05:28:13PM +0300, Dmitry Sivachenko wrote:
Hello!
With option forwardfor, haproxy adds X-Forwarded-For header at the end
of header list.
But according to wikipedia:
http
Hello!
With option forwardfor, haproxy adds X-Forwarded-For header at the end
of header list.
But according to wikipedia:
http://en.wikipedia.org/wiki/X-Forwarded-For
and other HTTP proxies (say, nginx)
there is standard format to specify several intermediate IP addresses:
X-Forwarded-For:
On Thu, Apr 08, 2010 at 11:58:25AM +0200, Willy Tarreau wrote:
3) I have sample configuration running with option http-server-close and
without option httpclose set.
I observe the following at haproxy side:
Request comes:
GET /some-url HTTP/1.1
Host: host.pp.ru
User-Agent:
On Mon, Jan 04, 2010 at 12:13:49AM +0100, Willy Tarreau wrote:
Hi all,
Yes that's it, it's not a joke !
-- Keep-alive support is now functional on the client side. --
Hello!
Are there any plans to implement server-side HTTP keep-alive?
I mean I want client connecting to haproxy NOT to
On Mon, Oct 12, 2009 at 11:39:54PM +0200, Krzysztof Piotr Oledzki wrote:
From 6fc49b084ad0f4513c36418dfac1cf1046af66da Mon Sep 17 00:00:00 2001
From: Krzysztof Piotr Oledzki o...@ans.pl
Date: Mon, 12 Oct 2009 23:09:08 +0200
Subject: [MINOR] CSS HTML fun
This patch makes stats page about
On Tue, Oct 13, 2009 at 02:16:12PM +0200, Benedikt Fraunhofer wrote:
Hello,
2009/10/13 Dmitry Sivachenko mi...@cavia.pp.ru:
End tag for ul is optional according to
really? Something new to me :)
OMG, sorry, I am blind.
Forget about that.
On Sun, Aug 30, 2009 at 04:58:16PM +0200, Krzysztof Oledzki wrote:
On Sun, 30 Aug 2009, Willy Tarreau wrote:
On Sun, Aug 30, 2009 at 04:18:58PM +0200, Krzysztof Oledzki wrote:
I think you wanted to put HCHK_STATUS_L57OK here, not OKD since we're
in the 2xx/3xx state and not 404
On Mon, Aug 31, 2009 at 03:39:35PM +0200, Krzysztof Oledzki wrote:
PS: another important suggestion is to make that delay tunable
parameter (like timeout.connect, etc), rather than hardcode
1000ms in code.
Why would you like to change the value? I found 1s very well chosen.
In our
On Thu, Aug 27, 2009 at 06:39:51AM +0200, Willy Tarreau wrote:
I'm seeing that you have both tcplog and httplog. Since they
both add a set of flags, the union of both is enabled which means
httplog to me. I should add a check for this so that tcplog disables
httplog.
In my log file I see
Hello!
I am running haproxy-1.4-dev2 with the following
configuration (excerpt):
global
log /var/run/loglocal0
user www
group www
daemon
defaults
log global
modetcp
balance roundrobin
maxconn 2000
option
Hello!
Please consider the following patches. They are required to
compile haproxy-1.4-dev2 on FreeBSD.
Summary:
1) include sys/types.h before netinet/tcp.h
2) Use IPPROTO_TCP instead of SOL_TCP
(they are both defined as 6, TCP protocol number)
Thanks!
--- src/backend.c.orig 2009-08-24
On Thu, Aug 06, 2009 at 12:03:25AM +0200, Willy Tarreau wrote:
On Wed, Aug 05, 2009 at 12:01:34PM +0400, Dmitry Sivachenko wrote:
On Wed, Aug 05, 2009 at 06:30:39AM +0200, Willy Tarreau wrote:
frontend my_front
acl near_usable nbsrv(near) ge 2
acl far_usable nbsrv(far) ge 2
On Wed, Aug 05, 2009 at 06:30:39AM +0200, Willy Tarreau wrote:
frontend my_front
acl near_usable nbsrv(near) ge 2
acl far_usable nbsrv(far) ge 2
use_backend near if near_usable
use_backend far if far_usable
# otherwise error
backend near
balance
Hello!
Thanks for clarification.
I have another question then (trying to solve my problem in a different way).
I want to setup the following configuration.
I have 2 sets of servers (backends): let call one set NEAR (n1, n2, n3)
and another set FAR (f1, f2, f3).
I want to spread incoming
Hello!
I am trying to setup haproxy 1.3.19 to use it as
TCP load balancer.
Relevant portion of config looks like:
listen test 0.0.0.0:17000
mode tcp
balance roundrobin
server srv1 srv1:17100 check inter 2
server srv2 srv2:17100 check inter 2
101 - 136 of 136 matches
Mail list logo