[SERVER-42731] Mongod process memory usage is too high Created: 09/Aug/19 Updated: 06/Dec/22 Resolved: 09/Aug/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 3.6.9 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | huang zhuxing | Assignee: | Backlog - Triage Team |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Assigned Teams: |
Server Triage
|
| Operating System: | ALL |
| Participants: |
| Description |
|
一套复制集环境,数据量只有几百k,wt的配置是在9G左右(虚拟机的内存是16G),连接数平时也只有20~30个连接,最近发现上面的主节点的mongod的内存占用率比较高,当前一直占用在12G左右,进程的物理内存高水位去到13G。 Google Translate:
|
| Comments |
| Comment by Danny Hatcher (Inactive) [ 09/Aug/19 ] |
|
Please note that the WiredTiger cache configuration simply bounds one aspect of MongoDB's memory usage. The mongod process will eventually grow to use all available memory on a server unless constrained at the OS-level via cgroups or similar. The SERVER project is for bugs and feature suggestions for the MongoDB server. If you need assistance troubleshooting memory optimizations, I encourage you to ask our community by posting on the mongodb-user group or on Stack Overflow with the mongodb tag. |