What do I have to do after a match is over?
0
Hello, I do not quite understand what I have to do after finishing a match. Do I have to call ProcessEnding and then bring my complete server to the start state or is the instance completely closed?
Currently I terminate the connection to the clients, terminate the PlayerSessions and then call ProcessEnding.
But I get an error message on my fleet that looks like this:
SERVER_PROCESS_PROCESS_EXIT_TIMEOUT Server process failed to cleanly exit within 30 seconds of calling ProcessEnding()
Topics
Tags
asked a year ago2 views
1 Answers
0
Hi @REDACTEDUSER
The recommended practice is to:
- Call ProcessEnding
- Verify the returned status is successful: https://docs.aws.amazon.com/gamelift/latest/developerguide/integration-server-sdk-csharp-ref-actions.html#integration-server-sdk-csharp-ref-processending
- Terminate the process with a successful exit code, e.g.
System.exit(0)
- GameLift process manager on the instance will spin up another process for you
Created a request to make this more clear in the docs
#GLIFT-15096
answered a year ago
Relevant questions
I want to close my AWS account what do I save
asked a month agowhere is old forum? How do I check my questions I have posted in the last several years?
asked 7 months agoLambda Deployment - Do you have to set the TargetVersion?
asked 4 months agoMatchmaking for singleplayer match with bots
Accepted Answerasked 2 years agoHow do I access dynamodb(or lambda) from a real-time server?
Accepted Answerasked 3 years agoDo I need an A record?
asked 3 years agoHow do I test my code to handle UnprocessedItems on a BatchWriteItem?
asked 5 months agoHow can I get the Image ID after importing a disk image?
asked 10 months agoWhat do I have to do after a match is over?
asked a year agohow do i delete a lambda@edge that isn't attached to a cloudfront?
asked 7 months ago