A FiveM server hitch warning means server processing was delayed; it does not identify the cause. Capture a server-side profile while the delay occurs, inspect the work in that interval and compare a controlled run after one change. Client FPS, network latency and database response time are separate signals that should be checked alongside it.
First decide where the problem happens
| Symptom | Evidence to collect | Avoid assuming |
|---|---|---|
| Hitches visible in the server console | Server profiler and timestamped server/host logs | Every warning means the host needs more CPU |
| One player has low FPS | Client profile, resource monitor and local rendering conditions | A client resource reading is server CPU usage |
| Actions wait for stored data | Application timings, database logs and connection information | A slow action necessarily consumes CPU the entire time |
| Players on one route disconnect | Connection logs and end-to-end network observations | All lag comes from scripts |
Record a server-side profile
Run the following in the FXServer console while reproducing the problem. F8 in a player’s game opens a client console; capturing there answers a different question. The frame count is a capture length in frames, not seconds.
profiler record 500
profiler statusWait until the status reports that recording has finished, then open the report:
profiler viewFor a server-side capture, copy the supplied viewer link into the browser as described by Cfx.re. Preserve the capture using the export/save workflow supported by your artifact build. A short sample that misses the hitch is inconclusive; repeat around the reproducible event rather than treating an empty capture as proof of good performance.
Look at the expensive interval, not just the average
Select the interval containing the delay. Inspect the resource and thread activity inside it and note any resource/file information available in the trace. That identifies a place to investigate; it does not prove that deleting the resource is a safe fix. Work may be triggered by a dependent resource, repeated events or an unusually expensive in-game action.
Keep an incident worksheet with the timestamp and timezone, FXServer artifact, framework version, resource revision, player count, reproduction steps and host memory/CPU observations. For example, distinguish a delay during a scheduled save from one triggered by opening an inventory. A precise trigger helps a resource maintainer reproduce the issue.
Test one change with a rollback path
- Back up server files and the database using an application-consistent procedure. Record which files match which database copy.
- Reproduce on a staging copy where possible. Do not disable a production framework or database dependency just to see what happens.
- Change one suspect setting or resource revision, keeping its dependencies compatible.
- Repeat the same action with a comparable population and capture again.
- Compare behavior, errors and timings. Keep the original files/configuration available if the change breaks game state.
When is a hosting upgrade justified?
Investigate memory pressure and network latency separately. More allocation cannot automatically fix a blocking query or repeated expensive callback. If the application is behaving as intended and demand still exceeds available capacity, bring the profiles and workload notes when comparing FiveM hosting options.
This guide does not assign a CPU or RAM size to a player count. Roleplay frameworks and resource mixes differ too much for an untested slots-to-hardware rule. A repeatable capacity experiment is the next step when an actual limit needs to be established.
Sources and references
Hosting documentation. Publication and update dates reflect this edition.
Related articles
- How to Install FiveM Resources and Fix Startup ErrorsCheck resource layout, manifests, dependencies and database steps before adding an ensure entry to your server configuration.4 min read
- How to Back Up and Restore a FiveM Server and DatabaseProtect resources, txAdmin profiles and SQL state as one recoverable set, then prove the restore on an isolated instance.4 min read
- How to Check VPS Memory Usage Before Upgrading RAMRead Linux available memory, swap activity and application behavior together before deciding a VPS needs more RAM.3 min read
