Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Dec 2016 11:11:53 +0000
From:      Paul Macdonald <paul@ifdnrg.com>
To:        freebsd-questions@freebsd.org
Subject:   npm hanging on updates
Message-ID:  <5001d65b-cff4-35be-d51c-a2b4335e1438@ifdnrg.com>

next in thread | raw e-mail | index | archive | help

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

----------------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5001d65b-cff4-35be-d51c-a2b4335e1438>