From owner-freebsd-stable Wed Feb 24 14: 0:11 1999 Delivered-To: freebsd-stable@freebsd.org Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (Postfix) with SMTP id 71B9C120EF for ; Wed, 24 Feb 1999 14:00:07 -0800 (PST) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id JAA20214; Wed, 24 Feb 1999 09:32:06 +0100 From: Luigi Rizzo Message-Id: <199902240832.JAA20214@labinfo.iet.unipi.it> Subject: Re: Software bandwidth limiting solution To: phate1@ix.netcom.com Date: Wed, 24 Feb 1999 09:32:06 +0100 (MET) Cc: freebsd-stable@FreeBSD.ORG In-Reply-To: <002a01be5f50$3995e5e0$e5e26dd1@dialup.phate.com> from "phate1@ix.netcom.com" at Feb 23, 99 12:15:55 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1395 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > ipfw add 10000 pipe 1 tcp from 80 to any > ipfw pipe 1 config bw 5Mbits/s queue 10 > > anyway you look at it, if it the limiting starts to work, I start to go up > in mbufs.. I don't know who's responsible for it.. ? nor do i. however: pkts do remain trapped into the send buffer of the sender if they are not acked. maybe the bw limiting causes many clients to restart a connection etc. etc. -- can you monitor (with netstat -na) the Send-Q for active connections and see if the sum resembles something similar to the total mbuf occupation ? > So I have to remove the ipfw rule, before my mbufs go dangerously high, and > as soon as I remove it, mbufs drop from 7500 or so to like 1500 (their > normal).. oh, so that would suggest that for some reason pkts remain trapped into a pipe but never come out ... i will investigate the problem, in the meantime if you can tell me the above it will help track any bug (also, if i send you some patches, would you be able to test them ?) cheers luigi -----------------------------------+------------------------------------- Luigi RIZZO . EMAIL: luigi@iet.unipi.it . Dip. di Ing. dell'Informazione HTTP://www.iet.unipi.it/~luigi/ . Universita` di Pisa TEL/FAX: +39-050-568.533/522 . via Diotisalvi 2, 56126 PISA (Italy) -----------------------------------+------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message