mongoDB不会因关机或杀死而停止

时间:2019-07-30 17:54:02

标签: mongodb

我有一个mongodb fork,并且运行时CPU使用率很高。我正在尝试将其关闭,但似乎无济于事。

 2729 mwon      20   0 10.080g 9.047g  22668 S  56.2 28.8   4254:11 mongod --dbpath /disk2/db --port 27018 -logpath /disk2/db/mongod.log --fork

我尝试过:

mongod --dbpath /disk2/db --shutdown

,但挂起后没有任何响应。我也尝试过:

 kill 2729
 kill -2 2729

该命令已执行,但没有任何反应。这是日志的tail

2019-07-30T15:55:27.757+0000 I NETWORK  [conn13356] end connection 127.0.0.1:45690 (62 connections now open)
2019-07-30T15:55:27.758+0000 I NETWORK  [conn13368] end connection 127.0.0.1:45764 (61 connections now open)
2019-07-30T15:55:27.759+0000 I NETWORK  [conn13380] end connection 127.0.0.1:45826 (60 connections now open)
2019-07-30T15:55:27.764+0000 I NETWORK  [conn13381] end connection 127.0.0.1:45832 (59 connections now open)
2019-07-30T15:55:27.764+0000 I NETWORK  [conn13369] end connection 127.0.0.1:45772 (58 connections now open)
2019-07-30T15:55:27.765+0000 I NETWORK  [conn13344] end connection 127.0.0.1:45628 (57 connections now open)
2019-07-30T15:59:17.043+0000 I CONTROL  [signalProcessingThread] got signal 15 (Terminated), will terminate after current cmd ends
2019-07-30T15:59:17.044+0000 I NETWORK  [signalProcessingThread] shutdown: going to close listening sockets...
2019-07-30T15:59:17.044+0000 I NETWORK  [signalProcessingThread] removing socket file: /tmp/mongodb-27018.sock
2019-07-30T16:23:37.773+0000 I NETWORK  [conn11035] end connection 127.0.0.1:48928 (56 connections now open)

0 个答案:

没有答案