neumino / rethinkdbdash

An advanced Node.js driver for RethinkDB with a connection pool, support for streams etc.
MIT License
848 stars 109 forks source link

Connection keeps getting reset #367

Closed Sven65 closed 6 years ago

Sven65 commented 6 years ago

I keep having my connection reset, and I can't figure out why.

The logs of the database itself give me a constant error: accept() failed: Too many open files. and the only error I get on the client is this

events.js:182
      throw er; // Unhandled 'error' event
      ^

Error: read ECONNRESET
    at _errnoException (util.js:1041:11)
    at TCP.onread (net.js:606:25)

What do I do to fix it? I'm happy to provide more details if you need them.