-
Type:
Bug
-
Resolution: Done
-
Priority:
Critical - P2
-
None
-
Affects Version/s: 2.4.0
-
Component/s: Diagnostics
-
None
-
Environment:linux
-
Linux
-
Hi All,
I upgraded mongodb to 240. I am running standalone mongo server with 2 collections. one having 1.3 million docs other with 900k docs. Running query with a filter to have count of records makes CPU usage to go up till 99%. And query returns no data. I am using perl driver to query. Even after query execution is over, mongod CPU usages remains at 80-90%.
Strace on mongod gave me below out put
Process 3284 attached - interrupt to quit
setuid(4294967295) = 0
setuid(4294967295) = 0
setuid(4294967295) = 0
setuid(4294967295) = 0
setuid(4294967295) = 0
setuid(4294967295) = 0
setuid(4294967295) = 0
My collections are indexed on _id.
Can any one help if i am missing something.
I am using capped collection of 1GB.
Thanks