From owner-freebsd-net@freebsd.org Mon Jun 3 18:09:59 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 64EA315B9126; Mon, 3 Jun 2019 18:09:59 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [IPv6:2a03:3100:c:13::5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "eg.sd.rdtc.ru", Issuer "eg.sd.rdtc.ru" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A76618DF2C; Mon, 3 Jun 2019 18:09:58 +0000 (UTC) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: freebsd-net@freebsd.org Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id x53I9kYU099547 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 4 Jun 2019 01:09:46 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: SNMP/No Bufferspace To: Larry Rosenman References: <8dba5eaea800356d279eb81d7d8b2a30@lerctr.org> Cc: Freebsd net , owner-freebsd-net@freebsd.org From: Eugene Grosbein Message-ID: Date: Tue, 4 Jun 2019 01:09:39 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <8dba5eaea800356d279eb81d7d8b2a30@lerctr.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: A76618DF2C X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.98)[-0.981,0] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jun 2019 18:09:59 -0000 04.06.2019 0:49, Larry Rosenman wrote: > On 06/03/2019 12:23 pm, Eugene Grosbein wrote: >> 03.06.2019 22:56, Larry Rosenman wrote: >> >>> I have a mrtg job that runs every 5 minutes on a FreeBSD-CURRENT box and gets this randomly: >>> >>> SNMP Error: >>> send_query: No buffer space available >> >> [skip] >> >>> How can I debug this? >> >> Your outgoing network interface stalls for some reason. >> Where is this traffic directed to? Some kind of VPN tunnel? Physical >> NIC that looses link? >> Some Wifi or mobile network? >> > physical NIC on the same physical network (all Ubiquiti gear). > > > ⌂66% [ler@borg.lerctr.org:~] $ ifconfig > lo0: flags=8049 metric 0 mtu 16384 > options=680003 > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 > inet 127.0.0.1 netmask 0xff000000 > groups: lo > nd6 options=21 > bce0: flags=8943 metric 0 mtu 1500 > options=c01bb > ether a4:ba:db:29:66:95 > media: Ethernet autoselect (1000baseT ) > status: active > nd6 options=29 > bce1: flags=8802 metric 0 mtu 1500 > options=c01bb > ether a4:ba:db:29:66:97 > media: Ethernet autoselect > nd6 options=29 > bce2: flags=8802 metric 0 mtu 1500 > options=c01bb > ether a4:ba:db:29:66:99 > media: Ethernet autoselect > nd6 options=29 > bce3: flags=8802 metric 0 mtu 1500 > options=c01bb > ether a4:ba:db:29:66:9b > media: Ethernet autoselect > nd6 options=29 > bridge0: flags=8843 metric 0 mtu 1500 > ether 02:d7:b8:51:f2:00 > inet6 fe80::d7:b8ff:fe51:f200%bridge0 prefixlen 64 scopeid 0x6 > inet6 2600:1700:210:b180:d7:b8ff:fe51:f200 prefixlen 64 autoconf > inet 192.168.200.4 netmask 0xfffffc00 broadcast 192.168.203.255 > id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 > maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 > root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 > member: bce0 flags=143 > ifmaxaddr 0 port 2 priority 128 path cost 55 > groups: bridge > nd6 options=23 > ⌂68% [ler@borg.lerctr.org:~] $ > > bridge0 via bce0 to the "main-switch" . and all the > AP's,switches, etc. You should search system logs for possible link problems and check counters shown by "netstat -idnh" (errs/drop/coll). Also check counters by "netstat -m" for mbufs/mbuf clusters.