Page MenuHomeFeedback Tracker

Linux Reforger dedicated server should honor TMPDIR environment variable
New, NormalPublic

Description

Currently, when downloading mods (and probably for other purposes), the dedicated server on Linux uses /tmp for downloads. On some systems, that is a memory-backed filesystem and thus can lead to OOMs. It would be better if the server honored the TMPDIR environment variable, and only fall back to /tmp if it is unset.

See also: https://en.wikipedia.org/wiki/TMPDIR

I am unsure about a similar mechanism for Windows dedicated servers.

Details

Severity
Minor
Resolution
Open
Reproducibility
N/A
Operating System
Linux x64
Operating System Version
Debian Stable
Category
General

Event Timeline

klausman created this task.Jul 22 2023, 2:21 PM
klausman renamed this task from Reforger server should honor TMPDIR/TEMPDIR environment variable to Linux Reforger dedicated server should honor TMPDIR environment variable.
klausman updated the task description. (Show Details)
klausman changed Severity from None to Minor.Jul 29 2023, 1:25 PM