Date: Wed, 24 Feb 1999 09:32:06 +0100 (MET) From: Luigi Rizzo <luigi@labinfo.iet.unipi.it> To: phate1@ix.netcom.com Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Software bandwidth limiting solution Message-ID: <199902240832.JAA20214@labinfo.iet.unipi.it> In-Reply-To: <002a01be5f50$3995e5e0$e5e26dd1@dialup.phate.com> from "phate1@ix.netcom.com" at Feb 23, 99 12:15:55 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> ipfw add 10000 pipe 1 tcp from <my_ip> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902240832.JAA20214>