...
mongod process crash every several hour following message ~ {"t":\{"$date":"2022-05-24T20:10:58.013+09:00"} ,"s":"F", "c":"CONTROL", "id":4757800, "ctx":"ftdc","msg":"Writing fatal message","attr":{"message":"terminate() called. An exception is active; attempting to gather more information"}} {"t": {"$date":"2022-05-24T20:10:58.013+09:00"} ,"s":"F", "c":"CONTROL", "id":4757800, "ctx":"ftdc","msg":"Writing fatal message","attr":{"message":"DBException::toString(): FileRenameFailed: \ufffdv\ufffd\ufffd\ufffdZ\ufffdX\ufffd̓t\ufffd@\ufffdC\ufffd\ufffd\ufffdɃA\ufffdN\ufffdZ\ufffdX\ufffdł\ufffd\ufffd܂\ufffd\ufffd\ufffd\ufffdB\ufffdʂ̃v\ufffd\ufffd\ufffdZ\ufffdX\ufffd\ufffd\ufffdg\ufffdp\ufffd\ufffd\ufffdł\ufffd\ufffdB\nActual exception type: class mongo::error_details::ExceptionForImpl\n"}}~ This issue probably comming from following ec.message() returns non utf-8 character. https://github.com/mongodb/mongo/blob/958ad9abfc80861d3f43f44da694e83464b01e1d/src/mongo/db/ftdc/file_writer.cpp#L110 "\ufffd" is unicode replacement character for unknown or unrepresentable in Unicode. ~https://stackoverflow.com/questions/18489893/what-is-the-encoding-used-by-boost-asio-error-messages~
JIRAUSER1272801 commented on Thu, 9 Feb 2023 07:27:17 +0000: how can i get the solution of mongod command error or crasehes when ever i executing mongod command ? JIRAUSER1261316 commented on Tue, 22 Nov 2022 16:59:27 +0000: Since the process crash does not appear to be caused by a bug, I will now close this ticket. JIRAUSER1261316 commented on Fri, 18 Nov 2022 23:11:25 +0000: Hi x22t33c81@gmail.com, The issue with the error message is indeed due to the system's locale being set to a code page that is not compatible with UTF-8, and hence the presence of replacement characters in the log output. As a workaround, you can temporarily set the locale or the system language to English, or enable the "Use Unicode UTF-8 for worldwide language support" setting, to get a readable error message. The cause of the process crash itself is likely due to permissions error when renaming the metrics.interim.temp file to metrics.interim. Please make sure that no other processes are reading or writing the metrics.interim file. JIRAUSER1265262 commented on Fri, 11 Nov 2022 16:49:54 +0000: Just adding that there has been further discussion of this on the community forums here: https://www.mongodb.com/community/forums/t/mongo-process-crashed-every-few-days-on-windows/129625 I agree that this looks like it may be an issue. Thanks for putting up the SERVER ticket, x22t33c81@gmail.com! I'll pass this on to the relevant team to take a look. JIRAUSER1271235 commented on Fri, 11 Nov 2022 07:38:45 +0000: Sorry, lack of information OS: Windows10 Version: MongoDB 5.0.3.0