txAdmin icon indicating copy to clipboard operation
txAdmin copied to clipboard

[BUG] Particial timeout

Open Levin6053 opened this issue 5 months ago • 3 comments

txAdmin/FXServer versions: v.8.1.1

Describe the bug Sometimes the server switches to “Partial” mode, and then the message “Due to temporary lag, this server will restart in one minute. Please disconnect now” appears.

To Reproduce

Expected behavior Dont switch in Particial, and dont restart

Screenshots

Image

Additional context Windows Server 2022

Levin6053 avatar Jul 03 '26 21:07 Levin6053

I can't figure out where this is coming from; the server is running at very low capacity, and this has only been happening since we switched to the new Artifact.

Levin6053 avatar Jul 03 '26 21:07 Levin6053

This feels like an attack on your server that's overloading FXServer's HTTP Handler.

When it's overloaded the server list backend can't contact your server, resulting in the error you showed (Timeout when loading https://<serverIp>/info.json).

Then if the txAdmin healthcheck, which also uses an HTTP request to https://<serverIp>/dynamic.json, fails, txAdmin enters a Partial mode and schedules a restart in 1 minute with this message.

If I had to guess, someone is running a DDoS attack on your server.

Gogsi avatar Jul 03 '26 23:07 Gogsi

I'll close this issue because it's not something caused by txAdmin.
It works the way it does for a reason: txAdmin restarting the server gracefuly is better than the fxserver thread watchdog firing and killing the server without giving resources the time to save player states and kick everyone.

tabarra avatar Jul 03 '26 23:07 tabarra