Discussion:
[mongodb-dev] mongoRocks engine, restore index backup that using mongodump, oom
p***@gmail.com
2018-03-05 04:01:58 UTC
Permalink
HI

i retore a backup from a host, when resotre indexes , the process of
mongod use a lot of memory, and then mongod process was killed by OOM
killer.

the args of maxIndexBuildMemoryUsageMegabytes is 500M, default.

sys messages as following:

Mar 3 15:40:39 kernel: [2498829.758922] [ pid ] uid tgid total_vm
rss cpu oom_adj oom_score_adj name
Mar 3 15:40:39 kernel: [2498829.759003] [76817] 0 76817 40078622
39813944 0 0 0 mongod
Mar 3 15:40:39 kernel: [2498829.759009] Memory cgroup out of memory: Kill
process 76817 (mongod) score 1000 or sacrifice child
Mar 3 15:40:39 kernel: [2498829.759239] Killed process 76817, UID 0,
(mongod) total-vm:160314488kB, anon-rss:159239108kB, file-rss:16668kB

Thanks.
--
You received this message because you are subscribed to the Google Groups "mongodb-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-dev+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-dev/ef4971c0-d43c-4de0-a1b6-ef69a5ecbf3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...