ZFS server has gone crazy slow

Robert Clausecker fuz at fuz.su
Sat Apr 11 17:48:41 UTC 2020


Hi Chris,

What does zpool status say about the pool?  Also check if the SMART values
of these disks are okay.

Yours,
Robert Clausecker

On Sat, Apr 11, 2020 at 05:36:37PM +0000, Chris Ross wrote:
> I have a FreeBSD 11.3-STABLE server that is my router, using a ZFS
> mirror (of two GPT disks) as it’s disk.  It’s many years old, and has
> only been misbehaving like this for a day or so.  I’m trying to figure
> out what’s wrong.
> 
> I confirmed that internet connectivity isn’t the problem, and a reboot
> didn’t fix it.  (The reboot took 10-15 minutes to finish going
> multi-user, starting daemons, due to the underlying problem described
> below.)
> 
> Truss’ing a very basic command (date), I can see that close() and
> exit() calls are taking 1-2 seconds.  All of the files being opened
> are on ZFS, but I don’t know if that’s for sure related.  Similarly,
> using shell builtin “echo foo” always is immediate, but “/bin/echo”
> sometimes works quickly, but sometimes the close() on
> /var/run/ld-elf.so.hints takes 3-5 seconds.
> 
> I _think_ this is a filesystem problem.  It’s very hard to diagnose
> because logging in, and doing anything, takes many seconds per
> command.  zpool status shows my mirror as online, so I’m not sure
> where I should check.
> 
> I’d appreciate any help!  Thanks much…
> 
>            - Chris
> 
> 
> _______________________________________________
> freebsd-fs at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"
> 

-- 
()  ascii ribbon campaign - for an 8-bit clean world 
/\  - against html email  - against proprietary attachments


More information about the freebsd-fs mailing list