LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Really strange least connection problem

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Really strange least connection problem
From: Wensong Zhang <wensong@xxxxxxxxxxxx>
Date: Sun, 1 Apr 2001 22:58:14 +0800 (CST)

Hi,

Please apply the attached patch to ipvs-0.2.7
        cd <your_directory>/ipvs-0.2.7/ipvs
        patch -p0 < <your_directory>/ipvs-027-1.diff

Then, rebuild the ipvs modules and see if the same bug happens again.

The attached includes two fixes:
        * Fixed the wrong setting expiration of ipvs connection entries
        which would lead to the wrong add_sltimer/del_sltimer calls in the
        SMP environment.

        * Julian fixed the wrong ip_vs_conn_put in icmp handling code.

Thanks,

Wensong


On Tue, 27 Mar 2001, Jason Steenblik wrote:

> Problem:
> After about 3 or 4 hours of steady traffic through the load balancer
> using least connection the real servers begin to be excluded until only
> one is recieving traffic.  I have 16 real servers that all recieve
> traffic initally but one by one they go quiet until eventually all
> traffic is sent to just one server.  On the other hand, round robin
> works fine through weeks of continual traffic.  My logs are filled with
> thousands of the following message with both scheduling methods:
>
> kernel: bug: kernel sltimer added twice at f88a541e.
>
>
> Rules:
> /sbin/ipvsadm -C
> /sbin/ipvsadm -A -t 172.19.0.6:25 -s lc
> /sbin/ipvsadm -a -t 172.19.0.6:25 -R 172.18.2.1 -m
> /sbin/ipvsadm -a -t 172.19.0.6:25 -R 172.18.2.2 -m
> /sbin/ipvsadm -a -t 172.19.0.6:25 -R 172.18.2.3 -m
> /sbin/ipvsadm -a -t 172.19.0.6:25 -R 172.18.2.4 -m
> /sbin/ipvsadm -a -t 172.19.0.6:25 -R 172.18.2.5 -m
> /sbin/ipvsadm -a -t 172.19.0.6:25 -R 172.18.2.6 -m
> /sbin/ipvsadm -a -t 172.19.0.6:25 -R 172.18.2.7 -m
> /sbin/ipvsadm -a -t 172.19.0.6:25 -R 172.18.2.8 -m
> /sbin/ipvsadm -a -t 172.19.0.6:25 -R 172.18.2.9 -m
> /sbin/ipvsadm -a -t 172.19.0.6:25 -R 172.18.2.10 -m
> /sbin/ipvsadm -a -t 172.19.0.6:25 -R 172.18.2.11 -m
> /sbin/ipvsadm -a -t 172.19.0.6:25 -R 172.18.2.12 -m
> /sbin/ipvsadm -a -t 172.19.0.6:25 -R 172.18.2.13 -m
> /sbin/ipvsadm -a -t 172.19.0.6:25 -R 172.18.2.14 -m
> /sbin/ipvsadm -a -t 172.19.0.6:25 -R 172.18.2.15 -m
> /sbin/ipvsadm -a -t 172.19.0.6:25 -R 172.18.2.16 -m
>
> Box info:
> Kernel: 2.4.2
> ipvs: 0.2.7, 0.2.6, & 0.2.5
> cpu: 2 x 860Mhz
> Ram: 1GB
> Distro: RedHat 7.0
>
> Modules Loaded:
> Module                  Size  Used by
> ip_vs_lc                1008   1  (autoclean)
> ip_vs                  552961876  (autoclean) [ip_vs_lc]
> eepro100               17232   2  (autoclean)
>
> Thanks,
> Jason
>
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
>

Attachment: ipvs-027-1.diff
Description: Text document

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