01
Measure before you change anything
A Rust server computes the world in a loop, a certain number of times per second: these are its frames per second (server FPS), unrelated to your graphics card's. When they drop, everyone feels the lag at the same time: doors opening late, shots not registering, vehicles jumping around.
Type server.fps in the server console to read the current value. Write it down at several moments: right after the wipe, in the evening with many players, at the end of the wipe. This curve tells you almost everything:
- FPS dropping a little more every day: entities are piling up (next section).
- FPS falling when the server fills up: the machine is tight for the number of players.
- A clear drop after adding a plugin: the plugin is to blame.
- Normal FPS but lag felt by everyone: look at the network instead, for example an attack (see protecting a game server against DDoS).
If only one player complains, the problem often lies with their connection or computer, not the server.
02
Entities piling up over the wipe
Every wall, door, box, trap, lamp or vehicle placed on the map is an entity the server has to track. At the start of a wipe, the map is almost empty; after a few weeks, it carries thousands of bases. This is the most common reason a server slows down over time, and why a wipe often brings back full smoothness.
Decay cleans up on its own. A base whose tool cupboard no longer holds resources to pay its upkeep degrades, then disappears: according to Facepunch's official wiki, expect around an hour for twig and several hours for stone or metal, layer by layer. The decay.* variables control it, for example decay.scale for its speed (1 for the normal value). Think before reducing or disabling it: on a public server, abandoned bases would never go away and the map would fill up until the next wipe.
To spot a player who builds excessively, the entity.countby command, followed by their SteamID64, counts the entities they have placed:
entity.countby 76561198123456789
Its neighbour entity.deleteby destroys all of a player's entities, for example those of a banned cheater. It cannot be undone: make a backup first, and only use it when you know exactly what you are doing.
03
Map size and player count
Two launch settings weigh heavily on the machine (see server.cfg and launch parameters):
server.worldsize, the map size. The official wiki suggests a value between 1000 and 6000 and warns that a large map needs more memory and disk. A large map with few players feels empty; a small map with many players quickly fills with bases.
server.maxplayers, the number of players connected at once. The wiki sums it up: the more players, the faster the processor needs to be.
So size the map for your real audience, not for the number that looks good in the server list. The server's main loop depends mostly on the speed of one processor core: a recent high-frequency processor beats many slow cores. Changing the map size or seed requires a map wipe: use the monthly wipe to do it.
04
Heavy plugins
A plugin runs in the same loop as the game. A badly written plugin, or one set too broadly (an interface refreshed constantly for every player, a task run every second across the whole map), can make FPS drop on its own.
- The simple method: remove plugins one by one, then watch
server.fps. With uMod, oxide.unload NomDuPlugin unloads a plugin without restarting, and oxide.load NomDuPlugin loads it again.
- Carbon's profiler: Carbon includes a profiler (the
c.profile command) that measures the time each plugin takes. Its documentation also mentions a standalone version of this profiler, meant for vanilla or Oxide servers, published on Carbon's GitHub (CarbonCommunity/Carbon.Profiler). See Carbon on a Rust server.
- Good habits: only install what you use, prefer recently updated plugins, and remove those that overlap.
To sort them out, see the essential plugins for a Rust server.
05
Saves, daily restart and memory
Automatic saves. The server saves the game at regular intervals, set in seconds by server.saveinterval. Each save takes effort from the server, which can pause briefly on a heavily built map. Too short an interval multiplies these pauses; too long an interval loses more in a crash. If players report a regular freeze, compare its rhythm with this interval.
The daily restart. Many admins notice that the memory used by the server grows over the hours. One restart a day, during off-peak hours, starts again from a clean state. Warn the players:
restart 300 "Redémarrage quotidien dans 5 minutes"
restart shows a countdown in seconds, saves, then stops the server: the host or a service has to start it again afterwards (see Rust admin commands). For a fixed time, plugins published on umod.org handle it, such as Smooth Restarter, which stops the server at the chosen time: its page states that it does not start it again itself.
Memory. The map, entities and plugins all take memory. If it reaches your plan's limit, the server can slow down badly or stop. Watch it at the end of the wipe, when it is highest, before deciding whether you need more memory, a smaller map or fewer plugins.
06
On CloudFive
On our Rust hosting plans, from €9.50 per month, servers run in France on AMD Ryzen 9 9950X, a high-frequency processor, with DDR5 memory and NVMe storage.
- The map seed and size are chosen from the customer area manager.cloudfive.fr;
- wipes are scheduled in the Wipes tab, to start again regularly from a clean map;
- the console is used for
server.fps, entity.countby or oxide.unload, and uMod (Oxide) installs from the customer area;
- backups are included: make one before removing entities or changing plugins;
- Anti-DDoS Premium is included, with a Rust-specific profile, to keep out attacks that look like lag.
Monthly, with no commitment, with support in French 7 days a week by ticket, on Discord and by phone. Before setting up an automatic restart, ask support how your server is started again after a stop. If your server lacks headroom despite these settings, support will also help you choose the right plan. To start from scratch, see creating a Rust server.
07
Frequently asked questions
Why does my Rust server lag more and more during the wipe?
Because entities pile up: every wall, box or trap placed is tracked by the server, and the map holds more and more of them as the weeks go by. Decay removes abandoned bases, and the next wipe resets the map.
How do I check a Rust server's FPS?
Type server.fps in the server console. Note the value at several moments, after the wipe, at peak hours and at the end of the wipe, to find out whether the drop comes from entities, player count or a plugin.
How do I find the plugin that makes a Rust server lag?
Unload plugins one by one with oxide.unload and watch server.fps between each test. Under Carbon, the built-in profiler (c.profile) measures the time each plugin takes.
Should a Rust server be restarted every day?
It is not required, but many admins do it during off-peak hours, because the memory used tends to grow over the hours. The restart command followed by a delay in seconds and a message warns players before the shutdown.
What map size should I choose for a smooth Rust server?
The official wiki suggests a size between 1000 and 6000, and a large map needs more memory and disk. Choose it according to your real number of players: a map that is too large feels empty, one that is too small quickly fills with bases.