New: the Buffnode Discord. Community help, news and game requests.Join

Sons of the Forest server on Linux

The Sons of the Forest server runs on Linux, but only with the right Wine build and a trick in the start command. On WineHQ 11.0 it came up, on Debian's Wine 10.0 it hung every time. And it needs about 7 GB of memory before anyone joins.

Measured and written by Buffnode

Measured

Measured on 15 November 2026, no players, container capped at 11 GB

Steam app of the server
2465200
Download
3.2 GB
Disk after first start
4.8 GB
Memory at idle
6.98 GB
Peak incl. file cache
8.7 GB
CPU at idle
33% of one core
Ready after first start
128 s
Ports in our test
UDP 8766, 27016, 9700
Answers Steam query
yes
Installed on top
nothing

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 +quit

The 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
done

The 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

  1. Buffnode, test run of Windows servers under Wine (WineHQ 11.0, Debian 13), 15 November 2026 (own measurement)
  2. Buffnode, pre-run with Debian's Wine 10.0 and WineHQ 11.0 on a second test system, 15 November 2026 (own measurement)
  3. 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

Rather rent your own Sons of the Forest server?

Sizes and prices are on the game page, based on exactly this measurement.

Sons of the Forest game page