system slowdown - vnode related

Oldach, Helge Helge.Oldach at atosorigin.com
Mon May 26 00:50:44 PDT 2003


From: Mike Harding [mailto:mvh at ix.netcom.com]
> I'm running a very recent RELENG-4 - but I had a suspicion 
> that this was
> unionfs related, so I unmounted the /usr/ports union mounts 
> under a jail
> in case this was causing the problem, and haven't seen the problem
> since.

Probably you don't want to use unionfs but nullfs, mount /usr/ports readonly
to the jail, and use a jail-writeable directory for port building. I
personally use

WRKDIRPREFIX=/usr/obj
WRKDIR=${WRKDIRPREFIX}${.CURDIR}

in /etc/make.conf.

This setup has been working for years for me without problems.

Helge


More information about the freebsd-stable mailing list