Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Oct 2011 18:37:17 -0400
From:      Dave Cundiff <syshackmin@gmail.com>
To:        Daniel Staal <DStaal@usa.net>
Cc:        freebsd-fs@freebsd.org, questions@freebsd.org
Subject:   Re: ZFS Write Lockup
Message-ID:  <CAKHEz2ZyZm5QHBZ4RS7jUZX64WfZTYs8Wy9F6h7h2pkQza-KNw@mail.gmail.com>
In-Reply-To: <EB6EF2AF144081215CE275CC@mac-pro.magehandbook.com>
References:  <CAKHEz2a%2BRFmcCyEMnooDmb8vERA-qg0A474LZ9mLtPvoij8Xmw@mail.gmail.com> <EB6EF2AF144081215CE275CC@mac-pro.magehandbook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 5, 2011 at 5:52 PM, Daniel Staal <DStaal@usa.net> wrote:
> --As of October 4, 2011 2:43:45 AM -0400, Dave Cundiff is alleged to have
> said:
>
>> I don't know what triggers the problem but I know how to fix it. If I
>> perform a couple snapshot deletes the IO will come back in line every
>> single time. Fortunately I have LOTS of snapshots to delete.
>>
>> [root@san2 ~]# zfs list -r -t snapshot | wc -l
>> =A0 =A05236
>> [root@san2 ~]# zfs list -r -t volume | wc -l
>> =A0 =A0 =A017
>
> --As for the rest, it is mine.
>
> I have no good advice, but I have a thought. =A0;)
>
> The thought is: Why so many snapshots? =A0And: How many other people have=
 that
> many snapshots? =A0I know that ZFS is supposed to be able to handle huge
> numbers of snapshots (far more than a few thousand, from my understanding=
),
> but if it hasn't been used much in that config, there may be bugs lurking=
.
>
> You might try weeding through and figuring out if you can drop a good amo=
unt
> of those snapshots. =A0Also, try the filesystems list. =A0They may have b=
etter
> thoughts.
>
> Daniel T. Staal
>

Its for a backup service I've been working on. It takes a snapshot
hourly of all 17 zvols. I was planning on keeping them for a month.

I had the same thought about the snapshots and deleted them all
yesterday. It appears there is some issue with keeping that many. I
removed them all and the zvols are now functioning correctly. Its
strange that the large number didn't cause incremental slowdown. While
the snapshots were still there the IO was normal when it wasn't acting
up. Just it would have spurts of almost total lockup until I performed
a snapshot removal operation or 2.

Thanks,

--=20
Dave Cundiff
System Administrator
A2Hosting, Inc
http://www.a2hosting.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKHEz2ZyZm5QHBZ4RS7jUZX64WfZTYs8Wy9F6h7h2pkQza-KNw>