Server heartbeat dropped to 2-7 Hz, updateBones jumped from ~1ms to ~35ms per call

Since around 4:30 PM on Nov 4 (UTC+13) our live servers have been running terrible. P10 heartbeat went from about 25 to about 5 almost instantly and has stayed around 2-7 since. Charts attached.

Game: The Sanctuary - Early Access | Play on Roblox
Affected place: 108379405712368

[CONFIRM: We didn’t publish anything around that time. / Our last publish before this.]

I took some MicroProfiler dumps on a lagging server and compared them to older ones. The thing that stands out is updateBones, under physicsStepped. It’s taking about 35ms per call now, when it’s been 0.2-1.3ms in every dump I have from before this. The worst single call was 78ms.

Lagging server (142-149 players):
Heartbeat 5-7 per second, updateBones 405-460ms per second, 33-37ms per call

Before this (135-156 players):
Heartbeat 22-39 per second, updateBones 50-63ms per second, about 1ms per call

As far as I can tell it isn’t more rigs or more scripts. Instance and part counts look normal (1.65M / 270k), Apply Joint Transforms actually went down, and script time is about the same. On the Server CPU chart you can see Physics grow while Scripts stay flat at around 1ms.

These dumps are all from one server, and I don’t have a small repro. I’ve only seen this on live servers with around 140-150 players, and I can’t test that in Studio.

Did anything change on the server around then that would affect updateBones? And what makes it scale? If it’s something in our game I’d like to know what to look for.

Dumps can’t be attached here for before & after but I’d be happy to send them if it allows for that privately or other google drive/whichever is your preferred means of file transfer.

– Observe huge crash in server framerate

– Observe no change in CPU time

Expected behavior

updateBones should stay around 1ms per call like it did before Nov 4, and servers should get back to the 20-40 Hz we normally see at these player counts.

1 Like