Здравствуйте, Rudy. check routing table and show which IP you ping.
Вы писали 24 сентября 2012 г., 19:20:28: Rb> Sometimes when I try to ping a neighbor machine (plugged directly in Rb> with no switch involved), I get: Rb> ping: sendto: No buffer space available Rb> ping: sendto: No buffer space available Rb> If I reset the interface 'ifconfig em1 down; ifconfig em1 up' the Rb> problem goes away. Rb> The pings are: Rb> FreeBSD 8.3 em1 --> FreeBSD 9.0 em2 Rb> and I am seeing the issue on the FreeBSD 8.3 machine. The box has 6GB Rb> of free ram and is a quagga router. Rb> What do I need to tune? Rb> Thanks! Rb> Rudy Rb> # netstat -m Rb> 10236/8454/18690 mbufs in use (current/cache/total) Rb> 10234/5388/15622/262144 mbuf clusters in use (current/cache/total/max) Rb> 10234/5382 mbuf+clusters out of packet secondary zone in use (current/cache) Rb> 0/327/327/12800 4k (page size) jumbo clusters in use Rb> (current/cache/total/max) Rb> 0/3070/3070/6400 9k jumbo clusters in use (current/cache/total/max) Rb> 0/0/0/3200 16k jumbo clusters in use (current/cache/total/max) Rb> 23027K/41827K/64854K bytes allocated to network (current/cache/total) Rb> 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) Rb> 0/0/0 requests for jumbo clusters denied (4k/9k/16k) Rb> 0/0/0 sfbufs in use (current/peak/max) Rb> 0 requests for sfbufs denied Rb> 0 requests for sfbufs delayed Rb> 0 requests for I/O initiated by sendfile Rb> 0 calls to protocol drain routines Rb> # ifconfig em1 Rb> em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 Rb> options=4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO> Rb> ether 00:25:90:56:60:7f Rb> inet 10.1.1.1 netmask 0xfffffffc broadcast 10.1.1.3 Rb> media: Ethernet autoselect (1000baseT <full-duplex>) Rb> status: active Rb> FreeBSD 8.3 Rb> ### loader.conf: Rb> net.link.ifqmaxlen=1024 Rb> hw.em.rxd=1024 Rb> hw.em.txd=1024 Rb> ### sysctl.conf: Rb> kern.timecounter.hardware=HPET Rb> net.route.netisr_maxqlen=2048 Rb> net.inet.ip.intr_queue_maxlen=1024 Rb> kern.ipc.somaxconn=256 Rb> kern.random.sys.harvest.interrupt=0 Rb> kern.random.sys.harvest.ethernet=0 Rb> net.inet.raw.maxdgram=16384 Rb> net.inet.raw.recvspace=16384 Rb> net.inet.icmp.icmplim=1000 Rb> net.inet.ip.fastforwarding=1 Rb> kern.ipc.nmbclusters=262144 Rb> net.inet.icmp.drop_redirect=1 Rb> dev.em.0.rx_processing_limit=200 Rb> dev.em.1.rx_processing_limit=200 Rb> dev.em.2.rx_processing_limit=200 Rb> dev.em.3.rx_processing_limit=200 Rb> net.link.ether.inet.max_age=300 Rb> hw.intr_storm_threshold=9000 Rb> # Security Rb> net.inet.ip.redirect=0 Rb> net.inet.ip.sourceroute=0 Rb> net.inet.ip.accept_sourceroute=0 Rb> net.inet.icmp.maskrepl=0 Rb> Not sure if it matters, but here are the tunings on the other box: Rb> FreeBSD 9.0 Rb> ### loader.conf: Rb> net.link.ifqmaxlen="512" Rb> ### sysctl.conf: Rb> net.inet.ip.fastforwarding=1 Rb> kern.ipc.nmbclusters=262144 Rb> kern.timecounter.hardware=HPET Rb> net.inet.ip.rtminexpire=2 Rb> net.inet.ip.rtmaxcache=1024 Rb> dev.igb.0.rx_processing_limit=480 Rb> dev.igb.1.rx_processing_limit=480 Rb> net.inet.icmp.icmplim=1000 Rb> kern.random.sys.harvest.interrupt=0 Rb> kern.random.sys.harvest.ethernet=0 Rb> net.link.ether.inet.max_age=300 Rb> ##Sat Apr 21 00:06:48 PDT 2012 Rb> net.inet.ip.redirect=0 Rb> net.route.netisr_maxqlen=2048 Rb> _______________________________________________ Rb> freebsd-net@freebsd.org mailing list Rb> http://lists.freebsd.org/mailman/listinfo/freebsd-net Rb> To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org" -- С уважением, Eugen mailto:kes-...@yandex.ru _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"