2010/9/3 Timh Bergström :
> # recycle time_wait sockets
> net.ipv4.tcp_tw_recycle = 1
> (should I use tcp_tw_reuse instead?)
Yes. Actually you should neither without exceedingly careful testing.
We ran with net.ipv4.tcp_tw_recycle enabled for a month, not realizing
it was causing our site to be ex
On Tue, Aug 17, 2010 at 1:27 PM, Willy Tarreau wrote:
> On Tue, Aug 17, 2010 at 12:00:01PM +0200, Alexander Staubo wrote:
>> Varnish logs binary entries to a circular buffer held in shared
>> memory. Each individual session event -- client connect, new header
>> line, bac
On Tue, Aug 17, 2010 at 11:33 AM, Willy Tarreau wrote:
> On Tue, Aug 17, 2010 at 11:30:46AM +0200, Alexander Staubo wrote:
>>
>> No, but a local file definitely would. :-)
>
> Indeed, but a local file is not compatible with chroot and above all, it
> would not permit to be
On Tue, Aug 17, 2010 at 7:34 AM, Willy Tarreau wrote:
> If you log to local deamon, you should not lose anything in UDP.
Yes, I am logging to a local daemon.
> However, if the syslog daemon starts after haproxy or can't keep up with
> log rate, it can lose logs but then the unix socket or a TCP
On Mon, Aug 16, 2010 at 9:22 PM, Willy Tarreau wrote:
> Indeed, that looks strange. I don't remember about anything like this,
> and I even remember being careful about not logging this state. Maybe
> this has changed since this version, I don't know. Just one hint, do
> you see any failed check o
On Mon, Aug 16, 2010 at 9:06 PM, Willy Tarreau wrote:
>> We have now turned the option off temporarily to see if that helps;
>> it's only been half an hour, but no problems yet, so I'm optimistic. I
>> will let you know when we have confirmed that the problem has
>> definitely been solved.
>
> Tha
On Mon, Aug 16, 2010 at 12:27 AM, Willy Tarreau wrote:
> On Mon, Aug 16, 2010 at 12:02:47AM +0200, Alexander Staubo wrote:
>> On Wed, Aug 11, 2010 at 11:22 PM, Willy Tarreau wrote:
>> >> We are seeing some requests taking a while before being able to get a
>> >&
On Wed, Aug 11, 2010 at 11:22 PM, Willy Tarreau wrote:
>> We are seeing some requests taking a while before being able to get a
>> connection through to HAProxy. Using tcpdump we are seeing cases where
>> the clients needs 9 SYN packets before HAProxy responds to the
>> connect. Other services on
We are seeing occasional bursts of log output for a bunch of servers,
each line like this:
Server [name] is UP. 27 active and 0 backup servers online. 0
sessions requeued, 1 total in queue.
However, (1) the server has clearly been up all the time, and (2)
there's no corresponding "Server [name]
[Apologies if this reaches the list twice. I sent it approx 10 hours
ago, and it hasn't appeared yet, probably because I used the wrong
sender adress.]
We are seeing some requests taking a while before being able to get a
connection through to HAProxy. Using tcpdump we are seeing cases where
the c
We are seeing some requests taking a while before being able to get a
connection through to HAProxy. Using tcpdump we are seeing cases where
the clients needs 9 SYN packets before HAProxy responds to the
connect. Other services on the same box do not suffer the same
problem, so it's definitely HAPr
On Mon, Feb 1, 2010 at 12:14 AM, Willy Tarreau wrote:
> well, last year I helped some guys in charge of a world wide sports
> event which was hosted there. The performance was terrible. Completely
> unstable. [snip]
>
> In this experience, I think that for them, everything was virtual :
> the mach
Has anyone any experience tuning HAProxy for performance when running
on Amazon EC2 instances? For example, are there any kernel parameters
that should be tuned differently, or are some instance types better
than others? Does HAProxy generally perform well on EC2?
On Sat, Jan 23, 2010 at 12:59 PM, Willy Tarreau wrote:
> it may happen depending on the load, your syslog daemon and its config.
> The syslog daemon from the sysklogd package is generally OK up to 1000
> logs per second on recent, and will start dropping some of them above.
> However, it is import
This is only tangentially related to HAProxy, but our sysadmins are
coming up short, so I'm hoping someone on this list will be able to
help.
We are experiencing a lot of missing log entries when running HAProxy.
We have set up HAProxy to log to localhost, which is running the
standard Linux syslo
On Wed, Sep 2, 2009 at 3:31 PM, Miguel Pilar
Vilagran wrote:
> I am seeing (with option forwardfor) that HAProxy is replacing
> X-Fowarded-For instead of chaining the proxy chain. I know it's not an RFC
> but the defacto standard is to chain the proxies by appending to the header.
> For my usage it
On Sat, Mar 7, 2009 at 12:07 AM, Willy Tarreau wrote:
>> A less ambitious scheme would have the new proxy take over the client
>> connection and retry the request with the next available backend.
>
> Will not work because the connection from the client to the proxy will
> have been broken during t
On Fri, Mar 6, 2009 at 7:48 PM, Willy Tarreau wrote:
> When it comes to just move an IP address between two machines an do
> nothing else, the VRRP protocol is really better. It's what is
> implemented in keepalived. Simple, efficient and very reliable.
Actually, it seems that my information is o
On Tue, Mar 3, 2009 at 11:44 PM, Martin Karbon wrote:
> just wanted to know if anyone knows an opensource solution for a so called
> transparent failover: what I mean with that is, I installed two machines
> with haproxy on it which comunicate with each other via heartbeat. If one
> fails the othe
2009/3/2 FinalBSD :
> I'm sorry, I feel too hard to read and search about current txt-based
> docs.
> So, I spent some time in writing the SGML format for the docs this weekend,
> now I can convert it to Single/Split HTML or other supported format easily,
> I just finished most of the "Configur
On Fri, Jan 30, 2009 at 7:40 PM, Michael Fortson wrote:
> It doesn't look like this is supported yet since acl only supports
> block, but I'd like to route incoming requests based on the URI.
That's extremely basic, actually. On paths:
acl static path_beg /images/ /stylesheets/ /javascripts/
21 matches
Mail list logo