Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some documentation on vm.max_map_count #141

Open
jordan4ibanez opened this issue Jun 18, 2023 · 0 comments
Open

Some documentation on vm.max_map_count #141

jordan4ibanez opened this issue Jun 18, 2023 · 0 comments

Comments

@jordan4ibanez
Copy link

jordan4ibanez commented Jun 18, 2023

So I've distro hopped a few times, seen that the variable vm.max_map_count is defaulted to 65530. This is fine for a lot of games, but quite a few, like in my specific example DayZ, require a higher max map count to 1048576. I was specifically wondering if there was any section in the documentation that already exists to allow users to quickly implement this into their distro. So like the basic commands would be:

# to verify it is defaulted to 65530
sysctl vm.max_map_count

sudo nano /etc/sysctl.d/max_map_count.conf

# paste in vm.max_map_count=1048576

# ctrl + x then y

# to double check
cat /etc/sysctl.d/max_map_count.conf

# reboot

# then verify it stuck
sysctl vm.max_map_count

I dunno, I'm just trying to make everyone's experience out of the box easier when they read the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant