[Bug 2057792] Re: Some Games are crashing linked to a vm_max_map_count too low

Uwe Schindler 2057792 at bugs.launchpad.net
Mon Apr 8 23:02:36 UTC 2024


To complete the list of products: In addition to games, this change is
also useful for users of Elasticsearch and/or Opensearch and Apache
Lucene/Solr on large clusters.

Elasticsearch also suggests raising the value, although not so high: https://www.elastic.co/guide/en/elasticsearch/reference/current/vm-max-map-count.html
Opensearch: https://opensearch.org/docs/latest/install-and-configure/install-opensearch/index/#important-settings
Apache Solr: https://solr.apache.org/guide/solr/latest/deployment-guide/taking-solr-to-production.html

If you e.g. start Elasticsearch without a large enough vm.max_map_count,
it will print a log message to raise it and exit.

My personal opinion: Actually the game issues described here should
better be fixed in Steam's launcher when starting such a game (or in
Wine). The downstream software should better ask the user to raise the
value upon starting.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to procps in Ubuntu.
https://bugs.launchpad.net/bugs/2057792

Title:
  Some Games are crashing linked to a vm_max_map_count too low

Status in gamemode package in Ubuntu:
  Confirmed
Status in linux package in Ubuntu:
  Won't Fix
Status in procps package in Ubuntu:
  Fix Released

Bug description:
  Hello there,

  I submit this request to improve the gaming experience in ubuntu for all users. 
  Today, Hogwarts Legacy, Star Citizen and few more games are crashing or just not starting because the vm_max_map_count is locked at 65530. If we change this value to a value > 200000, all games are working well and there is no bug linked to maps. 

  Some others distribution like Fedora or Pop OS, have already made the
  change few month before.

  It's time to Ubuntu to makes the change also.

  Thanks in advance for applying this request.

  How to make this change :

  One file to modify : 
  /etc/sysctl.conf
  Add this line :
  vm.max_map_count=2147483642
  Save
  Reboot and enjoy

  Best Regards
  Vinceff

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gamemode/+bug/2057792/+subscriptions




More information about the foundations-bugs mailing list