From owner-freebsd-stable@freebsd.org Sat Apr 11 20:20:01 2020 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 DE502279CA5 for ; Sat, 11 Apr 2020 20:20:01 +0000 (UTC) (envelope-from oscar@prutt.party) Received: from ester.prutt.party (ester.prutt.party [95.216.168.48]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "ester.prutt.party", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4905pT0HkVz44VL for ; Sat, 11 Apr 2020 20:20:00 +0000 (UTC) (envelope-from oscar@prutt.party) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 24AAE3EF00 for ; Sat, 11 Apr 2020 22:19:49 +0200 (CEST) References: <2182C27C-A5D3-41BF-9CE9-7C6883E43074@distal.com> <68328a40-0e3d-f9cf-510b-9cbfd7cb8acd@grosbein.net> <654D00F8-DBEC-49BD-B871-7EB830F49D50@distal.com> User-agent: mu4e 1.3.3; emacs 26.3 From: Oscar Carlsson To: freebsd-stable@freebsd.org Cc: Subject: Re: ZFS server has gone crazy slow In-reply-to: <654D00F8-DBEC-49BD-B871-7EB830F49D50@distal.com> Date: Sat, 11 Apr 2020 22:19:42 +0200 Message-ID: <878sj122sh.fsf@prutt.party> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Last-TLS-Session-Version: TLSv1.3 X-Rspamd-Queue-Id: 4905pT0HkVz44VL X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.03 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[prutt.party:s=mail]; NEURAL_HAM_MEDIUM(-0.99)[-0.995,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:95.216.168.48]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; DKIM_TRACE(0.00)[prutt.party:+]; DMARC_POLICY_ALLOW(-0.50)[prutt.party,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-0.04)[ipnet: 95.216.0.0/16(1.42), asn: 24940(-1.58), country: DE(-0.02)]; ASN(0.00)[asn:24940, ipnet:95.216.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Sat, 11 Apr 2020 20:20:01 -0000 Chris Ross writes: > Wow. I=E2=80=99m so embarrassed that I didn=E2=80=99t notice that myself= . You=20 > mentioned it, and now I look back at df output and see that the=20 > filesystems are all very nearly full! > > It=E2=80=99s very slowly booting now, but assumedly after it comes=20 > online, I=E2=80=99ll be able to rectify that situation and hopefully=20 > that will be the issue. Thanks, and sorry that I hadn=E2=80=99t seen=20 > that myself! Hi, It might be worth to remove old snapshots referring to files you=20 are about to delete. Even if you remove a lot of files the space=20 won't be really reclaimed until you delete any references in snapshots to=20 these removed files, if that makes sense. You should also consider to add a periodic scrub of your pool,=20 once a week for consumer disks or once a month for enterprise disks, or=20 what have you. Regards, Oscar