Re: Performance problems

2012-02-13 Thread Sebastian Fohler
Thank you for your reply, I had to stop the testing, cause it made to much trouble. Has someone a good idea how to produce enough load to reconstruct the situation? I need load to solve this problem. Everything is working fine without. As soon as I find a way to construct some test condition I w

Re: Performance problems

2012-02-12 Thread Willy Tarreau
On Sun, Feb 12, 2012 at 02:29:12PM +0100, Sebastian Fohler wrote: > On 12.02.2012 14:24, Cyril Bonté wrote: > >You said that you couldn't find anything useful in the logs. > >From the configuration you just posted, you're using the default log > >format. > >You should use an enhanced one, at least

Re: Performance problems

2012-02-12 Thread Willy Tarreau
Hi Cyril, Sebastian, On Sun, Feb 12, 2012 at 10:49:26PM +0100, Cyril Bonté wrote: > Le 12/02/2012 22:31, Sebastian Fohler a écrit : > >I've noticed that too. > >The problem is, when I try to reach the backendservers themselves (they > >are all reachable by there own name, adserve1/adserver2/...).

Re: Performance problems

2012-02-12 Thread Cyril Bonté
Le 12/02/2012 22:31, Sebastian Fohler a écrit : I've noticed that too. The problem is, when I try to reach the backendservers themselves (they are all reachable by there own name, adserve1/adserver2/...). The don't show any problems at all, the question in that case is, how do I find out which er

Re: Performance problems

2012-02-12 Thread Sebastian Fohler
I've noticed that too. The problem is, when I try to reach the backendservers themselves (they are all reachable by there own name, adserve1/adserver2/...). The don't show any problems at all, the question in that case is, how do I find out which error they throw, seen from the lb end. Sure I h

Re: Performance problems

2012-02-12 Thread Baptiste
On the last screenshot you set, you had a lot of retries... Which means there may be some issues for your HAProxy to reach the server sometimes. Have you checked all the network settings (speed and duplex) on both servers (web and vsphere) and switches?

Re: Performance problems

2012-02-12 Thread Sebastian Fohler
I've changed nbproc to 1 now, as I did change the httpclose option, it seems to help a little. The adserver.adworxs.net backends are physical servers. The adserver.dev.adworxs.net backends are vm's. There are four physical NICs used by the vsphere server. Greets, Sebastian On 12.02.2012 14:42,

Re: Performance problems

2012-02-12 Thread Baptiste
Your nbproc is still 2. You should turn it to 1. You should also remove the option httpclose, replacing it by option http-server-close. It will save some packets on the client side. Are the backend servers VMs too? Are they hosted on the same vsphere server? How many physical network cards are used

Re: Performance problems

2012-02-12 Thread Sebastian Fohler
On 12.02.2012 14:24, Cyril Bonté wrote: Take into account that virtualization can be a bottleneck for a network component like haproxy. I know that, that's the reason I used one physical nic especially for the haproxy instances. Sure there could still be some problem, but that would be a mette

Re: Performance problems

2012-02-12 Thread Cyril Bonté
Le 12/02/2012 13:21, Sebastian Fohler a écrit : Hi, On 12.02.2012 12:54, Baptiste wrote: lukaszjagielloorg Hi, When speaking about virtualization, there are so many factors to take into account. - which hypervisor are we speaking about ? VMWare ESXi 5.0 Take into account that virtualizati

Re: Performance problems

2012-02-12 Thread Sebastian Fohler
I did sent you the screenshot, before the changes. Just to clear that out. How do I know that HAProxy is taking all the CPU resources? PFSense shows the CPU and NIC Traffic resources, I get a rising CPU load until it's 100% and after that haproxy stops the adserver.adworxs.net frontend the adse

Re: Performance problems

2012-02-12 Thread Sebastian Fohler
Hi, On 12.02.2012 12:54, Baptiste wrote: lukaszjagielloorg Hi, When speaking about virtualization, there are so many factors to take into account. - which hypervisor are we speaking about ? VMWare ESXi 5.0 - what phisical NIC are using? Broadcom Corporation Broadcom NetXtreme II BCM5716 1

Re: Performance problems

2012-02-12 Thread Baptiste
Hi Sebastian, Can you take a screenshot of your stats page and share it with us? Then, please do the changes below in your configuration: turn nbproc to 1 increase the maxconn on the frontend to 4000 cheers

Re: Performance problems

2012-02-12 Thread Sebastian Fohler
ous thread, then. It would be easier for everyone. Thanks for your help, I guess you'll have better answers with such an effort ;-) Le 12/02/2012 11:05, Sebastian Fohler a écrit : I've checked the values Willy posted on the haproxy page. All my hardware configurations should meet t

Re: Performance problems

2012-02-12 Thread Baptiste
2012/2/12 Łukasz Jagiełło : > 2012/2/12 Sebastian Fohler : >> I've checked the values Willy posted on the haproxy page. All my hardware >> configurations should meet the needs of haproxy. Still I have major >> performance problems. How do I best find out why? The

Re: Performance problems

2012-02-12 Thread Sebastian Fohler
I've checked the values Willy posted on the haproxy page. All my hardware configurations should meet the needs of haproxy. Still I have major performance problems. How do I best find out why? The logs tell me not nearly anything I neec to now to fix that problems. Since I use vm's to try hapro

Re: Performance problems

2012-02-12 Thread Łukasz Jagiełło
2012/2/12 Sebastian Fohler : > I've checked the values Willy posted on the haproxy page. All my hardware > configurations should meet the needs of haproxy. Still I have major > performance problems. How do I best find out why? The logs tell me not > nearly anything I neec t

Re: Performance problems

2012-02-12 Thread Cyril Bonté
the needs of haproxy. Still I have major performance problems. How do I best find out why? The logs tell me not nearly anything I neec to now to fix that problems. Since I use vm's to try haproxy, I'm able to change some specifics in case I need to. My Hardware assigned to the vm's is

Performance problems

2012-02-12 Thread Sebastian Fohler
I've checked the values Willy posted on the haproxy page. All my hardware configurations should meet the needs of haproxy. Still I have major performance problems. How do I best find out why? The logs tell me not nearly anything I neec to now to fix that problems. Since I use vm'

Re: Performance problems with 1.3.20

2009-08-13 Thread Willy Tarreau
Hi, On Wed, Aug 12, 2009 at 12:50:00PM -0700, James Hartshorn wrote: > Hi, > > We run Haproxy on Amazon ec2 for http load balancing.  On Monday > (august 11) we upgraded seven of our load balancers in two of our > products to 1.3.20 from 1.3.15.8 (four servers, all of one product) > and 1.3.18 (t

Performance problems with 1.3.20

2009-08-12 Thread James Hartshorn
Hi, We run Haproxy on Amazon ec2 for http load balancing.  On Monday (august 11) we upgraded seven of our load balancers in two of our products to 1.3.20 from 1.3.15.8 (four servers, all of one product) and 1.3.18 (three servers, all of the other product).  We kept the config files the same.  We f