Date: Wed, 24 Feb 1999 22:34:05 -0500 From: Mike <phate1@ix.netcom.com> To: Luigi Rizzo <luigi@labinfo.iet.unipi.it> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Software bandwidth limiting solution Message-ID: <36D4C4AD.594CDFD6@ix.netcom.com> References: <199902240832.JAA20214@labinfo.iet.unipi.it>
next in thread | previous in thread | raw e-mail | index | archive | help
Luigi Rizzo wrote: > > > 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 ? > Yep, I will try this tomorrow at work. > > 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 ?) Yes, of course. Anything to fix the possible problems. Thanks, for your assistance Yev > > 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?36D4C4AD.594CDFD6>