[SERVER-54103] Improve log message "Available memory is less than system memory" Created: 28/Jan/21  Updated: 29/Oct/23  Resolved: 03/May/21

Status: Closed
Project: Core Server
Component/s: Logging
Affects Version/s: None
Fix Version/s: 5.0.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Dmitry Agranat Assignee: Luis Osta (Inactive)
Resolution: Fixed Votes: 0
Labels: neweng, save-for-luis, servicearch-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2021-05-17
Participants:
Story Points: 1

 Description   

"Available" is rather a vague term that can be interpreted in many different ways. The message could be improved by saying "Memory available to mongod process is less than total system memory" or something like this.

Example od the current message:

{"t":{"$date":"2021-01-25T09:32:52.556+00:00"},"s":"W",  "c":"CONTROL",  "id":20720,   "ctx":"initandlisten","msg":"Available memory is less than system memory","attr":{"availableMemSizeMB":5120,"systemMemSizeMB":32011}}



 Comments   
Comment by Githook User [ 03/May/21 ]

Author:

{'name': 'Luis Osta', 'email': 'luis.osta@mongodb.com', 'username': 'LuisOsta'}

Message: SERVER-54103 Improve log message "Available memory is less than system memory"
Branch: master
https://github.com/mongodb/mongo/commit/9a763e6f9fdabba07f7955f39f81f9c851e18bee

Comment by Luis Osta (Inactive) [ 30/Apr/21 ]

This log is present in the `log_process_details.cpp` file

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