From owner-freebsd-hackers@freebsd.org Sat Apr 7 14:20:03 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9CDF1F8BFAD for ; Sat, 7 Apr 2018 14:20:03 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1a.eu.mailhop.org (outbound1a.eu.mailhop.org [52.58.109.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2D4167AEBC for ; Sat, 7 Apr 2018 14:20:02 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: c010082c-3a6e-11e8-91c6-33ffc249f3e8 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound1.eu.mailhop.org (Halon) with ESMTPSA id c010082c-3a6e-11e8-91c6-33ffc249f3e8; Sat, 07 Apr 2018 14:19:59 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id w37EJpkJ093122; Sat, 7 Apr 2018 08:19:51 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1523110791.40504.15.camel@freebsd.org> Subject: Re: [diskless] pkg takes 100% of a CPU From: Ian Lepore To: BERTRAND =?ISO-8859-1?Q?Jo=EBl?= , freebsd-hackers@freebsd.org Date: Sat, 07 Apr 2018 08:19:51 -0600 In-Reply-To: References: Content-Type: text/plain; charset="iso-2022-jp" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2018 14:20:03 -0000 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