npm hanging on updates

Paul Macdonald paul at ifdnrg.com
Mon Dec 12 11:16:55 UTC 2016


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 at 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

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



More information about the freebsd-questions mailing list