[SERVER-73725] mongo db service often getting restarted Created: 07/Feb/23  Updated: 24/Feb/23  Resolved: 09/Feb/23

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

Type: Bug Priority: Major - P3
Reporter: Satish Bodake Assignee: Yuan Fang
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File MongoDBpartial_log_0206.txt     File metrics.2023-02-23T23-24-28Z-00000     Text File mongo-support-log-ticket-SERVER-73725.txt     Zip Archive mongod.2023-02-03T04-29-06.zip    
Issue Links:
Related
related to SERVER-54786 How to avoid this error “terminate() ... Closed
Operating System: ALL
Participants:

 Description   

I've windows server 2019, running community edition 5.0.6. I see service is been configured correctly and runs under 'NETWORK SERVICE' account.  I've attached minidump for your reference, I believe analyzing this dump file should reveal the cause of restart issue.  

Also attached log, search for text 'SERVER RESTARTED'  in that log file to get more details

Really appreciate if you could revert on this at the earliest



 Comments   
Comment by Satish Bodake [ 24/Feb/23 ]

Beside "Access Denied" issue, there are some other causes as well, service still restarted multiple times. Here is the log, I'm unable to figure out the issue. This is latest logs

See attached log file., there is dump file but couldn't analyze it. Mostly it says - "Unhandled exception","attr":{"exceptionString":"0xE0000001","addressString":"0x00007FFBFA1D9319"}}

mongo-support-log-ticket-SERVER-73725.txt

attached metrics as well - metrics.2023-02-23T23-24-28Z-00000

Comment by Yuan Fang [ 09/Feb/23 ]

Hi sbodake@deloitte.com,

Thank you for your report. The following failure in the mongod.log:

{"t":{"$date":"2023-02-03T01:46:23.766-05:00"},"s":"F",  "c":"CONTROL",  "id":4757800, "ctx":"ftdc","msg":"Writing fatal message","attr":{"message":"DBException::toString(): FileRenameFailed: Access is denied\nActual exception type: class mongo::error_details::ExceptionForImpl<37,class mongo::AssertionException>\n"}}

indicates that the mongod does not have the necessary permissions to rename files in its dbpath. I would suggest investigating other tasks on the machine running that may be interfering with the mongod's permissions.

As this ticket does not appear to be a bug, I will now close it. If you need further assistance troubleshooting, I encourage you to ask our community by posting on the MongoDB Developer Community Forums. If the discussion there leads you to suspect a bug in the MongoDB server, then we'd want to investigate it as a possible bug here in the SERVER project.

Regards,
Yuan

Generated at Thu Feb 08 06:25:27 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.