-
Notifications
You must be signed in to change notification settings - Fork 108
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
Error: write after end #296
Comments
My guess is that you're hitting your max open files limit and can't properly open connections after that. Looking at the stacktrace, it's probably a bug introduced with the new handshake, 2.2.x should work for now. It should be relatively straightforward to fix. |
Okay let me try out with 2.2.x. I will keep you posted. although i increased my max pool to 10000 after your suggestion and it disappeared for a while. But it has come back again today. Thanks |
Hi quick question this error 'Fail to create a new connection for the connection pool. Error:{"message":"Failed to connect to localhost:28015 in less than 20s.","isOperational":true}' |
@neumino any updates on this? I'm getting the exact same error. I only started getting this once the number of connections per second increased. The connection is made, and then after a few seconds it is lost, and no new connections can seem to be made.
Here is my driver file: driver.js
|
I changed my driver config to:
And the issue has gone away for the moment. |
* 'master' of github.com:neumino/rethinkdbdash: (304 commits) Fix leaked variable from test Bump to 2.3.27 Fix neumino#313 Bump to 2.3.26 fix: return null where new Promises are created but not returned Fix leak in tests Fix leak in tests Bump to 2.3.25 Make identification errors operational such that they can be properly caught - Fix neumino#295 Bump to 2.3.24 Close the stream if an error is emitted since we can't recover frm it Remove the use of Buffer with new for node 7 - Fix neumino#304 Wrap sending the proof in a try/catch in case the connection is closed - Fix neumino#296 Bump to 2.3.23 Prevent bluebird warning - Fix neumino#287 Bump to 2.3.22 Prevent bluebird warning - Fix neumino#285 function r: remove unused parameter `options` readme: minor typo fix Bump to 2.3.21 ...
Hi,
we are using RethinkDBdash as our rethinkDB driver along with Nodejs. Its working great. But i started a bit of stress testing on my dev machine, and when I send 500+ concurrent requsts per second, the server is crashing with the following error:
events.js:160
throw er; // Unhandled 'error' event
^
We are using Node 6.5.0 and "rethinkdbdash": "^2.3.23"
Request you to kindly help with the same.
Thanks
The text was updated successfully, but these errors were encountered: