I might have found some interesting information about the wine crashes that I have been experiencing. I think it might be the following:
cat /proc/sys/vm/max_map_count
65530
From quite a long time of reading different things on the net, everything says that this value is far too low if you want to run any kind of games at all under wine. Unfortunately this is the default value in OM.
Some suggest just go hole hog and max it out to 2147483642.
Could I get some help on the correct way to increase this permanently?
Everything I have read says to add it to:
/etc/sysctl.conf
Unfortunately, this does not seem to exist on OM so I am not sure how to do this correctly.
Since Valve’s Proton is also based on Wine, you would expect this to affect that as well. It doesn’t seem to. Which either means there is a bug in Wine, which will need to be reported, or some configuration overlap from copying full backups of a home drive into a fresh home drive. We can’t really help in either case, and not knowing what you are running makes that even more difficult.
"This file contains the maximum number of memory map areas a process may have. Memory map areas are used as a side-effect of calling malloc, directly by mmap, mprotect, and madvise, and also when loading shared libraries.
While most applications need less than a thousand maps, certain programs, particularly malloc debuggers, may consume lots of them, e.g., up to one or two maps per allocation.
I guess, what I’m getting at is we have no way of knowing what someone is going to use it for and tuning the kernel will need testing before being applied to a default config.
I wouldn’t recommend even trying to tune or applying the fix to the kernel on account of this DayZ bug because Dayz is the epitome of janky code. Just trying to show the OP what I did to to maybe fix his issue, if it even is his issue.
My write up shows how to do it with or without making permanent changes to his system.