From nobody Thu Nov 11 04:35:35 2021 X-Original-To: freebsd-stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8B5E81846E53 for ; Thu, 11 Nov 2021 04:35:48 +0000 (UTC) (envelope-from cross+freebsd@distal.com) Received: from relay.wiredblade.com (relay.wiredblade.com [168.235.95.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4HqTRl2zXZz4rJc for ; Thu, 11 Nov 2021 04:35:47 +0000 (UTC) (envelope-from cross+freebsd@distal.com) Received: from mail.distal.com (pool-108-48-165-176.washdc.fios.verizon.net [108.48.165.176]) by relay.wiredblade.com with ESMTPSA (version=TLSv1.2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256) ; Thu, 11 Nov 2021 04:35:40 +0000 Received: from smtpclient.apple ( [2001:420:c0c8:1002::200]) by tristain.distal.com (OpenSMTPD) with ESMTPSA id 60d25b04 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Wed, 10 Nov 2021 23:35:38 -0500 (EST) From: Chris Ross Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.20.0.1.32\)) Subject: swap_pager: cannot allocate bio Message-Id: <9FE99EEF-37C5-43D1-AC9D-17F3EDA19606@distal.com> Date: Wed, 10 Nov 2021 23:35:35 -0500 To: freebsd-stable@freebsd.org X-Mailer: Apple Mail (2.3693.20.0.1.32) X-Rspamd-Queue-Id: 4HqTRl2zXZz4rJc X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of cross@distal.com designates 168.235.95.80 as permitted sender) smtp.mailfrom=cross@distal.com X-Spamd-Result: default: False [3.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[distal.com]; R_SPF_ALLOW(-0.20)[+a:relay.dynu.com]; NEURAL_SPAM_LONG(0.97)[0.971]; NEURAL_SPAM_SHORT(0.83)[0.825]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:3842, ipnet:168.235.92.0/22, country:US]; TAGGED_FROM(0.00)[freebsd]; RCVD_TLS_ALL(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[108.48.165.176:received] X-ThisMailContainsUnwantedMimeParts: N Hey all. I have a system that I=E2=80=99m trying to do some intensive = CPU and I/O on. FreeBSD 13.0-RELEASE, amd64, 128GB RAM, hardware RAID1 = OS volume, and a large (40TB) zpool where most of the I/O is happening. Initially, it was failing for me because it was running out of swap = space. It had only the normal small (4-8G) swap partition, so I resized = the filesystems on the root disk and now have 400+GB swap. The system = had frozen up and I wasn=E2=80=99t able to log in. When I go to the = console, I find a long list of: swap_pager: cannot allocate bio lines. I was able to log into the console as root and pstat -s shows = the swap minimally used (7.5GB used). Attempting a =E2=80=9Czpool = status=E2=80=9D at that point locked up. I don=E2=80=99t know if the = problem is the memory subsystem, or zfs. But, based on the error, is there perhaps some kernel parameter I can = tune that might prevent the swap pager from encountering that error? - Chris=