Next Steps to Debug ZFS Hang?

Chad Leigh Shire.Net LLC chad at shire.net
Wed Oct 8 05:13:23 UTC 2014


On Oct 7, 2014, at 7:48 PM, Nick Sivo <nick at ycombinator.com> wrote:

> Hello,
> 
> 
> I've been having trouble with ZFS on my server. For the most part it works splendidly, but occasionally I'll experience permanent hangs.
> 
> 
> For example, right now on one of my ZFS filesystems (the others are fine), I can read, write, and stat files, but if I run ls in any directory, ls and the terminal will hang. CTRL-C, and kill -9 can't kill it:
> 

How much free space do you have?  (percentage wise).  I found out (and have had others confirm) that when you get below a certain amount of free space you can get these symptoms (which percentage may vary per system and how the zfs config is set up [kernel parameters]).

Also, depending on what you are doing the various parameters may need to be tweaked.  Look in the archives for similar posts (including from me).



More information about the freebsd-questions mailing list