--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/7135b127-b8ba-41bc-bc70-b301950c73f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/6e33749d-b086-4d8f-88b1-9d56b6bc8e07%40googlegroups.com.
I didn't see OP mention anything about capped collections and in any case this is a count on another collection which would not be affected by insert on a different collection in wired tiger.However that log line does show very high time for acquiring lock and that's probably because of high number of yields. OP - I would like to see explain for this query the count is using - for a covered index query even 50ms seems a bit on the high side. Explain will show how many entries in the index have to be examined and whether it is in fact a covered query.
numYields:20Asya
Hi Māris,--Do you have a lot of inserts and updates ?Maybe you are suffering from https://jira.mongodb.org/browse/SERVER-19522 and should upgrade to 3.0.6 ?
On Thursday, August 27, 2015 at 10:09:37 AM UTC+2, Māris Ruskulis wrote:For example:
2015-08-27T10:43:33.238+0300 I COMMAND [conn303] command contacts.$cmd command: count { count: "contacts", query: { displayName: { $exists: true }, emails.address: { $exists: true }, user: "SOME_USER" } }
ntoreturn:1 keyUpdates:0 writeConflicts:0 numYields:20 reslen:154 locks:{ Global: { acquireCount: { r: 42 }, acquireWaitCount: { r: 21 }, timeAcquiringMicros: { r: 2824107 } }, Database: { acquireCount: { r: 21
} }, Collection: { acquireCount: { r: 21 } } } 9109ms
this query is covered by index, and normally it takes 50ms by http request. When single replica becomes slow, logs are spammed with such messages, but its unclear what causes this behaviour, load on web app is the same.
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+unsubscribe@googlegroups.com.
Currenlty running some heave map/reduce task, will complete in few days, then will continue with the issue.
At some point of time, mongod starts using a lot of memory. Looks like slowdowns happen because of heavy swap usage. Disabled swap on node which hosts primary replica of main shard, which previously caused troubles, node has 16GB of ram, mongod wiredTigerCacheSize=2GB, at some time mongod got killed by oomkiller, mongod consumed a lot beyond 2GB, zabbix memory usage graph: http://postimg.org/image/56uvyjaeh/. Could not find any documentation on how memory is used by WiredTiger.
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to a topic in the Google Groups "mongodb-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mongodb-user/euDDVBr_J-U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/c6a53176-bfad-4943-b64a-614a5c122f3c%40googlegroups.com.