LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Got error when start real webserver during test time

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Got error when start real webserver during test time
From: "L.S. Keijser" <leon@xxxxxxxx>
Date: Thu, 25 Nov 2010 13:32:19 +0100
On Thu, 2010-11-25 at 10:40 +0000, Suchada Pakapongpan wrote:
> Hi, Léon
> Thanks for your reply. 
> I think I configure it to periodically check every 2 minutes to all 
> realservers already. when I start realserver, LVS table always auto adjust 
> the weigth. My ldirectord.cf here
> checktimeout=10
> checkinterval=2

This is every 2 seconds, not minutes. Try changing it to 120 instead.

> autoreload=no
> #logfile="/var/log/ldirectord.log"
> logfile="local0"
> quiescent=yes
>  virtual=192.168.1.1:80
>         fallback=127.0.0.1:80
>         real=192.168.1.2:80 gate
>         real=192.168.1.3:80 gate
>         real=192.168.1.4:80 gate
>         service=http
>         request="ldirector.html"
>         receive="Test Page"
>         scheduler=wlc
>         protocol=tcp
>         checktype=negotiate
> but I don't know why starting some real web server during http test, I always 
> get 5xx error?
> and how can I get away from this errors?

I would suggest you take a look at the webserver error logs first. Your
problem might not be LVS related.

regards,

Léon


_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
<Prev in Thread] Current Thread [Next in Thread>