Skip to content
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

mongodb craching #4

Open
moozer opened this issue Nov 20, 2015 · 0 comments
Open

mongodb craching #4

moozer opened this issue Nov 20, 2015 · 0 comments

Comments

@moozer
Copy link

moozer commented Nov 20, 2015

I'm working with the team server from prosa2014, and have tweaked the config.js to match.
And it works - for 30 minutes...

Then it craches and I need to restart mongodb
With errors like this

/home/vagrant/CTFd/node_modules/mongojs/node_modules/mongodb-core/lib/cursor.js:247
throw err;
^

Error: spawn ENOMEM
at exports.errnoException (util.js:874:11)
at ChildProcess.spawn (internal/child_process.js:298:11)
at exports.spawn (child_process.js:339:9)
at Object.exports.execFile (child_process.js:141:15)
at Object.exports.exec (child_process.js:101:18)
at TimedExecuter.execute (/home/vagrant/CTFd/lib/timedexecuter.js:20:31)
at ServiceCommandExecuter.execute (/home/vagrant/CTFd/lib/servicecommandexecuter.js:78:19)
at /home/vagrant/CTFd/lib/servicecommandexecuter.js:58:14
at Array.forEach (native)
at Function.
.each.
.forEach (/home/vagrant/CTFd/node_modules/underscore/underscore.js:76:11)

And it crashes the first time it tries to "check".

I even suceeded in getting

P{ [MongoError: topology was destroyed] name: 'MongoError', message: 'topology was destroyed' }

How to approach this?


some info

$ mongod --version
db version v2.4.14
Sat Nov 21 00:09:23.926 git version: nogitversion

$ npm list
[email protected] /home/vagrant/CTFd
├── [email protected]
├── [email protected]
├─┬ [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └── [email protected]
├─┬ [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └─┬ [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └── [email protected]
└── [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant