mxabierto / debate

(sin mantenimiento) Debate público sobre la Política Nacional de Datos Abiertos en México. Powered by DemocracyOS.
http://politica.datos.gob.mx
1 stars 0 forks source link

500 Error: no open connections #69

Open defvol opened 10 years ago

defvol commented 10 years ago

Express 500 Error: no open connections at Db._executeQueryCommand (/app/node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/db.js:1802:21) at Cursor.nextObject (/app/node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/cursor.js:729:13) at Cursor.nextObject (/app/node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/scope.js:22:20) at Collection.findOne (/app/node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/collection/query.js:145:10) at /app/node_modules/connect-mongo/lib/connect-mongo.js:212:18 at MongoStore._get_collection (/app/node_modules/connect-mongo/lib/connect-mongo.js:148:21) at MongoStore.get (/app/node_modules/connect-mongo/lib/connect-mongo.js:211:10) at Object.session as handle at next (/app/node_modules/express/node_modules/connect/lib/proto.js:193:15) at Object.cookieParser as handle

defvol commented 10 years ago

Según MongoHQ la causa podría ser que el app no cierra las conexiones de manera propia:

Connections The connections alert is raised when a database is using more than 80% of the allowable connections by the mongod process, or it is above a fixed threshold of 2000 connections.

Cause Some common causes are:

http://support.mongohq.com/alerts/common_causes.html