01
The server stops at startup on Linux
Start by reading the log: journalctl -u 7dtd -n 100 if the server runs as a service, or the output_log file in the 7DaysToDieServer_Data folder. Two warnings often show up on a Linux server, right after launch. Both are covered in the support FAQ on the official forum.
WRN The open files limit is too low (1024) and may cause crashes. Recommended is at least 10240.
The server opens a large number of files at once (map regions, player data), more so on a large map. The system limit, 1024 here, is too low: the server may stop a few moments after launch. The message itself gives the steps for a manual launch: add a line to /etc/security/limits.conf with the name of the account that runs the server, then log in again.
sdtd soft nofile 10240
For a server started by systemd, that file does not apply: the limit is set in the service. Add the LimitNOFILE line to the [Service] section of /etc/systemd/system/7dtd.service, then reload:
LimitNOFILE=10240
sudo systemctl daemon-reload
sudo systemctl restart 7dtd
systemctl show 7dtd -p LimitNOFILE
WRN The vm.max_map_count setting is too low (65530) and may cause crashes.
This kernel setting limits how many memory areas a program can reserve. The message asks you to add vm.max_map_count=262144 to /etc/sysctl.conf, then apply the change:
echo "vm.max_map_count=262144" | sudo tee -a /etc/sysctl.conf
sudo sysctl -p
In a container VPS (LXC), this setting belongs to the host machine: if the command is refused, it is not your mistake. Ask your host to check the value, and in the meantime keep an eye on the server: it is a warning, not a certain crash. The full service is described in the guide create a 7 Days to Die server.
02
SteamCMD and versions: install, update, match the players
Login Failure: No Connection
SteamCMD cannot reach Steam, before it even downloads anything. Valve's wiki links this error, on Linux, to firewall rules that block replies from Steam's servers. Check that the VPS's outgoing traffic is not filtered, and that UDP replies from ports 27000 to 27030 and from port 4380 are accepted. With iptables, the wiki gives these two rules:
sudo iptables -A INPUT -p udp -m udp --sport 27000:27030 --dport 1025:65355 -j ACCEPT
sudo iptables -A INPUT -p udp -m udp --sport 4380 --dport 1025:65355 -j ACCEPT
Players can no longer connect after a game update. The server and the players must run the same version. The developers' official announcements repeat it with each new version: on a dedicated server, you have to pick the right branch, usually the default public version. In SteamCMD, the public branch is named public:
sudo systemctl stop 7dtd
sudo -iu sdtd /usr/games/steamcmd +force_install_dir /opt/7dtd/serveur +login anonymous +app_update "294420 -beta public" validate +quit
sudo systemctl start 7dtd
If your players picked an experimental version in Steam, the server must follow the same branch, under the name given in that version's announcement. Make a backup before switching branches (see below).
03
The server cannot be found or turns players away
The server does not show up in the list, or cannot connect to EOS. The server list goes through Epic Online Services (EOS). The FAQ on the official forum first lists the ports to open:
- 26900 TCP, for the server information query;
- 26900 to 26903 UDP: the server list, traffic with Steam and the game's networking. Port 26903 is unused for now, but leaving it closed can stop players from joining.
sudo ufw allow 26900/tcp
sudo ufw allow 26900:26903/udp
If you changed ServerPort, shift the whole range. Also check ServerVisibility: 2 for a public server, 0 for a server left out of the list. In the meantime, players can connect with the IP address and port. On a Windows server, the FAQ adds a step: install the EOS revocation certificate (r2m02.crl) in the "Trusted Root Certification Authorities" store, then restart if needed.
Error validating EasyAntiCheat code signing certificate.
This message appears on the player's side, when the game starts with the EasyAntiCheat (EAC) anti-cheat, not on the server. According to the official FAQ, it most often comes from a Windows install behind on updates, whose certificates are too old. The player needs to update Windows and exclude the game folder from their antivirus.
A player is kicked for an EAC error, or drops from the server. The same FAQ lists, on the player's side, an antivirus delaying traffic, a firewall that is too strict, an old network driver or unstable Wi-Fi. If every player drops at the same moment, look at the server instead: the guide game server ports helps check what is open, and protecting a game server from DDoS attacks explains how to recognise an attack.
04
Mods, settings and saves
A mod is not loaded. According to the official wiki, the ModInfo.xml file is required: without it, the game does not load the mod. It must sit directly in the mod's folder, itself inside Mods at the root of the server:
/opt/7dtd/serveur/Mods/NomDuMod/ModInfo.xml
One folder too many in between, and the mod is ignored. The wiki also states that XML changes are pushed from the server to the players, but icons and resource files are not: a mod that contains them must also be installed by every player. A mod that adds code (.dll files) may also require turning EasyAntiCheat off (EACEnabled set to false): its page says so. After a game update, check that each mod has been updated too. The guide 7 Days to Die server mods covers installation in detail.
Game settings are back to their default values. Since version 3 of the game, these settings go through a code generated in the game's Sandbox menu, pasted into the SandboxCode property. The developers warned, with an update that changed the Sandbox options, that a code that has become invalid may reset some or all settings to their defaults. Generate a new code in the game, on the same version as the server, paste it into your configuration file, then restart.
An old save misbehaves after an update. The official FAQ warns that a game started on an earlier version may run into problems on the new one. So keep a copy of the save folder before each update. For a consistent copy, save the world with the saveworld command in the telnet console (see 7 Days to Die admin commands), then stop the server:
sudo systemctl stop 7dtd
sudo -u sdtd tar czf /opt/7dtd/7dtd-$(date +%F).tar.gz -C /opt/7dtd .local/share/7DaysToDie
sudo systemctl start 7dtd
05
Slowdowns and a very long first load
These problems do not come with a specific message: you have to recognise them by their symptoms.
- The server lags as soon as several players are online: the FAQ on the official forum advises at least 8 GB of memory for a dedicated server, 16 GB recommended, and more with more players. Watch memory with
free -h during a horde night, the busiest moment.
- The game is designed for 8 players: the developers explain that each player adds load to the server. Beyond that, expect slowdowns.
- View distance and zombie count: the official wiki notes that
ServerMaxAllowedViewDistance weighs heavily on memory and performance, and that MaxSpawnedZombies has a strong impact. The comments in the configuration file shipped with your version tell you where these settings live.
- A player's first connection takes a very long time: the player first downloads the map. The wiki states that
ServerMaxWorldTransferSpeedKiBs tops out around 1300 KiB/s, even if you set more. A large generated map therefore takes several minutes to transfer.
06
On CloudFive
CloudFive has no ready-made 7 Days to Die plan: the server is installed on a VPS, using the method in the guide create a 7 Days to Die server. Our VPS for game servers, from €5.99 per month, offer:
- an AMD Ryzen 9 9950X, with DDR5 memory and NVMe storage: pick a tier with enough memory for the map size you have in mind;
- root access and a dedicated IPv4 address;
- basic DDoS protection included; Premium Protection, with a filter specific to the game, is a paid option;
- servers in France, monthly with no commitment, with support in French 7 days a week, by ticket, on Discord and by phone.
If the vm.max_map_count setting cannot be changed from your Ryzen VPS, open a ticket: it is a setting of the host machine.
07
Frequently asked questions
Why does my 7 Days to Die server stop right after startup on Linux?
Read the log: the warning "The open files limit is too low" means the open files limit is too low. For a systemd service, add LimitNOFILE=10240 to the [Service] section, reload systemd and restart the server.
What should I do about "The vm.max_map_count setting is too low"?
Add the line vm.max_map_count=262144 to /etc/sysctl.conf, then run sudo sysctl -p, as the message asks. In a container VPS, this setting depends on the host machine: ask your host if it is refused.
Which ports should I open for a 7 Days to Die server to show up in the list?
Port 26900 TCP and ports 26900 to 26903 UDP, or the same range shifted if you changed ServerPort. Also check that ServerVisibility is set to 2 for a public server.
Why can my players no longer join the server after an update?
The server and the players no longer run the same version. Update the server with SteamCMD on the same branch as the players, usually the public branch, then restart it.
Why are my game settings back to their defaults?
Since version 3, game settings go through the Sandbox code. After an update that changes the options, an old code can become invalid: generate a new one in the game's Sandbox menu and paste it into SandboxCode.