[SERVER-20835] Out of memory crash during queries Created: 08/Oct/15 Updated: 09/Jan/16 Resolved: 09/Jan/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Admin |
| Affects Version/s: | 3.0.4 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Maxime Santerre | Assignee: | Kelsey Schubert |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Description |
|
From time to time, Mongodb will crash with an out of memory error. I'm not quite sure how to reproduce, but I've included as many relevant logs as I can in this gist: https://gist.github.com/msanterre/d4da445a15e3f905b916
|
| Comments |
| Comment by Ramon Fernandez Marina [ 09/Jan/16 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
m.santerre, we haven't heard back from you for some time, so I'm going to close this ticket for now. I don't see anything unusual in the data you sent us; the connection that triggers the out of memory condition is a scan of the _id index, so I can only think that, given the size of the pandabot_production, this server may need more memory. If this is still an issue for you I'd recommend upgrading to 3.0.8 and letting us know if the problem persists. Regards, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Kelsey Schubert [ 07/Dec/15 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Thank you, m.santerre. Can you please provide the following information?
Kind regards, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Maxime Santerre [ 04/Dec/15 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi Thomas, I'm using MMAPv1.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Kelsey Schubert [ 04/Dec/15 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi m.santerre, Sorry for the long delay getting back to you. To continue to examine this issue can you please specify whether you are using MMAPv1 or WiredTiger? Please note that if you are you using WiredTiger there have been a number of memory consumption bugs which have been fixed in subsequent versions. I would recommend that you consider upgrading to 3.0.7 and if the issue persists we will continue to investigate. Thank you, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Maxime Santerre [ 28/Oct/15 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi Ramon, We have a 3 machine replica-set, no sharding. We're running on ubuntu 14.04 LTS on AWS (m4.2xlarge) m4.2xlarge
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Ramon Fernandez Marina [ 09/Oct/15 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
m.santerre, we'll need more details to understand this issue. Please provide the following information
Thanks, |