Server stuck in a restart loop
This guide explains how to fix a FiveM server that stays stuck on startup and restarts in a loop because a resource takes too long to load.
Symptoms
In your server console, you see repeating [tx:FxMonitor] messages, for example:
[tx:FxMonitor] (P:45s|HB:--|HC:0s) Server is taking too long to start.
[tx:FxMonitor] - No successful HeartBeat yet.
[tx:FxMonitor] - Resource "..." has been loading for 25s.
[tx:FxMonitor] - Resource "..." has been loading for 35s.
After a while, the server gives up, restarts, and the same cycle starts again indefinitely.
By default, txAdmin only waits 1.5 minutes for a resource to start. If a heavy resource (map, database, large pack) exceeds this delay, txAdmin considers the server has failed and restarts it, which creates the loop.
Solution: increase the Resource Starting Tolerance
Simply increase the startup wait time in the txAdmin settings.
Steps
- Log in to your txAdmin
- Go to Settings
- Click the FXServer tab
- At the bottom of the page, click Show Advanced
- Find the Resource Starting Tolerance option
- Change the value
1.5 minutes (default)to10 minutes - Click Save FXServer Settings
- Restart your server
This option matches the error message exactly: "If you are getting failed to start in time errors, increase this value."
Why 10 minutes?
Some resources naturally take time to load on first startup:
- Large maps (MLO, YMAP)
- Large databases to initialize
- Big vehicle / weapon / clothing packs
- Servers with many resources to process in a row
By setting the tolerance to 10 minutes, you give these resources enough time to finish loading without txAdmin cutting the server off midway.
Best practices
Increasing the tolerance fixes the loop, but it's also recommended to identify which resource is slow:
| Situation | What to do |
|---|---|
| A single resource is always named | Check that resource (corrupted files, errors) |
| All resources are slow | Check server performance (CPU, RAM, disk) |
| The slowness comes from a map/pack | Optimize or reduce the assets if possible |
If the server keeps restarting in a loop even after setting 10 minutes, the problem is likely a resource that crashes (not just a slow one). Check the console to spot errors from that resource.
If the problem persists, open a ticket on our Discord with the name of the resource shown in the [tx:FxMonitor] messages.