[SERVER-35526] WiredTiger get stuck, when cachesize is small Created: 11/Jun/18 Updated: 18/Dec/19 Resolved: 18/Dec/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | YANG Chenghu | Assignee: | Eric Sedor |
| Resolution: | Done | Votes: | 0 |
| Labels: | hang, performance, stuck | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Linux 6u3 |
||
| Attachments: |
|
| Participants: |
| Description |
|
Hi: I had found my MongoDB secondary node get a stuck, the oplog applyOps can't work. The pstack showed that WiredTiger is busy for eviction. I suspected the bug in the WiredTiger Engine. I wrote a corner case for WiredTiger. I found the WiredTiger will get stuck when the cache is small and get a heavy workload(multi-thread write + multi-thread scan). I can upload my test case and WT stat file for you.
|
| Comments |
| Comment by Eric Sedor [ 18/Dec/19 ] |
|
Understood ych.tiger@gmail.com; thanks for the update! We will close this ticket but if the issue reoccurs please let us know. |
| Comment by YANG Chenghu [ 10/Dec/19 ] |
|
Hi Eric: Thanks for your replying, We had solved the issue and lost the diagnostic. |
| Comment by Eric Sedor [ 06/Dec/19 ] |
|
Hello ych.tiger@gmail.com, We still need additional information to diagnose the problem. If this is still an issue for you, would you please archive (tar or zip) the $dbpath/diagnostic.data directory (the contents are described here) and attach it to this ticket? Note that the SERVER project is for bugs and feature requests for supported versions of the core MongoDB server, so our goal is to diagnose issues with MongoDB rather than WiredTiger directly. Thanks! |
| Comment by Eric Sedor [ 05/Nov/19 ] |
|
Depending on the workload, it's entirely possible that 1mb is too small a cache size. Would you please archive (tar or zip) the $dbpath/diagnostic.data directory (the contents are described here) and attach it to this ticket? |
| Comment by YANG Chenghu [ 12/Jun/18 ] |
|
Update another wt.hmtl about my online MongoDB cluster. We can found that all the writings are blocked in the wt.html, the wiredtiger can't work well. The eviction scanned out some pages for evicting, but eviction can't free the pages due to some unknow reasons. The eviction run again and again, but nothing happened until I restart the mongod.
|