Skip to content
Black Friday · −50 % off your first invoice on Xeon VPS with code BF50XEON, −30 % off our other services with BF30 · domain names and dedicated servers excluded See our plans
CloudFive
Log in

01

Client lag, server lag or network?

  • A single player lags: it is often their machine or connection.
  • Everyone lags at the same time, with hitch warnings in the server console: the server itself is overloaded.
  • Players are disconnected together while the console runs normally: a network problem, sometimes an attack. The guide protecting a game server from DDoS attacks details this case.
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.

04

The most frequent causes

  • Loops that run too fast: a script looping with Wait(0) runs every frame, even when it has nothing to do. Good scripts wait longer when the player is far from the relevant area.
  • Heavy vehicles and maps: huge textures slow loading and cause textures to vanish. The console flags oversized files (oversized assets).
  • A cluttered database: log tables growing endlessly, or queries without indexes, slow every action. Purge old logs and check slow queries reported by oxmysql.
  • Too many resources: each started resource costs something, even unused. Remove those no longer used rather than leaving them in server.cfg.
  • Outdated or pirated scripts: old poorly optimised versions, or “leaked” versions that sometimes contain malicious code.
05

Settings that help

  • Scheduled restarts once or twice a day, at an off-peak hour, with txAdmin: the server starts again from clean memory. The txAdmin guide explains how.
  • Up-to-date artifacts, on the recommended version.
  • A maintained framework and libraries: see ESX, QBCore or Qbox.
  • A suitable tier: a roleplay server loaded with scripts needs a processor that is fast per core and enough memory. The server calculator gives an order of magnitude.
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.

Our plans

Going further.

The plans covered in this guide, hosted in France and protected by our anti-DDoS, with no commitment.

Support CloudFive AI

An answer right away, a real team behind it.

CloudFive AI answers you at any hour, in seconds. When it doesn’t know, or as soon as you ask, the team that runs the machines takes over. No offshore call centre.

  • TicketThe team replies in under 2 hours, 7 days a week.
  • CloudFive AIAt any hour, on ia.cloudfive.fr, Discord and in your customer area.
  • DiscordThe team, the AI and other customers, in the help channel.
  • Your data stays with usAI runs on our servers in France; e-mails, IPs and passwords are masked.
A ticket in the customer area: a customer’s question about a Minecraft plugin, and the CloudFive team’s reply
A real ticket in the customer area, answered by the team (demo account; shown in French).
CUSTOMER AREA · APP

Your servers.
At your fingertips.

Restart a server, watch its resources live, pay an invoice or open a ticket — and get an alert when something goes wrong.

  • The status of all your services at a glance
  • Blocked attacks, filtered traffic, monthly peak
  • A notification when a server goes down or an invoice is due

App coming soon · in the meantime, everything works in your browser at manager.cloudfive.fr

The CloudFive app: the list of your services, with their status
The CloudFive app: the home screen, your services’ status, blocked attacks and an invoice to pay