【发布时间】:2019-12-02 14:55:23
【问题描述】:
我在使用 mongo 时遇到了极其缓慢的情况。早些时候,当我输入 sudo systemctl status mongodb mongo 时,我出现了在线并以绿色显示。现在几天后他开始抛弃我
mongodb.service - High-performance, schema-free document-oriented database
Loaded: loaded (/etc/systemd/system/mongodb.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2019-11-29 08:55:07 -03; 3 days ago
Process: 13231 ExecStart = / usr / bin / mongod --quiet --config /etc/mongod.conf (code = exited, status = 48)
Main PID: 13231 (code = exited, status = 48)
Nov 29 08:55:07 production-power systemd [1]: Started High-performance, schema-free document-oriented database.
Nov 29 08:55:07 production-power systemd [1]: mongodb.service: Main process exited, code = exited, status = 48 / n / a
Nov 29 08:55:07 production-power systemd [1]: mongodb.service: Unit entered failed state.
Nov 29 08:55:07 production-power systemd [1]: mongodb.service: Failed with result 'exit-code'.
这在 Google VPS 意外重启后开始发生。我认为这可能是缓慢的原因。在任何情况下,mongo 服务都在工作,所以在基础上进行读写通常只会更慢。有谁知道如何解决这个问题?
【问题讨论】:
标签: mongodb google-compute-engine