[diskless] pkg takes 100% of a CPU

Ian Lepore ian at freebsd.org
Sat Apr 7 14:20:03 UTC 2018


On Sat, 2018-04-07 at 11:50 +0200, BERTRAND Jol wrote:
> Steven Hartland a crit:
> > 
> > When we’ve seen it using 100% it’s been doing comprehension stuff which
> > usually finishes you just have to wait. Not sure if that’s what you’re
> > seeing?
> 	Yesterday, I have killed pkg after more than 100 hours of CPU time...
> 
> 	Best regards,
> 
> 	JB

For me, pkg(8) quit working on systems that have /var/db mounted from
nfs long ago, maybe as much as a year ago at this point. I mentioned
it on irc, and was told "It's probably something to do with locking",
but I already have boot.nfsroot.options="nolockd" in loader.conf
(because that's pretty much the only option because the rc(8) system
was broken years ago when it comes to nfsroot).

-- Ian


More information about the freebsd-hackers mailing list