From owner-freebsd-questions@freebsd.org Mon Dec 12 11:16:55 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 187C2C725C9 for ; Mon, 12 Dec 2016 11:16:55 +0000 (UTC) (envelope-from paul@ifdnrg.com) Received: from outbound.ifdnrg.com (outbound2.ifdnrg.com [193.200.98.38]) by mx1.freebsd.org (Postfix) with ESMTP id ACF2638F for ; Mon, 12 Dec 2016 11:16:53 +0000 (UTC) (envelope-from paul@ifdnrg.com) Received: from [192.168.1.49] (38.156-30-62.static.virginmediabusiness.co.uk [62.30.156.38]) (authenticated bits=0) by outbound.ifdnrg.com (8.15.2/8.15.2) with ESMTPSA id uBCBBoVY058727 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Mon, 12 Dec 2016 11:11:51 GMT (envelope-from paul@ifdnrg.com) X-Authentication-Warning: outbound.ifdnrg.com: Host 38.156-30-62.static.virginmediabusiness.co.uk [62.30.156.38] claimed to be [192.168.1.49] To: freebsd-questions@freebsd.org From: Paul Macdonald Subject: npm hanging on updates Message-ID: <5001d65b-cff4-35be-d51c-a2b4335e1438@ifdnrg.com> Date: Mon, 12 Dec 2016 11:11:53 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Dec 2016 11:16:55 -0000 Hi We're finding that npm gets stuck in updates, and if the parent is killed, it leaves a process in uninterruptible state (this has not even been killlable during shutdown and a previous box with same symptoms has needed a hard reset) root 39027 0.0 0.0 17096 3120 0 I+ 10:03AM 0:00.20 | | `-- /bin/sh /usr/local/sbin/portmaster -a root 27089 0.0 0.0 17096 2940 0 I+ 10:15AM 0:00.01 | | `-- /bin/sh /usr/local/sbin/portmaster www/npm root 27337 0.0 0.0 9116 1464 0 IN+ 10:15AM 0:00.01 | | `-- /usr/bin/make -DNO_DEPENDS stage root 27377 0.0 0.0 9116 1020 0 IN+ 10:15AM 0:00.00 | | `-- /usr/bin/make -f Makefile npm_config_prefix=/usr/ports/www/npm/work/stage/usr/local DESTDIR=/usr/ports/www/npm/work/stage install root 27378 0.0 1.2 855952 198120 0 *DN+* 10:15AM 0:24.81 | | `-- npm (node) note DN state for npm, It does not seem to matter if npm or node was running prior to update, as npm is called as part of the update process There's no output from truss (attached after update got to this stage) We have 4 or 5 clients using node/npm so any help/advice is appreciated! Systems are FreeBSD 10.3-REL on ZFS thanks Paul. -- ------------------------- Paul Macdonald IFDNRG Ltd Web and video hosting ------------------------- t: 0131 5548070 m: 07970339546 e: paul@ifdnrg.com w: http://www.ifdnrg.com ------------------------- IFDNRG 40 Maritime Street Edinburgh EH6 6SA ---------------------------------------------------- Virtual Servers from £50.00pm High specification Dedicated Servers from £150.00pm ----------------------------------------------------