Hello. OS: # uname -a FreeBSD devel.ucsnet.ru 4.8-RELEASE-p13 FreeBSD 4.8-RELEASE-p13 #9: Wed Nov 26 12:38:10 YEKT 2003 root@devel.ucsnet.ru:/usr/src/sys/compile/PAVELSH_DEVEL i386 Problem - error message "No buffer space available". But, # netstat -m 145/18656/32768 mbufs in use (current/peak/max): 144 mbufs allocated to data 1 mbufs allocated to packet headers 142/628/8192 mbuf clusters in use (current/peak/max) 5920 Kbytes allocated to network (24% of mb_map in use) 25 requests for memory denied 1 requests for memory delayed 0 calls to protocol drain routines Peak was 18656, max 32768. Why i'm got message "No buffer space available"? P.S.: # sysctl -a net.inet net.inet.ip.portrange.lowfirst: 1023 net.inet.ip.portrange.lowlast: 600 net.inet.ip.portrange.first: 1024 net.inet.ip.portrange.last: 5000 net.inet.ip.portrange.hifirst: 49152 net.inet.ip.portrange.hilast: 65535 net.inet.ip.forwarding: 1 net.inet.ip.redirect: 1 net.inet.ip.ttl: 64 net.inet.ip.rtexpire: 315 net.inet.ip.rtminexpire: 10 net.inet.ip.rtmaxcache: 128 net.inet.ip.sourceroute: 0 net.inet.ip.intr_queue_maxlen: 100 net.inet.ip.intr_queue_drops: 0 net.inet.ip.accept_sourceroute: 0 net.inet.ip.fastforwarding: 0 net.inet.ip.keepfaith: 0 net.inet.ip.subnets_are_local: 0 net.inet.ip.dummynet.hash_size: 64 net.inet.ip.dummynet.curr_time: 60478441 net.inet.ip.dummynet.ready_heap: 0 net.inet.ip.dummynet.extract_heap: 0 net.inet.ip.dummynet.searches: 0 net.inet.ip.dummynet.search_steps: 0 net.inet.ip.dummynet.expire: 1 net.inet.ip.dummynet.max_chain_len: 16 net.inet.ip.dummynet.red_lookup_depth: 256 net.inet.ip.dummynet.red_avg_pkt_size: 512 net.inet.ip.dummynet.red_max_pkt_size: 1500 net.inet.ip.fw.enable: 1 net.inet.ip.fw.one_pass: 1 net.inet.ip.fw.debug: 1 net.inet.ip.fw.verbose: 1 net.inet.ip.fw.verbose_limit: 0 net.inet.ip.fw.dyn_buckets: 256 net.inet.ip.fw.curr_dyn_buckets: 256 net.inet.ip.fw.dyn_count: 0 net.inet.ip.fw.dyn_max: 1000 net.inet.ip.fw.static_count: 33 net.inet.ip.fw.dyn_ack_lifetime: 300 net.inet.ip.fw.dyn_syn_lifetime: 20 net.inet.ip.fw.dyn_fin_lifetime: 1 net.inet.ip.fw.dyn_rst_lifetime: 1 net.inet.ip.fw.dyn_udp_lifetime: 10 net.inet.ip.fw.dyn_short_lifetime: 5 net.inet.ip.fw.dyn_grace_time: 10 net.inet.ip.maxfragpackets: 256 net.inet.ip.maxfragsperpacket: 16 net.inet.ip.sendsourcequench: 0 net.inet.ip.check_interface: 0 net.inet.ip.stealth: 0 net.inet.icmp.maskrepl: 0 net.inet.icmp.icmplim: 200 net.inet.icmp.drop_redirect: 0 net.inet.icmp.log_redirect: 0 net.inet.icmp.icmplim_output: 1 net.inet.icmp.bmcastecho: 0 net.inet.tcp.rfc1323: 1 net.inet.tcp.rfc1644: 0 net.inet.tcp.mssdflt: 512 net.inet.tcp.keepidle: 7200000 net.inet.tcp.keepintvl: 75000 net.inet.tcp.sendspace: 32768 net.inet.tcp.recvspace: 57344 net.inet.tcp.keepinit: 75000 net.inet.tcp.delacktime: 100 net.inet.tcp.log_in_vain: 0 net.inet.tcp.blackhole: 0 net.inet.tcp.delayed_ack: 1 net.inet.tcp.drop_synfin: 0 net.inet.tcp.path_mtu_discovery: 1 net.inet.tcp.slowstart_flightsize: 1 net.inet.tcp.local_slowstart_flightsize: 4 net.inet.tcp.newreno: 1 net.inet.tcp.tcbhashsize: 512 net.inet.tcp.do_tcpdrain: 1 net.inet.tcp.pcbcount: 66 net.inet.tcp.icmp_may_rst: 1 net.inet.tcp.isn_reseed_interval: 0 net.inet.tcp.inflight_enable: 0 net.inet.tcp.inflight_debug: 0 net.inet.tcp.inflight_min: 6144 net.inet.tcp.inflight_max: 1073725440 net.inet.tcp.inflight_stab: 20 net.inet.tcp.syncookies: 1 net.inet.tcp.syncache.bucketlimit: 30 net.inet.tcp.syncache.cachelimit: 15359 net.inet.tcp.syncache.count: 0 net.inet.tcp.syncache.hashsize: 512 net.inet.tcp.syncache.rexmtlimit: 3 net.inet.tcp.msl: 30000 net.inet.tcp.rexmit_min: 1000 net.inet.tcp.rexmit_slop: 200 net.inet.tcp.always_keepalive: 1 net.inet.udp.checksum: 1 net.inet.udp.maxdgram: 9216 net.inet.udp.recvspace: 41600 net.inet.udp.log_in_vain: 0 net.inet.udp.blackhole: 0 net.inet.accf.unloadable: 0 net.inet.raw.maxdgram: 16384 net.inet.raw.recvspace: 16384 P.P.S. Sorry for bad English. -- ? ?????????, Pavel mailto:pavelbsd@mail.ru
Hello>> OS: >> # uname -a >> FreeBSD devel.ucsnet.ru 4.8-RELEASE-p13 FreeBSD 4.8-RELEASE-p13 >> #9: Wed Nov 26 12:38:10 YEKT 2003 >> root@devel.ucsnet.ru:/usr/src/sys/compile/PAVELSH_DEVEL i386 >> >> Problem - error message "No buffer space available". >> But,l> What NIC are you using? '3C905-TX Fast Etherlink XL PCI 10/100' l> You might not have a valid link at all, which is why it fills up l> the buf space. What's solution in this case? Maybe the tunnel caused problem? Tunnel - mpd-3.14. with slow hosts -- With best wishes, Pavel mailto:pavelbsd@mail.ru
On Thu, Jan 15, 2004 at 11:39:37AM +0500, Pavel S. Shirshov wrote:> Problem - error message "No buffer space available". > But, > # netstat -m > 145/18656/32768 mbufs in use (current/peak/max): > 144 mbufs allocated to data > 1 mbufs allocated to packet headers > 142/628/8192 mbuf clusters in use (current/peak/max) > 5920 Kbytes allocated to network (24% of mb_map in use) > 25 requests for memory denied > 1 requests for memory delayed > 0 calls to protocol drain routines > > Peak was 18656, max 32768. Why i'm got message "No buffer space > available"?Are You using dummynet? -- Pawe? Ma?achowski