Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Aug 2008 19:08:58 -0700
From:      George Hartzell <hartzell@alerce.com>
To:        Ivan Voras <ivoras@freebsd.org>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: Strange (?) hangs with ZFS/rsync.
Message-ID:  <18588.64570.786730.812483@almost.alerce.com>
In-Reply-To: <g7iaug$ltg$2@ger.gmane.org>
References:  <18880785.post@talk.nabble.com> <g7iaug$ltg$2@ger.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Ivan Voras writes:
 > Maximillian Dornseif wrote:
 > > I have a ZFS based backup server which rsyncs from a dozen other machines.
 > > There is only a single rsync active for any point in time and the system is
 > > used for nothing else. It has an amd64 kernel and 4GB RAM. I tried to follow
 > > the ZFS tuning guide.
 > > 
 > > For a few weeks the machine works well. Since monday it rsync always hangs
 > > when fetching a big logfile from a remote machine. 
 > > 
 > > The two rsync processes are in state "zfs:&b" and "zfs:lo" and can't be
 > > killed.
 > > The other strange thing is that the system is reporting 3367M (!) wired
 > > memory.
 > 
 > These look like well known problems with ZFS (see 
 > http://wiki.freebsd.org/ZFSKnownProblems). A new version of the ZFS port 
 >   is currently under development, if you want to try it, you need a 
 > 8-CURRENT machine and this patch:
 > http://lists.freebsd.org/pipermail/freebsd-fs/2008-July/004887.html
 > 
 > People have reported that the new patch resolves hangs such as yours.

Not to be a party pooper, but on an arguably underconfigured server
(2GB RAM, dual core AMD, amd64), moving to -CURRENT and applying the
new patch actually required that I tune it with an even lower arc_max
than I had been getting away with on the -STABLE zfs with the same
hardware.

My testing (described on this list a week or two back) is admittedly
unscientific and it may be that the -STABLE configuration was already
skating on thin ice but it's certainly not the case that the subsystem
now autotunes itself on limited hardware.

But, with kernel mem and arc configured as many folks have described,
both versions run nicely in spite of anything I've thrown at them and
the zfs feature set is great.

Thanks again to Pawel and all involved!

g.



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