Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EMFILE #80

Open
binarykitchen opened this issue Sep 1, 2014 · 3 comments
Open

EMFILE #80

binarykitchen opened this issue Sep 1, 2014 · 3 comments

Comments

@binarykitchen
Copy link

Sorry to bug you again, but I am seeing plenty of EMFILE errors

$ npmd install

Error: connect EMFILE
    at errnoException (net.js:904:11)
    at connect (net.js:766:19)
    at net.js:845:9
    at asyncCallback (dns.js:68:16)
    at Object.onanswer [as oncomplete] (dns.js:121:9)
$ npmd -v
1.3.3
@dominictarr
Copy link
Owner

please provide more information like last time

On Sun, Aug 31, 2014 at 7:28 PM, Michael Heuberger <notifications@github.com

wrote:

Sorry to bug you again, but I am seeing plenty of EMFILE errors

$ npmd install

Error: connect EMFILE
at errnoException (net.js:904:11)
at connect (net.js:766:19)
at net.js:845:9
at asyncCallback (dns.js:68:16)
at Object.onanswer as oncomplete

$ npmd -v
1.3.3


Reply to this email directly or view it on GitHub
#80.

@binarykitchen
Copy link
Author

basic npmd resolve works

$ ulimit -a
-t: cpu time (seconds)              unlimited
-f: file size (blocks)              unlimited
-d: data seg size (kbytes)          unlimited
-s: stack size (kbytes)             8192
-c: core file size (blocks)         0
-m: resident set size (kbytes)      unlimited
-u: processes                       23894
-n: file descriptors                1024
-l: locked-in-memory size (kbytes)  64
-v: address space (kbytes)          unlimited
-x: file locks                      unlimited
-i: pending signals                 23894
-q: bytes in POSIX msg queues       819200
-e: max nice                        0
-r: max rt priority                 0
-N 15:                              unlimited

then I ran npmd-resolve > resolve.out which generated a 1.3MB file on my remote server where I am trying to deploy the web app.

then I fed the installer with that file and got EMFILE:

$ ./node_modules/npmd-install/index.js < resolve.out

Error: connect EMFILE
    at errnoException (net.js:904:11)
    at connect (net.js:766:19)
    at net.js:845:9
    at asyncCallback (dns.js:68:16)
    at Object.onanswer [as oncomplete] (dns.js:121:9)

sending you the resolve.out in a separate email right after this ticket.

and then here is the npm ls for the npmd-install module:

$ npm ls --depth=0
npmd-install@5.1.6 /var/www/videomail/development/node_modules/npmd-install
├── clone@0.1.18
├── continuable@1.1.6
├── continuable-hash@0.1.4
├── get-deps@2.0.4
├── graceful-fs@3.0.2 extraneous
├── mkdirp@0.3.5
├── npmd-cache@4.3.2
├── npmd-config@1.0.12
├── osenv@0.0.3
├── pull-paramap@1.1.1
├── pull-stream@2.25.0
├── pull-traverse@1.0.3
├── rimraf@2.2.8

@binarykitchen
Copy link
Author

and probably you want this too

$ npm ls npmd-url
videomail.io@1.0.0 /var/www/xxx/development
└─┬ npmd-install@5.1.6 extraneous
  └─┬ npmd-cache@4.3.2 extraneous
    └── npmd-url@1.0.0  extraneous

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants