O
O
olezhenka2017-06-22 13:21:10
MongoDB
olezhenka, 2017-06-22 13:21:10

Why is the mongoDB database constantly crashing?

running a node.js script with the mongoose module and about every hour there is an error
Couldn't connect to server 127.0.0.1:27017
and the script and the database completely stop working until I fix the database and restart the script.
I repair the database using these commands:
2711eb1a1d254156a69150f455d56828.PNG
after these commands, as I said, everything works well for an hour and then again this error.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lega, 2017-06-27
@lega

Look at the logs, there may be a lack of RAM or disk space

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question