[SERVER-36992] when lots inserts , mongod slow Created: 05/Sep/18  Updated: 05/Sep/18  Resolved: 05/Sep/18

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: None

Type: Question Priority: Major - P3
Reporter: shawn Assignee: Nick Brewer
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

HI

when lots  inserts,  such as  20k per second ,

mongod  was slow , and logs print:
2018-09-05T14:41:34.987+0800 I COMMAND  [conn2021516] serverStatus was very slow:

{ after basic: 0, after asserts: 0, after backgroundFlushing: 0, a fter connections: 0, after dur: 0, after extra_info: 603, after globalLock: 603, after locks: 603, after network: 603, after opLatencies: 603, after  opcounters: 603, after opcountersRepl: 603, after repl: 603, after security: 603, after sharding: 603, after storageEngine: 603, after tcmalloc: 60 3, after wiredTiger: 603, at end: 1025 }

 
As a dba, we counldn't  find  the  bottleneck is.
 
 



 Comments   
Comment by Nick Brewer [ 05/Sep/18 ]

shawn001 Under periods of high load, it is expected that serverStatus may perform more slowly - I suggest taking a look at the resources available to your system, to ensure that they are adequate to service the number of inserts you're performing.

For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag. A question like this involving more discussion would be best posted on the mongodb-user group.

-Nick

Comment by shawn [ 05/Sep/18 ]

couldn't  find  some available infos  from document

Generated at Thu Feb 08 04:44:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.