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

Unhandled 'error' event EBADF #3

Open
blahah opened this Issue May 4, 2017 · 3 comments

Comments

Projects
None yet
1 participant
@blahah
Contributor

blahah commented May 4, 2017

In a dir where I just downloaded a dat with dat-next-next, trying to run it again gives:

$ dat-next-next
events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: EBADF: bad file descriptor, read
    at Error (native)
@blahah

This comment has been minimized.

Show comment
Hide comment
@blahah

blahah May 4, 2017

Contributor

if I run with DEBUG='*'...

random-access-file read() failed file=.dat/metadata.tree err=Error: EBADF: bad file descriptor, read +0ms
events.js:163
      throw er; // Unhandled 'error' event
      ^

Error: EBADF: bad file descriptor, read
$ ls -alh .dat/metadata.tree
-rw-rw-r-- 1 rsu rsu 284K May  4 05:31 .dat/metadata.tree
Contributor

blahah commented May 4, 2017

if I run with DEBUG='*'...

random-access-file read() failed file=.dat/metadata.tree err=Error: EBADF: bad file descriptor, read +0ms
events.js:163
      throw er; // Unhandled 'error' event
      ^

Error: EBADF: bad file descriptor, read
$ ls -alh .dat/metadata.tree
-rw-rw-r-- 1 rsu rsu 284K May  4 05:31 .dat/metadata.tree
@blahah

This comment has been minimized.

Show comment
Hide comment
@blahah

blahah May 4, 2017

Contributor

possibly the ulimit is too low?

Contributor

blahah commented May 4, 2017

possibly the ulimit is too low?

@blahah

This comment has been minimized.

Show comment
Hide comment
@blahah

blahah May 4, 2017

Contributor

increasing ulimit from 1024 to 10000 made no difference

Contributor

blahah commented May 4, 2017

increasing ulimit from 1024 to 10000 made no difference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment