Running your own DDraceNetwork server on a VPS is a lot of fun, but it also means taking responsibility when something goes wrong. Crashes, lag, and configuration issues are common challenges that every server owner encounters sooner or later.
To help you spend less time troubleshooting, we’ll show you the most common issues and how to fix them quickly on your VPS.
The causes of server issues aren’t always immediately obvious. The best place to start is the server output: the server displays its output in the window or terminal and also writes it to the file specified by logfile (in the example configuration, autoexec_server.log). To access it, connect to your VPS via Remote Desktop or SSH.
Server not visible
If your server doesn’t appear in the server list, first check that it’s running and has finished starting up. Then check that the ports are open in your operating system’s firewall and in your VPS’s network firewall. For the ports DDraceNetwork needs, see DDraceNetwork: Set up a server on your VPS. Your server will only appear in the public list if sv_register 1 is set. Also, set sv_port explicitly; otherwise, the server will choose an available port between 8303 and 8310. Make sure there are no filters enabled in the server list that hide your server.
Server won’t start
Start DDNet-Server again and monitor the output. Common causes include a typo in your configuration, a map that can’t be found, or a port that’s already in use by another program. If you changed the configuration, try reverting the change temporarily.
Nothing brings a great session to an end faster than an unexpected crash. Causes can include an outdated server version, faulty mods, an overloaded VPS, or a misconfiguration. If a server you set up manually crashes, it won’t restart automatically unless you’ve set up an auto-start option or script yourself.
Keep your server up to date
An outdated server can cause unexpected behavior and often prevents players with newer versions from using all the features. Updates aren’t installed automatically. Download the new version from ddnet.org and replace the server files. Your settings in myServerconfig.cfg will be preserved.
Faulty mods
If you use mods or plugins, they’re a common cause of crashes, especially after a game update. Try disabling additional content and starting with a minimal configuration. If that fixes the problem, add the content back one step at a time and test after each step. This will help you identify exactly what’s causing the issue.
Issues like lag or delays often occur when the configuration isn’t suitable, the VPS doesn’t have enough resources, or mods overload the system.
Poor server configuration
Unsuitable settings can increase resource usage and cause lag. Check the values in your myServerconfig.cfg, such as sv_max_clients. Restart the server after making changes.
Not enough resources on the VPS
The operating system and other programs on the VPS also need resources. You can check how heavily your VPS is being used in the ZapX dashboard under Monitoring. If the memory or CPU is consistently maxed out, upgrading your VPS can help. Learn more in Upgrades, downgrades, renewals, and cancellations.
Ping spikes, lag, and network delays
Ping spikes and lag are usually caused by limited VPS resources, a large number of players, or a server location far from your players. First, check resource usage under Monitoring. If you suspect routing issues, see Diagnose network issues with WinMTR/MTR. If you’re still having trouble, contact our support team.
DDoS and other network threats
Game servers are sometimes targeted by DDoS attacks that flood the server with traffic. Your VPS is protected by our DDoS protection. You can view past attacks in the DDoS protection tab for your VPS in the ZapX dashboard, if it’s available at your location. If you suspect an attack is causing problems, contact our support team.
Regular backups can save you a lot of stress. Back up your myServerconfig.cfg and custom maps regularly. Your entire VPS is also backed up automatically every day. With an active ZapX Pass, you can restore these backups yourself and create your own backups. Learn more in Daily backups, restoring data, and restricted actions.
