Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-16356

Idle mongod with WiredTiger LSM is using 100% CPU

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.8.0-rc1
    • Fix Version/s: 2.8.0-rc3
    • Component/s: Storage
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL

      Description

      A 2.8.0-rc1 mongod with wired tiger in LSM mode is using 100% CPU. It isn't doing any user operations.

      Start command:

      /usr/share/mongodb-linux-x86_64-2.8.0-rc1/bin/mongod --dbpath ./wttiger3/ --port 30020 --logpath ./wttiger3/log.log --storageEngine=wiredTiger --wiredTigerCollectionConfig type=lsm,block_compressor= --fork

      Top:

      top - 16:12:02 up 16 days,  7:05,  7 users,  load average: 1.19, 1.15, 1.24
      Tasks: 354 total,   2 running, 351 sleeping,   0 stopped,   1 zombie
      %Cpu(s): 11.2 us,  0.6 sy,  0.0 ni, 88.2 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
      KiB Mem:  24681876 total, 24451416 used,   230460 free,    29884 buffers
      KiB Swap:  8388604 total,   581668 used,  7806936 free.   842948 cached Mem
       
        PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
       6778 steve     20   0  0.120t 0.011t 254492 S 123.9 45.8 138:54.59 mongod
      23246 steve     20   0 1540472 779192  17560 S  21.3  3.2 572:54.92 chrome
      17126 steve     20   0  903068 196988  10688 S  10.3  0.8 494:15.92 chrome

      > db.currentOp()
      { "inprog" : [ ] }

      > db.serverBuildInfo()
      {
      	"version" : "2.8.0-rc1",
      	"gitVersion" : "c8171e7f969519af8b87a43425ae291ee69a0191",
      	"OpenSSLVersion" : "",
      	"sysInfo" : "Linux build14.nj1.10gen.cc 2.6.32-431.3.1.el6.x86_64 #1 SMP Fri Jan 3 21:39:27 UTC 2014 x86_64 BOOST_LIB_VERSION=1_49",
      	"loaderFlags" : "-fPIC -pthread -Wl,-z,now -rdynamic",
      	"compilerFlags" : "-Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -Werror -O3 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-but-set-variable -fno-builtin-memcmp -std=c99",
      	"allocator" : "tcmalloc",
      	"versionArray" : [
      		2,
      		8,
      		0,
      		-9
      	],
      	"javascriptEngine" : "V8",
      	"bits" : 64,
      	"debug" : false,
      	"maxBsonObjectSize" : 16777216,
      	"ok" : 1
      }

        Attachments

          Activity

            People

            Assignee:
            michael.cahill Michael Cahill
            Reporter:
            steve.briskin Steve Briskin
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: