I’ve been getting “Server process exited without calling ProcessEnding(), exitCode(137)” and honestly I have no idea how. My .net core server code should be returning 0, the code in theory goes back to the Main and returns 0, but I also tried Environment.Exit(0), even forcing an exception… nothing seems to work, and the reason this is bothering me so is because I am afraid I am doing something very wrong, because after a while, the server is no longer able to allocate new matches. (I recycle the same instance for multiple matches as it is very simple to do in my case)
So, I wanted to test the shutting down process on GameLiftLocal to see what is going on, since honestly I’ve been struggling with debugging features in the system, however, I dont know how to, from the aws cli, scale down the local so it messages my server to shut down or something like that. I’ve been browsing but couldn’t find it anywhere in the documentation so I am starting to be afraid it is not possible.
Could someone give me some light on this regard?