Page MenuHomeFeedback Tracker

Server crash on linux, not if runned as root
Need More Info, NormalPublic

Description

In short if I start (with no config file no parameter no nothign) as a normal user it crashes...

If runned with strace I have before the end lot of

mmap2(NULL, 4194304, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)

So I noticed this happen because 4Gb of memory got already dedicated to this process (which is 32 bit)

RES 3.950g
VIRT 4176060

If I run as root this problem is not present, memory usage is very, very low at start

VIRT    RES

194352 92372

machine is Intel(R) Xeon(R) CPU E5-1630 v3 with 64Gb of memory and... 62Gb free.

Server version is the latest (I think) just freshly installed from steam

I will try to dig some more

Details

Severity
Crash
Resolution
Open
Reproducibility
Always
Operating System
Linux x64
Operating System Version
Suse 15.0
Category
Dedicated Server
Steps To Reproduce

from a fresh install just
./arma3server

Event Timeline

tsmtgdi created this task.Aug 14 2019, 11:19 PM

Loggin the strace output on a file than grepping for

grep "4194304, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS," arma3log1| wc -l

1107

And also the last line clearly show we are approaching the 32bit limit

mmap2(NULL, 4194304, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xfd400000
mmap2(NULL, 4194304, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xfd800000
mmap2(NULL, 4194304, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xfdc00000
mmap2(NULL, 4194304, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xfe000000
mmap2(NULL, 4194304, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xfe400000
mmap2(NULL, 4194304, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xfe800000
mmap2(NULL, 4194304, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xfec00000
mmap2(NULL, 4194304, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xff000000
mmap2(NULL, 4194304, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xff400000

Having the system allocating memory in 0xFF range

In between those allocation there are hundreof of line related to futex, but I think they are irrelevant

tsmtgdi updated the task description. (Show Details)Aug 14 2019, 11:34 PM
Astaroth changed the task status from New to Need More Info.Aug 23 2019, 4:45 PM
Astaroth added a subscriber: Astaroth.

Hi,
I can not reproduce it on our linux test servers. Do you have this issue for a longer time or is it after last patch?

Yes was just installed version, up to date at that day, I will reupdate and re-try shorty (I have received no mail notification of this answer sorry)