02
Measuring on the player side: resmon
In game, open the console with F8 and type resmon 1: a table shows each resource's client-side computing time. A resource staying above a few tenths of a millisecond all the time deserves a look; a single one at several milliseconds is enough to drop everyone's frame rate.
03
Measuring on the server side: the profiler
In the server console (or txAdmin's), the built-in profiler records what the server does: profiler record 500 captures 500 frames, then profiler view gives a link to the report. It shows which resources and events take the most time. Server thread hitch warnings in the console also point to moments when the server fell behind.
06
FiveM at CloudFive
Our FiveM plans run on Ryzen 9 9950X, one of the fastest processors per core, with NVMe storage, txAdmin and scheduled restarts, and Anti-DDoS Premium tuned for FiveM traffic. You change tier without reinstalling if the server grows.
07
Frequently asked questions
How do I see which resource makes FiveM lag?
On the player side, type resmon 1 in the F8 console: each resource's computing time is shown. On the server side, the built-in profiler (profiler record then profiler view) shows what takes time.
Why does my FiveM server lag with few players?
Most often because of a poorly optimised script, heavy vehicles or maps, or a cluttered database, more than the number of players.
What does “server thread hitch warning” mean?
The server fell behind on a frame: a script or a query blocked the main thread. The profiler helps find which one.
Should a FiveM server be restarted every day?
It is recommended for a loaded roleplay server: one or two scheduled restarts a day, at an off-peak hour, stop memory use and slowdowns from piling up.