Player Ping spiking ridiculously high in 'live' server but not in studio? Server Stalling?

This has driven me nuts for the past day, as yesterday night is when I first noticed it

I had my performance stats active as usual, and noticed at essentially random times, ping would spike up, usually noticed at start of server

sometimes I’ve had servers that did not show this ping spiking at all

for instance I usually roll with 20 ms, but for a long period it may skyrocket to 90ish or even 300 ms for several seconds then come back down, and I’m not receiving any data so its like the server is stalling, the typical most common culprit being ‘exhausted execution time’ for those that understand that meaning (though I don’t believe thats whats going on).

I’ve scoured possible sectors of code, even refactored/optimized things, even tested omitting required code and just not having any script running ~~(though I couldn’t seem to encounter the ping thing under this specific situation)~~did encounter it lol
I even tried to use script profiling and whatnot and I couldn’t see anything relevant to a problem…

the spiking seems random… too random…

I want to believe its just roblox being roblox tbh and that nothing is wrong with my code; I can’t see anything problematic on my end whether thats the runservice connections, .toucheds, or some while loopers… I make sure to keep things throttled or properly asserted to necessary functionalities, nothing excessive.

So I guess I’m wondering if anyone has any tips or knowledge on this, it is one of the worst situations to deal with because you’re not receiving any data, nothing is reporting exhaustion, compound that with none of this occuring in studio mode… dang… I may have to end up deploying debug profile begin and ends around…

2 Likes

So just to clarify are you getting this error? Because that is something that would cause the server to stall since your code is constantly running without ever yielding (or just taking too long in general without yielding).

No I’m not receiving any information as far as exhausted execution times, but it ‘feels’ like it.

for those familiar with that phenomenon, the server appears to stall, anything server->client stops coming, i notice this specific feeling when the ping first skyrockets, but the stall itself stops, though ping remains still high during.

how it acts:
itll stall for only < 1 second when ping first skyrockets then keep up the high ridiculous ping indicating server is somehow overloading something

the only way to repro it is to join a public server, and even then it may not even happen

like today I have been trying to repro it, it only did it once out of like 10 times

2 microprofiles where ping jumped from 20ms to apprx 90ms I couldn’t see anything maybe someone else can? (server microprofile) Im hoping I can mark a 300ms ping incident later
log_23064_microprofile_20261102-124728.zip (777.2 KB)

it seems to be random occurance, and rythmic in terms of how long the ping skyrocketing lasts which is several seconds.

image shows the short stall

I have no major main scripts running and my ping is skyrocketing?

–with game script on
–sped up to fit 10 mbs
–is unknown the culprit?

literally no scripts except roblox’s own?


Going to forward this to another section of forums; bugs