小编Ken*_*ny6的帖子

MongoDB server freeze - large amount of collections

We have large MongoDB database (about 1,4mln collections), MongoDB 3.0, engine rocksDB, operating system Ubuntu 14.04.

This DB is located on virtual machine (VmWare vCloud) with 16 cores and 108 GB RAM (currently mongoDB used 70GB of memory without swap).

Production setup options:

  • data on dedicated partition - XFS filesystem
  • transparent_hugepage enabled - never
  • transparent_hugepage defrag - never

DB stats:

{
    "db" : "ctp",
    "collections" : 1369486,
    "objects" : 20566852,
    "avgObjSize" : 1126.82749999854,
    "dataSize" : 23175294422,
    "storageSize" : 23231888384,
    "numExtents" …
Run Code Online (Sandbox Code Playgroud)

freeze large-data mongodb rocksdb

6
推荐指数
1
解决办法
965
查看次数

标签 统计

freeze ×1

large-data ×1

mongodb ×1

rocksdb ×1