The Wine build matters
We started the server on two builds. With Debian's Wine 10.0 it stalled after Creating a new save in four runs of up to ten minutes. With WineHQ 11.0 from WineHQ's repository it answered the Steam query.
So install WineHQ as shown in our overview of Windows servers under Wine, not the Wine from Debian's own repository.
Download
The server's app ID is 2465200 and anonymous login works. 3.2 GB download, 4.8 GB on disk after starting.
./steamcmd.sh +force_install_dir /srv/sotf +@sSteamCmdForcePlatformType windows +login anonymous +app_update 2465200 validate +quitThe restart trap
On its first and second start the server runs self-tests and stops with Please restart the server. The first run creates steam_appid.txt, the second dedicatedserver.cfg and ownerswhitelist.txt. Only the third start loads a world.
Without a terminal the process exits by itself at that point. With a terminal, which is how a game server panel starts it, it just sits after that line, indefinitely: we measured five minutes of nothing. Our start command therefore watches the output, kills Wine on that line and restarts up to three times:
mkdir -p config; n=0
while :; do
rm -f /tmp/sotf-restart
wine SonsOfTheForestDS.exe -userdatapath 'Z:\srv\sotf\config' \
-dedicatedserver.IpAddress 0.0.0.0 -dedicatedserver.GamePort 8766 \
-dedicatedserver.QueryPort 27016 -dedicatedserver.BlobSyncPort 9700 \
-dedicatedserver.SkipNetworkAccessibilityTest true 2>&1 |
while IFS= read -r l; do
printf '%s\n' "$l"
case "$l" in *"Please restart the server"*) touch /tmp/sotf-restart; sleep 2; wineserver -k;; esac
done
if [ -f /tmp/sotf-restart ] && [ $n -lt 3 ]; then n=$((n+1)); wineserver -w; continue; fi
break
doneThe path after -userdatapath goes in Windows form, because Wine maps the Linux file system to Z:. Settings and saves end up there.
The log also shows an error mentioning Crest.TextureArrayHelpers and Failed to create batch mode window. Both look like a crash and neither is one: the server kept running.
Ports
With the command above the server opened the three UDP ports we passed: 8766 for the game, 27016 for queries and 9700 for save syncing. On 27016 it identified itself as Sons Of The Forest Server (dedicated). Open all three if players connect from outside.
How much RAM?
After eight idle minutes the game process held 6.98 GB, with a container peak of 8.7 GB. On the second test system it had reached 6.1 GB after a minute and a half. That makes Sons of the Forest the hungriest of the servers that ran without caveats in our test.
An 8 GB machine barely covers the empty server. That's why the sizes on our Sons of the Forest game page start higher than for most games.
What we haven't measured
- No player joined; memory with a full group is open.
- We didn't change anything in
dedicatedserver.cfg, we only set the ports through start parameters.
Sources
- Buffnode, test run of Windows servers under Wine (WineHQ 11.0, Debian 13), 15 November 2026 (own measurement)
- Buffnode, pre-run with Debian's Wine 10.0 and WineHQ 11.0 on a second test system, 15 November 2026 (own measurement)
- WineHQ, package repositories for Debian (dl.winehq.org/wine-builds/debian), retrieved 15 November 2026
More guides
Windows game servers on Linux with WineEnshrouded dedicated server on LinuxV Rising dedicated server on LinuxSpace Engineers server on LinuxHow much RAM does a SCUM server need?Icarus dedicated server on LinuxThe Forest dedicated server on LinuxAbiotic Factor dedicated server on LinuxWindrose dedicated server on LinuxEmpyrion dedicated server on LinuxStarRupture dedicated server on LinuxSubsistence dedicated server on LinuxGround Branch dedicated server on LinuxReturn to Moria dedicated server on LinuxNight of the Dead dedicated server on LinuxPixARK dedicated server on Linux
