LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: InBPS rate statistics wrong? (for fwmark service)

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: InBPS rate statistics wrong? (for fwmark service)
From: Roberto Nibali <ratz@xxxxxxxxxxxx>
Date: Mon, 20 Feb 2006 19:31:48 +0100
Mark de Vries wrote:
Just testing using fwmark services and noticed that even when no packets
are hitting the service ipvsadm -L --rate keeps showing InBPS > 0.

Strange indeed. Which kernel?

I have a single itables rule marking packets (with '10').

iptables -t mangle -xnvL has shown a constant of 103 packets having hit
the rule for hours... Yet ipvsadm -L -f 10 --rate shows:

Prot LocalAddress:Port     CPS    InPPS   OutPPS    InBPS   OutBPS
  -> RemoteAddress:Port
FWM  10                      0        3        0      182        0
  -> cns3:domain             0        0        0       30        0
  -> cns2:domain             0        0        0        0        0
  -> cns1:domain             0        1        0       53        0
  -> cns0:domain             0        2        0       98        0

If no packets have been marked for hours how can this be?

Could you zero the stats counters and wait again for a while? For now I don't know what would cause this.

Regards,
Roberto Nibali, ratz
--
echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq' | dc

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