SaltwaterC/aws2js — Issue #21: ubuntu hangs while installing aws2js
Author: emiloslavsky
Created: 2012-02-14 17:00:19+00:00
State: open

npm install hangs 1 in 7 times in mime-magic that's needed by aws2js. Please let me know if you need more info, and I
appreciate your help.

%ps fax
1100 ? Sl 0:43 \_ npm
1106 ? S 0:00 \_ sh -c node-waf configure build
1107 ? Sl 0:00 \_ python /usr/local/bin/node-waf configure build
1255 ? S 0:00 \_ python /usr/local/bin/node-waf configure build

% lsof -p 1255
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
python 1255 root cwd DIR 202,1 4096 275642 /srv/node_modules/aws2js/node_modules/libxmljs/build
python 1255 root rtd DIR 202,1 4096 2 /
python 1255 root txt REG 202,1 2735256 960 /usr/bin/python2.7
python 1255 root mem REG 202,1 141088 395318 /lib/x86_64-linux-gnu/ld-2.13.so
python 1255 root mem REG 202,1 135500 395357 /lib/x86_64-linux-gnu/libpthread-2.13.so
python 1255 root mem REG 202,1 14768 395331 /lib/x86_64-linux-gnu/libdl-2.13.so
python 1255 root mem REG 202,1 10640 395366 /lib/x86_64-linux-gnu/libutil-2.13.so
python 1255 root mem REG 202,1 332384 395362 /lib/x86_64-linux-gnu/libssl.so.1.0.0
python 1255 root mem REG 202,1 1749000 395329 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
python 1255 root mem REG 202,1 96816 395369 /lib/x86_64-linux-gnu/libz.so.1.2.3.4
python 1255 root mem REG 202,1 538928 395341 /lib/x86_64-linux-gnu/libm-2.13.so
python 1255 root mem REG 202,1 1677624 395325 /lib/x86_64-linux-gnu/libc-2.13.so
python 1255 root mem REG 202,1 35712 395345 /lib/x86_64-linux-gnu/libnss_compat-2.13.so
python 1255 root mem REG 202,1 97256 395344 /lib/x86_64-linux-gnu/libnsl-2.13.so
python 1255 root mem REG 202,1 47696 395349 /lib/x86_64-linux-gnu/libnss_nis-2.13.so
python 1255 root mem REG 202,1 51736 395347 /lib/x86_64-linux-gnu/libnss_files-2.13.so
python 1255 root mem REG 202,1 21680 9230 /usr/lib/python2.7/lib-dynload/_heapq.so
python 1255 root mem REG 202,1 92768 9242 /usr/lib/python2.7/lib-dynload/datetime.so
python 1255 root mem REG 202,1 24576 9255 /usr/lib/python2.7/lib-dynload/termios.so
python 1255 root 0u CHR 1,3 0t0 5118 /dev/null
python 1255 root 1u CHR 1,3 0t0 5118 /dev/null
python 1255 root 2u CHR 1,3 0t0 5118 /dev/null
python 1255 root 3r FIFO 0,8 0t0 7982 pipe
python 1255 root 4w FIFO 0,8 0t0 7982 pipe
python 1255 root 5w REG 202,1 1945600 18351 /tmp/npm-1329179046302/1329179053894-0.9118568138219416/tmp.tgz
python 1255 root 7w REG 202,1 608726 275650 /srv/node_modules/aws2js/node_modules/mime-magic/arc/file-5.10.tar.gz

% strace -p 1255
Process 1255 attached - interrupt to quit
futex(0x11c1090, FUTEX_WAIT_PRIVATE, 0, NULL^C
Process 1255 detached

~# uname -a
Linux jjj-virtual #23-Ubuntu SMP Mon Nov 21 21:09:11 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
~# node --version
v0.6.7
~# npm --version
1.1.0-beta-10