From owner-freebsd-stable@freebsd.org Wed Dec 4 17:56:56 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 647E21AA121 for ; Wed, 4 Dec 2019 17:56:56 +0000 (UTC) (envelope-from walterp@gmail.com) Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47Smkv3Ql8z49B6 for ; Wed, 4 Dec 2019 17:56:55 +0000 (UTC) (envelope-from walterp@gmail.com) Received: by mail-io1-xd2b.google.com with SMTP id v18so589859iol.2 for ; Wed, 04 Dec 2019 09:56:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=kZga++Qi+S/7iXP0X+esEoq40aNJRysnEs+phfyMtU4=; b=A4HJGLX4yzFMbHRnBqSyw5yN8GICjoSjaNSRAepVt3wKkmV11Yd/79p/nHyHIRiV5Q n53CQ5C1GkEC/QLp2Jx09vlKIUEN6ZE23H0Pu0LUR2FPWvDeBq7Ur9QarGNfATg+tPQb z4Qg03u2OPKXElF1TFv1mJhHtiFzVRSXZd20IiS+pqpD0vAbWIKPVahbFXsy2aWrbwL4 4zVNFQdCnC6KG2dG+iGhEwMbaUjB5qB/waPjWfBh/DZmTiOxOPpMKvsCf0BNsxLsH5iZ XM7xQiux/N7i3JQ9dW5Xh749hsnPRYdSHJAk0JmxPwCx9vXatuMfySwmnFkxTe5N/8wW 51tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=kZga++Qi+S/7iXP0X+esEoq40aNJRysnEs+phfyMtU4=; b=np2KmwuAis+/kVGE0XmQcuoYtBjP+89Q3ePYifWJwnVkShT2IMOTGfB0WgWubg1rLD JE37Uk3l8v70NW+eZgXGVZx//1BTv5F61/AbYpi/Xp365G9CifXa7pbpyZS4Qmay60wt NKQiJlxTtSZvGHpd4REQxVjwA47rqB3Va5i/gBwOoLBStLi4YiB4c7RoJw9cdta2L5oE zsiNmaDarZ4dLgyNkfvW/o/BOoVTjpuBIFWNGYE/Tuztt/ZWuV5MPehNf+s8lRUvhHpM z5AzV+vLqc9q5O0UnzHrYgwy789CfYoj5UZL2DP7QIGN4soyX8hbSAJCtCz5LOFF/rPb bnGw== X-Gm-Message-State: APjAAAXRoiWNSNjNgEkM8BTONG87sKjUduaV7mrvpL6XwszKVEATpiI4 +jK+CxPAGzJuCcXZ1wn2GbwonM3yehqFzlznm/1+FZU4 X-Google-Smtp-Source: APXvYqwJVzDodfcFZg5PU3uRl94llcHkvqjLisE3F0LUiSydz3V803MBvfzT+NP9tqUxu2xevbfmH0JfDmcmtt9gAmQ= X-Received: by 2002:a5e:9246:: with SMTP id z6mr3230402iop.232.1575482213720; Wed, 04 Dec 2019 09:56:53 -0800 (PST) MIME-Version: 1.0 References: <20191203233852.f03c3d5ff2c6ad9a31ed44e9@j.email.ne.jp> In-Reply-To: <20191203233852.f03c3d5ff2c6ad9a31ed44e9@j.email.ne.jp> From: Walter Parker Date: Wed, 4 Dec 2019 09:56:44 -0800 Message-ID: Subject: Re: "dhclient: send_packet: No buffer space available" To: freebsd-stable Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 47Smkv3Ql8z49B6 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=A4HJGLX4; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of walterp@gmail.com designates 2607:f8b0:4864:20::d2b as permitted sender) smtp.mailfrom=walterp@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(0.00)[ip: (-5.86), ipnet: 2607:f8b0::/32(-2.23), asn: 15169(-1.93), country: US(-0.05)]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[b.2.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Dec 2019 17:56:56 -0000 On Tue, Dec 3, 2019 at 8:39 PM Yoshihiro Ota wrote: > > Hi, > > I recently switched internet service provider and got much faster connection. > However, I started seeing some unstable connections between the WiFi router and FreeBSD. > I was on FreeBSD 12.0-RELEASE and switched to 12.1-RELEASE. > Both versions have same symptoms. > > I get "dhclient: send_packet: No buffer space available" to console and then I frequently lose connection after seeing it. > After taking the wlan down and re-connect it with wpa_supplicant, I usually get a connection back. > > On the side note, I also see these outputs to console and syslog: > ath0: bb hang detected (0x4), resetting > ath0: ath_legacy_rx_tasklet: sc_inreset_cnt > 0; skipping > > Does anyone have any advice how to fix/work-around or where to start looking: ath driver, dhclinet, kernel, wlan, and/or wpa_supplicant? > > Thanks, > Hiro > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" IIRC, that means that you are running out of mbufs. There are two ways to fix it, increase the number of mbufs (kern.ipc.nmbufs or kern.ipc.nmbclusters), or increase the aggressiveness of closing old network connections (I do this from a menu in pfSense, so I don't remember the command line setting name off hand). Searching for the error online suggests that this error can also be caused if the layer 2 network connection failed, such as a wlan association failure. Or that there is a network filter somewhere that is sinking/blocking packets and that this is causing the mbuf queue to fill up (every network request requires an mbuf). In the past, people have also fixed this by swapping the network hardware. Walter -- The greatest dangers to liberty lurk in insidious encroachment by men of zeal, well-meaning but without understanding. -- Justice Louis D. Brandeis