Kenjiro Cho wrote: > Krassimir Slavchev wrote: > > I run altq 1.2 on FreeBSD 3.2 box. > > > > When I run nmap (nmap -sP 192.168.1.0/24) to see which hosts is up on a limited interface > > I don't know what nmap is but, apparently, it sends many packets at a > time. Yes, nmap send icmp packets to each IP. > > > > I get No buffer space message. > > This means the queue is full. > > > This is my cbq.conf file: > > > > interface ed0 bandwidth 1M cbq > > class cbq ed0 root_class NULL pbandwidth 100 > > class cbq ed0 def_class root_class pbandwidth 14 default > > > > class cbq ed0 udp_class def_class pbandwidth 2 > > filter ed0 udp_class 0 0 0 0 17 > > > > class cbq ed0 tcp def_class pbandwidth 2 red > > filter ed0 tcp 0 0 0 0 6 # other tcp > > > > class cbq ed0 http def_class pbandwidth 3 red > > filter ed0 http 0 0 0 80 6 # http > > filter ed0 http 0 80 0 0 6 # http > > Is it your intention to limit UDP and TCP up to 20Kbps? > It isn't surprising if the queue becomes full with this rate limit. > > -Kenjiro I would like to limit traffic to 50-60Kbps. What is minimal rate limits in this situation ? Thanks -- Krassimir Slavchev Bulinfo Ltd. krassi@bulinfo.net (+359-2)963-3652 http://www.bulinfo.net (+359-2)963-3764
S/MIME Cryptographic Signature