Jump to content
Sign in to follow this  
Koylio

Linux client crash if /tmp is too small

Recommended Posts

Reporting here because feedback.arma3.com is down, and someone else might run to this too.

 

Linux port version 1.54 (and ealier too) crashes without meaningful error message, when /tmp is full. I noticed this while using 512Mb tmpfs (a ram disk) as /tmp partition. While game is running, it seems to use 651Mb of temporary file storage space in my case, but this propably depends on map and other variables.

 

Looking at strings in the binary, there seems to be a check for failure in temp folder creation, but not one for running out of space. It would be nice to have a meaningful error message instead of crash. Just checking for space at start isn't sufficent, since /tmp is usualy world writeable and can be filled up by another processes or users. Also it would be nice to allow for user to set the location of temporary files, now /tmp seems to be hard coded.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×