LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

strange "NOT HIT" messages sometimes

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: strange "NOT HIT" messages sometimes
From: Jakub Suchy <jakub@xxxxxxx>
Date: Thu, 2 Dec 2004 10:51:51 +0100
Hi,
i have setup of one director and two real servers (proxy)
After testing on test server, i managed to move LVS to new server.

After moving, i am in 50% cases getting "proxy server you have configured is
not responding" in firefox and 50% images doesn't load in browser (image = new
request)
I did
echo 10 > debug_level and started watching debug log:

# this is ok
Dec  1 14:07:35 cruzz kernel: IPVS: lookup service: fwm 0 TCP
147.32.127.230:3128 hit

# this is the problem i think
Dec  1 14:07:35 cruzz kernel: IPVS: lookup/in TCP
147.32.121.152:42853->147.32.127.230:3128 not hit

-> sometimes, LVS can't match rule for it's settings

my director configuration:
TCP  lvs.sh.cvut.cz:3128 sh
-> cache.sh.cvut.cz:3128        Route   1      0          1
-> cache2.sh.cvut.cz:3128       Route   1      1          6
debian woody stable
keepalived 1.1.7
kernel 2.4.28+grsec level high (lvs already built-in)

eth0:110  Link encap:Ethernet  HWaddr ...
 inet addr:147.32.127.230  Bcast:147.32.127.230  Mask:255.255.255.255

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
147.32.127.192  *               255.255.255.192 U     0      0        0 eth0

my realserver configuration (cache2, cache almost the same):
lo:110    Link encap:Local Loopback
          inet addr:147.32.127.230  Mask:255.255.255.255
kernel 2.4.28+grsec level customized

i don't think the problem is in real server, with different director, it worked
fine...

does anybody know anything to do?

thanks,
Jakub Suchy


-- 
-- Jakub Suchy <jakub.suchy@xxxxxxxxx>
-- Silicon Hill http://www.sh.cvut.cz
-- the biggest campus network in CZ, +3000 users

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