MongoDB 持续高 CPU 使用率并终止 MongoDB

问题描述

执行后,mongodb在几秒钟后终止。

症状..

cpu 使用率维持在 300% 左右,然后突然关机。

日志...


2021-06-21T17:53:06.994+0900 I NETWORK  [replicasetMonitor-TaskExecutor] Successfully connected to 172.27.0.33:37002 (1 connections Now open to 172.27.0.33:37002 with a 5 second timeout)
2021-06-21T17:53:23.575+0900 E STORAGE  [WTCheckpointThread] WiredTiger error (12) [1624265603:575279][12778:0x7f9a910a3700],file:depository/collection-15--3593471947205486528.wt,WT_SESSION.checkpoint: __posix_sync,108: /mongodb/base/storage/node12/depository/collection-15--3593471947205486528.wt: handle-sync: fdatasync: Cannot allocate memory Raw: [1624265603:575279][12778:0x7f9a910a3700],108: /mongodb/base/storage/node12/depository/collection-15--3593471947205486528.wt: handle-sync: fdatasync: Cannot allocate memory
2021-06-21T17:53:23.575+0900 E STORAGE  [WTCheckpointThread] WiredTiger error (-31804) [1624265603:575407][12778:0x7f9a910a3700],WT_SESSION.checkpoint: __wt_panic,520: the process must exit and restart: WT_PANIC: WiredTiger library panic Raw: [1624265603:575407][12778:0x7f9a910a3700],520: the process must exit and restart: WT_PANIC: WiredTiger library panic
2021-06-21T17:53:23.575+0900 F -        [WTCheckpointThread] Fatal Assertion 50853 at src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp 409
2021-06-21T17:53:23.575+0900 F -        [WTCheckpointThread] 

***aborting after fassert() failure

2021-06-21T17:53:23.589+0900 F -        [WTCheckpointThread] Got signal: 6 (Aborted).

出现这个问题的mongodb是次要的。其他mongodb的(repl-set)没有问题

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)