2 / 2
Mar 15

Hello,

I just added a new replica node built on RHEL9 to an existing 3 node replica set (that runs on OL7/ Mongo 6.x) ) and it successfully got added. But I get startup warning as ```
{“t”:{“$date”:“2025-03-14T09:39:46.416-04:00”},“s”:“W”, “c”:“CONTROL”, “id”:5123300, “ctx”:“initandlisten”,“msg”:“vm.max_map_count is too low”,“attr”:{“currentValue”:65530,“recommendedMinimum”:102400,“maxConns”:51200},“tags”:[“startupWarnings”]}

But my sysctl.conf on etc has vm.max_map_count with value of 128000. Why am I still getting error ? Please advise

Hi @Dileep_Parthassarath!

What you can verify is:

  • If the parameter value is not overwritten somewhere else, then edit it where it was overwritten and apply the changes.
  • If it has been modified by you, to make sure that you have applied the changes

Best Regards