By using AWS re:Post, you agree to the Terms of Use
/What do I have to do after a match is over?/

What do I have to do after a match is over?


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()

asked a year ago2 views
1 Answers


The recommended practice is to:

  1. Call ProcessEnding
  2. Verify the returned status is successful:
  3. Terminate the process with a successful exit code, e.g. System.exit(0)
  4. GameLift process manager on the instance will spin up another process for you

Created a request to make this more clear in the docs


answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions