Re: 1.5-dev19 crashes

2013-08-28 Thread Amyas
Nick Jennings nick@... writes: Nor can I set the core dump pattern:# echo /tmp/core-%e-%s-%u-%g-%p-%t /proc/sys/kernel/core_pattern bash: echo: write error: Operation not permitted (running as root) What distro/kernel? Did you check that you can see the value: cat

Re: 1.5-dev19 crashes

2013-08-28 Thread Amyas
Nick Jennings nick@... writes: I'm running  CentOS 6 with a 2.6.18 kernel, aside from a few additional packages via the EPEL, there are no significant modifications. # uname -aLinux 2.6.18-308.8.2.el5.028stab101.1 #1 SMP That might be one problem, you have TARGET=linux2628 but are using

Re: 1.5-dev19 crashes

2013-08-27 Thread amyas
Willy Tarreau w at 1wt.eu writes: +-+ | | | HAPROXY MUST NEVER EVER CRASH | | |

Re: HAproxy Server large number of connections

2013-07-11 Thread Amyas
jinge altman87120@... writes: Thanks Amyas! But why just connect to the Direct (transparent) connection so high. Which number is too high for direct? Maybe I misunderstood the question there. If I have maxconn 20 and I am getting 20 connections/sec then I will quickly end up with a huge

Re: haproxy is not rewriting the Host header in subsequent request

2013-07-01 Thread Amyas
Hudec Peter phudec@... writes: Hi all, For HAPROXY I tried this The problem is, that only the first request si rewritten from www04.devel.domain.com to www.devel.domain.com. All subsequent request did not pass the rewrite rule. I tried to lobby for a warning msg when you don't have some

Re: Haproxy shows lots of 'Errors req' stats on fronted

2013-07-01 Thread Amyas
koexuka koexuka@... writes: But I cant understand the line HTTP internal state 26, buffer flags 0x00909002, event #730 What does this mean? The people who understand the internals will have to help with that. But valid http requires \r\n and no \x00 afaik. You should check what IP is

Re: Haproxy shows lots of 'Errors req' stats on fronted

2013-06-29 Thread Amyas
koexuka koexuka@... writes: Hello I use Haproxy v1.4.24 on CentOS 5.9, with TCP mode. (My configure is nbproc 6 to use multi processes) Willy will say you should probably not use more than 1 proc I found a lots of 'Errors Req' on Haproxy status page. ( /haproxy?hastat ) This page shows on

Re: haproxy live demo IPv4-cached, IPv4-direct, etc under frontend

2013-06-23 Thread Amyas
Willy Tarreau w at 1wt.eu writes: You need two things : 1) enable option socket-stats so that haproxy keeps stats per-listener 2) name each of your listeners. Hoping this helps, Willy Thanks! Great, I was missing option socket-stats I assume that direct/cached is based on an haproxy

Re: haproxy current session rate and current session count

2013-06-23 Thread Amyas
Amyas amyas@... writes: Wei Kong wkong at ... writes: Hi, Can someone please help me understand what the difference is between these two metrics? See attached chart. We used to rely on session rate to determine when to autoscale but all of  a sudden, the session rate always

haproxy live demo IPv4-cached, IPv4-direct, etc under frontend

2013-06-22 Thread Amyas
I am just starting with haproxy on my personal website and have a basic setup. I was wondering if the config file for the live demo is available anywhere because I have not been able to figure out if I am missing something because I don't see these heading on my frontend status. IPv4-cached