Date: Thu, 14 Oct 2010 11:31:53 +0200 From: Willem Jan Withagen <wjw@digiware.nl> To: Borja Marcos <borjam@sarenet.es>, fs@freebsd.org Subject: Re: ZFS freeze/livelock Message-ID: <4CB6CE09.9070405@digiware.nl> In-Reply-To: <6E60196F-87D1-4687-AEE6-4964F4212B00@sarenet.es> References: <4CB1DD0F.6000209@digiware.nl> <98AF4752-7881-4C50-8A59-243F1AD55318@sarenet.es> <4CB5DB47.9010904@digiware.nl> <6E60196F-87D1-4687-AEE6-4964F4212B00@sarenet.es>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2010-10-14 11:12, Borja Marcos wrote: > > On Oct 13, 2010, at 6:16 PM, Willem Jan Withagen wrote: > >> On 2010-10-13 13:08, Borja Marcos wrote: > >> Well I think what I did more or less fits your desciption. >> >> But thusfar it did not happen. >> And I'm (very slowly) redoing some of these steps, with all debugging settings in the kernel. > > Sometimes it isn't easy to reproduce, but I found a way. Whenever a new version of FreeBSD comes out I run the following test. > > Start two machines. A and B > Update them (via make buildworld, etc) > set up an automatic replication for a dataset from A to B in 30 second or 1 minute intervals > The chosen dataset is the one which contains /usr/src and /usr/obj > run a loop of make buildworld&& make clean on A > And on B I run a couple of tasks or so that simple keep a loop copying the contents of the destination dataset (example, pool/srcobj) to a different place, for instance using "tar", so that I keep a heavy I/O activity. > > So far I can reproduce the phenomenon in less than 20 minutes. 'mmmm, I'n not really pounding my B-system that hard.... But you haven't found a way to see what lock is the actual cullpit? Let alone, try and determine how all contenders actually got there? Perhaps you should file a PR with the above means of reproducing it, just for history sake. Or perhaps you already did? But my B-system at the moment is already 3 days underway to receive a 225G volume. :( It makes progress but really really very slow. --WjW
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CB6CE09.9070405>