Answer the question
In order to leave comments, you need to log in
Why is the MongoDB daemon process being killed?
Hello. From time to time, about a couple of times a day, the web server, which is implemented on NodeJS, starts to issue errors to the console of the following form:
(node:29001) UnhandledPromiseRejectionWarning: MongoNetworkError: failed to reconnect after 30 attempts with interval 1000 ms
(node:29001) UnhandledPromiseRejectionWarning: MongoError: topology was destroyed
● mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; enabled; vendor preset: enabled)
Active: failed (Result: signal) since Tue 2018-11-06 16:36:04 MSK; 1min 11s ago
Docs: https://docs.mongodb.org/manual
Process: 18434 ExecStart=/usr/bin/mongod --config /etc/mongod.conf (code=killed, signal=KILL)
Main PID: 18434 ( code=killed, signal=KILL)
Nov 06 09:53:02 www systemd[1]: Started MongoDB Database Server.
Nov 06 09:53:02 www mongod[18434]: 2018-11-06T09:53:02.563+0300 I CONTROL [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocol
s 'none'
Nov 06 16:36:04 www systemd[1]: mongod.service: Main process exited, code=killed, status=9/KILL
Nov 06 16:36:04 www systemd[1]: mongod.service: Unit entered failed state.
Nov 06 16:36:04 www systemd[1]: mongod.service: Failed with result 'signal'.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question