question

brendan avatar image
brendan asked

Two servers starting, instead of one

Question from a developer:

I've noticed that sometimes two servers are started instead of one, making the uptime count double. What's the cause of this?

Custom Game Servers
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
brendan avatar image
brendan answered

Have a look at your "Max instances per host" and "Min free slots" settings. "Max instances per host" is how many instances of your executable can run at once on a server host, while "Min free slots" is how many non-running slots need to be available at any time for incoming players (so that when someone calls Matchmake, they don't have to wait on a server host to be requested, provisioned, and started).

So, if "Min free slots" is close to (or over) the "Max instances per host", you'll likely have multiple servers running while testing. You can explicitly set the maximum number of servers to 1 during testing if you like - that's in the Settings->Limits tab (look for "Game Server Count").

1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

DaveTs avatar image DaveTs commented ·

Oh now I undersand. Thank you for the clarification.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.