Skip to content

Instantly share code, notes, and snippets.

@peterbrowse peterbrowse/gist:5867047
Last active Dec 19, 2015

Embed
What would you like to do?
Error being returned from Mongohq on attempting to initiate a connection to db instance. The link to the db instance from nodejitsu is: mongodb://nodejitsu:9fba9d1b7e6535879cc01e67610e1b1d@linus.mongohq.com:10083/nodejitsudb9381640
[06/26 13:32:42 GMT+0100] VERBOSE pool mongodb - createResource() - creating obj - count=1 min=0 max=40
[06/26 13:32:42 GMT+0100] INFO pool mongodb - dispense() clients=1 available=0
[06/26 13:32:43 GMT+0100] Error: connection closed - on line 25 of server.js
@peterbrowse

This comment has been minimized.

Copy link
Owner Author

peterbrowse commented Jun 26, 2013

Please see heading intro

@julianduque

This comment has been minimized.

Copy link

julianduque commented Jul 10, 2013

Hello @peterbrowse, this was the reply from MongoHQ Support

Ian Hansen (MongoHQ)
Jul 10 05:15 pm (CDT)

Hey Julian,

I spend my days in NodeJS. I'd be very interested to see what version of the node driver they are using. I've been fighting driver issues specifically with connection pooling for a while, but the latest release (since 1.3.7) seems to be working well.

I haven't used common-pool, but I've used https://github.com/coopernurse/node-pool (which seems to be a more up-to-date version of the common-pool that I found).

I've been able to step away completely from common-pool and use the pooling built into the driver now.

Best regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.