[SERVER-48436] mongod crashes - oom Created: 27/May/20  Updated: 27/Oct/23  Resolved: 30/Jun/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 4.2.6, 4.2.7
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Constantine Moustakakis Assignee: Dmitry Agranat
Resolution: Community Answered Votes: 0
Labels: Windows
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows (Windows Server 2016 Datacenter)
VPS: Azure B1S (1vCPU, 1GB RAM), VRAM (pagefile) : 4GB.


Attachments: File metrics.2020-05-26T08-05-14Z-00000     File metrics.2020-05-27T05-44-51Z-00000     Text File mongod.log     PNG File oom.png    
Operating System: ALL
Participants:

 Description   

I seem to get oom crashes on my VPS.

you will find attached the mongo log file, as well as the diagnostics file data.
(please note that I am not sure if this is an actual bug)

Additional notes:
the crash happened when the application server was idle (no users connected),
when stress testing the application server (100 concurrent users), mongoDB performed as expected,
when the same crash happened in the past, I noticed that the performance counters PerfOS (DLL Name: %SystemRoot%\System32\perfos.dll) had been disabled and I had to enable them manually (my application server uses them as well, that's how I noticed).



 Comments   
Comment by Dmitry Agranat [ 30/Jun/20 ]

Hi constantine.mous@gmail.com,

We haven’t heard back from you for some time, so I’m going to mark this ticket as resolved. If this is still an issue for you, please provide additional information and we will reopen the ticket.

Regards,
Dima

Comment by Constantine Moustakakis [ 04/Jun/20 ]

Thank you for your reply and sorry for taking up your time.
we will investigate further on our side.

Comment by Dmitry Agranat [ 04/Jun/20 ]

Hi constantine.mous@gmail.com, thank you for the report.

This issue does not seem to be related to MongoDB.

MongoDB memory utilization is 29 MB with less than 1 MB in the WT cache on this 1 GB server. At A, something happens on this server and OS decides to commit a large amount of system memory. Eventually, you ran out of PageFile's maximum defined ~4 GB.

Thanks,
Dima

Generated at Thu Feb 08 05:17:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.