Servers Randomly Shutting Down

Issue Summary:

My game Ink Game has been experiencing a serious, game-breaking issue where servers randomly crash and shut down unexpectedly. This issue does not appear to be related to memory limits or intentional shutdowns.

Step-by-Step Explanation:

  • Players join the game and enter the queue normally.
  • Around 14 to 25 minutes into actual gameplay (after starting the game), servers suddenly crash.
  • The crashes happen in random bursts—there’s no consistent pattern with:
    • Player count
    • Memory usage
    • In-game actions

When this happens, multiple servers crash in bulk all together within the same window every few minutes.

Technical Info

We receive several shutdown logs at once showing multiple servers shutting down together, with almost no similarities between the servers apart from the timing.

The shutdown always triggers BindToClose, and the shutdown reason is always Enum.CloseReason.Unknown. Memory usage stays well below limits (usually under 1300 MB), and it happens with as few as 2 players or as many as 32 players.

Because there are no common factors aside from these bulk crashes, my development team and I believe this may be a Roblox platform bug.

Below is a screenshot of our logs, showing multiple servers crashing around the same time.


Script Used Inside BindToClose (for Logging):

game:BindToClose(function(info)
    if info == Enum.CloseReason.Unknown or info == Enum.CloseReason.OutOfMemory or info == Enum.CloseReason.DeveloperShutdown or info == Enum.CloseReason.DeveloperUpdate then
        task.spawn(function()
            local Statst = game:GetService('Stats')
            local Categories = Enum.DeveloperMemoryTag:GetEnumItems()
            local PrintAmt = 0

            local a, b = nil, nil

            for _, v in Categories do
                local amt = Statst:GetMemoryUsageMbForTag(v)
                if amt >= PrintAmt then
                    PrintAmt = amt
                    a = v.Name 
                    b = amt
                end
            end

            local styrng = info.Name

            if a then
                styrng = styrng.." "..a
            end

            if b then
                styrng = styrng.." "..b
            end

            if workspace.Values.CurrentGame.Value then
                styrng = styrng.." "..workspace.Values.CurrentGame.Value
            end

            if #Players:GetChildren() < 15 then
                for i, v in pairs(Players:GetChildren()) do 
                    if v and v.UserId then
                        styrng = styrng.." "..v.UserId
                    end
                end
            else 
                styrng = styrng.." "..#Players:GetChildren()
            end

            if workspace:GetAttribute("SERVERGAMESTARTTICK") then
                styrng = styrng.." "..tick() - workspace:GetAttribute("SERVERGAMESTARTTICK")
            end

            styrng = styrng.." "..Statst:GetTotalMemoryUsageMb()

            ServerStorage.PostWebhook:Invoke("GameShutdownLogs", styrng)
        end)
    end
end)

Additional Notes

This problem happens frequently and appears to be out of our control. We strongly suspect this may be a Roblox platform-level issue since it only affects servers in random bursts with no consistent cause found on our end.

Any investigation or assistance from Roblox engineers would be greatly appreciated.

Game Link:

Expected behavior

The servers should stay up and stable throughout the entire game session, without crashing. Servers are only supposed to shut down when the game ends naturally and I return all players to the lobby.

12 Likes

I have no idea. Enum.CloseReason.Unknown means the shutdown was not caused by your game. You should make sure that any third party services could be stalling a thread and causing a deadlock or server timeout as Roblox won’t help if it’s something off-platform related.

We’re aware of a bug crashing some servers in your experience and are working on a fix. Thank you for bringing this to our attention.

5 Likes

Hey, we’re having the exact same problem in my game Rogueblox. Servers are randomly closing with the CloseReason “Unknown”.

I added text that displays the CloseReason on all players’ screens under BindToClose to verify.

This is a massive problem, especially in our perma-death game where players are losing progress to this.

Here is the game link:

4 Likes

Hello, an experience I’m developing for is also experiencing this like above post,

[PlaceId]-[JobId] ShutdownReason

[9096881148]-[f15435fb-2212-4ad7-a385-92783e9eb13d] ServerShutdown: Enum.CloseReason.Unknown
[9096881148]-[ca93c4cc-5157-4ef7-88fc-99596a2dfa9c] ServerShutdown: Enum.CloseReason.Unknown
[14558695990]-[528ef880-5704-4c12-b519-44df8baa998e] ServerShutdown: Enum.CloseReason.Unknown
[10550161545]-[bbd04cce-3fe3-4620-829c-ed44492cbadf] ServerShutdown: Enum.CloseReason.Unknown
[14558695990]-[7a9ec139-53ca-46bf-8091-e0f2ecab8d5f] ServerShutdown: Enum.CloseReason.Unknown
[14558695990]-[d218941d-4dad-4163-8e80-90bdb66e2c40] ServerShutdown: Enum.CloseReason.Unknown
… and so on (a lot more)

Would appreciate an engineer looking into this, thanks.

1 Like

Following up on this, our game Garden Tower Defense has been having the same issue. We are noticing drops in CCU at the times that this is occurring.

Players are reporting the issue in-game in the form of a Disconnect similar to the screenshot attached.

This seems to have been presenting itself even more in the last few days.

We have now added a ‘logger’ in our game which will advise us of the exact reason for the ‘shutdown’. We will follow up on here if required.

3 Likes

@e_w00k We’ve also been experiencing this issue since the release of the latest Roblox version. The error rates for this specific error have skyrocketed, they’re now clogging up the console and error reporting dashboard.

2 Likes

Bump, I’m still getting reports of this happening in my game.

2 Likes

I’m not sure if this is related but I’m now getting reports of servers shutting down for “ServerEmpty” while players are in the game!

This really needs to be looked into.

2 Likes

Appreciate you bringing this to our attention. We’re actively working on a solution for this and we believe there should already be a stability improvement to servers. Please let us know if you observe any regression in server shutdowns or if things have not improved.

For the other folks in this thread reporting issues separate from the Enum.CloseReason.Unknown shutdowns, please start separate threads so we can better track and handle these issues. Thank you all for your help and patience!

1 Like

It seems like the server shutdowns with Enum.CloseReason.Unknown have become a lot more rare to encounter however I’m still seeing servers shutdown with that reason.

[game.PlaceId]-[game.JobId] ServerShutdown: Enum.CloseReason
[89347730753603]-[46e2db2f-ba18-43e7-afef-9324adfe325a] ServerShutdown: Enum.CloseReason.Unknown
[11380869242]-[67be9e5e-5d08-44b6-9ca7-19042c356ec3] ServerShutdown: Enum.CloseReason.Unknown
[10550161545]-[7c94a259-5b6a-434a-8e02-d7df8be18885] ServerShutdown: Enum.CloseReason.Unknown
[10550161545]-[0b9dcda3-3b38-4f82-9894-ba1fdd6febd0] ServerShutdown: Enum.CloseReason.Unknown
[9096881148]-[3903b41d-779d-4e99-a494-134c729cb34d] ServerShutdown: Enum.CloseReason.Unknown
[14558695990]-[5dc48c0a-365b-4bfe-b607-e738bc66f435] ServerShutdown: Enum.CloseReason.Unknown

You said for other close reasons to make a separate bug report but what about these? Should I make a new bug report for these Unknown close reasons or is the fix just not 100% complete yet? Is there any other additional information I could add to my logs to help you debug the reasons for these shutdowns, e.g Server IP or any other information?

Unfortunately, the issue is still very severe and continues to impact my experience. Over the past 8 hours, I’ve had 424 servers shut down, with nearly all of them showing the shutdown reason as Enum.CloseReason.Unknown. There are no clear patterns or similarities between the shutdowns.

Thanks to everyone who posted additional info in this thread. We believe we’ve tracked down the primary cause of CloseReason.Unknown. Unfortunately it’s not going to be straightforward to fix so it’s going to take a while. I will update this thread when we’ve pushed a fix

2 Likes

Thanks for the update on this issue. I know it was mentioned that fixing the underlying cause of CloseReason.Unknown will take some time, but the problem has gotten much worse. In the past 15 hours over 2000 servers have shut down, heavily impacting a large percentage of my game’s players and causing major player loss along with users losing Robux from purchased revives and other items. If there is any additional data or testing I can provide to help speed up the fix please let me know as this urgently needs attention.

2 Likes

Thanks, we’ll let you know if more data is helpful. We are actively working on the fix

I’ve been experiencing same random shutdown issues in the last week. This heavenly impacts game CCU and there seem to be no visible reasons for servers to shutdown at all. Looking forward for it to be fixed.

1 Like

This has also been negatively impacting my game as of recently, Players are experiencing the unknown shutdown reason & sometimes even get issues with data leading to them re loading in game with their previous game save (backup)

This has for some reason become a major issue this evening just out of nowhere, for no reason. My relatively small game has had its CCU count almost halved!

Hey everyone, the original issue as reported in this thread has been addressed. If you are encountering server shutdowns for unknown reasons, please make a separate thread so we can track accordingly. Thanks