LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: http reqs. to 4 real servers does not scale

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: http reqs. to 4 real servers does not scale
From: Graeme Fowler <graeme@xxxxxxxxxxx>
Date: Mon, 26 Feb 2007 14:55:01 +0000
Hi

On 26/02/2007 13:31, Stephan Hendl wrote:
Are you using persistence?

the default lvs parameters only

There aren't any LVS defaults with regards to virtual/realserver settings. I suppose this would be a good time to ask for the output from "ipvsadm -L -n".

What tool are you using to run the test?
http_load (http://www.acme.com/jef/)

root# ./http_load -parallel 200 -seconds 60 ../ism_baseline.txt

OK, so you're simulating 200 simultaneous connections.

Do you get any errors in your Apache logs (assuming Apache server)?
no error messages at all

But then you say...

no, with two server at the same time I got the apache error:

[Mon Feb 26 12:47:27 2007] [error] server reached MaxClients setting, consider 
raising the MaxClients setting

Not entirely surprising. Apache defaults (if I recall) to a MaxClients setting of either 100 or 200, which you are going to exceed with your test.

Make MaxClients something like 500 and run the tests again. It looks like your problems aren't LVS related, but application tuning is needed instead.

Graeme

<Prev in Thread] Current Thread [Next in Thread>