Performancecrash
Resource X caused the server thread to hang
Also seen as: server thread hang resource caused hang server froze resource watchdog resource hang
What causes it
A resource blocked the main server thread long enough to hang the server — typically an infinite loop with no Wait(), or a synchronous operation that never returns.
How to fix it
Fix the blocking loop in the named resource.
- Identify the resource named in the hang warning.
- Find any
whileloop lacking aWait()and add one. - Look for synchronous DB or HTTP calls that can block; make them async.
- If it's a third-party resource, report it or replace it.
Related errors
Related guides
Still stuck? We can help.
Optimized, dual-framework scripts for QBCore and ESX from Viper Development — escrow protected, delivered instantly to your Cfx portal.