We have a multiplayer server up and running for our turn-based multiplayer game (Unity). Players are able to matchmake and have a server spun up for them. When the game's finished, the process will end and the server will shutdown and spin another one up.
Occasionally, the PlayFab server machine running our containers will get into a state where it will continuously be in the 'Pending Heartbeat' state, followed quickly by 'Terminated'. This happens continuously with a phase of about four seconds.
Clicking 'Download logs' produces an empty zip file. Clicking 'Connect' shows a dialog with the message, There was an error while loading data from the server. Please reload the page to retry. The local debug tool seems to run this with no apparent errors, although I've only run it as a process and not as a container (a container is used for the live server).
Our title ID is 9EBFC and the server on which this behaviour is currently happening is: vmss:EastUs:9EBFC_07f1670f-f746-4034-9956-21848477a59e:e178df81-55d8-4f0a-ac62-352228e84d65
Could you please give advice on how to debug this further or fix the issue so that the server doesn't occasionally fall into this state? Thanks very much!