AMS2 Dedicated Server Tool / SteamCMD Support

Discussion in 'Automobilista 2 - General Discussion' started by Dave Stephenson, May 29, 2020.

  1. Dave Stephenson

    Dave Stephenson Administrator Staff Member AMS2 Club Member

    Joined:
    Feb 13, 2016
    Messages:
    1,084
    Likes Received:
    1,757
    No, the limits are enforced by the client.

    Further to the above I've been made aware by our internal testing group that they've seen this specific thing before after the host has changed so it's entirely possible this is a configuration issue during host migration and the new host is enforcing the wrong client limit regardless of the lobby setting.

    That would make the numbers make sense as the default session size for a clean profile in an MP game is still 16.

    Do you know if there had been host migrations during the game before you returned to the lobby in the instances where you've seen this problem?
     
  2. Gonky Racing

    Gonky Racing Member

    Joined:
    May 6, 2026
    Messages:
    35
    Likes Received:
    8
    Yes, I think that Xeon would probably struggle with a large number of human players, mainly because of its very low clock speed. From what I’ve seen in my own testing, once the main thread becomes saturated, it doesn’t really matter how many CPU cores you have available, because the limit is still the performance of that main core.

    Also, 30 AI cars aren’t really comparable to 30 human players. The workload is much lighter and quite different, especially because of the network synchronization involved with human clients.

    And if you do end up testing it on your machine, let me know how it behaves with human players. I’m curious to see how far that Xeon can actually go.

    Thanks for offering to try it!

    -----

    Dave, one quick question: is there currently any way for the dedicated server to make use of more than one CPU core for the workload that scales with the number of connected players?
     
    Last edited by a moderator: Aug 14, 2026
  3. Dave Stephenson

    Dave Stephenson Administrator Staff Member AMS2 Club Member

    Joined:
    Feb 13, 2016
    Messages:
    1,084
    Likes Received:
    1,757
    no

    Take that to the thread in the Community Sites forum or PM please if you wish to explore that further
     
    Last edited by a moderator: Aug 14, 2026
    • Winner Winner x 1
  4. Ferrari312

    Ferrari312 New Member

    Joined:
    Jan 5, 2024
    Messages:
    22
    Likes Received:
    3
    No host migrations occurred when this all has happened. The original host that joined the lobby first stayed through the whole time. This has occurred on more than one session (different days).

    Btw, I notice in task manager details that the dedicated server app is 32-bit. Hopefully that is normal. That surprised me.

    Another question I have. I'm using the lua scripts but only for MOTD. Could that be causing it to look outside of the server.cfg for player limits (i.e. in a place I'm not aware)?

    upload_2026-8-14_12-21-35.png
     
  5. Roy Niessink

    Roy Niessink Well-Known Member AMS2 Club Member

    Joined:
    Mar 27, 2020
    Messages:
    1,912
    Likes Received:
    950
    This is totally normal indeed, and certainly not causing any limitations.

    No, the MOTD only displays a message when people join the server, nothing more, nothing less.

    It's definitely something strange at your end, as myself and others in here have been running leagues with 20+ people without issues for years.

    Does the server run a 32 bit version of windows? not sure if that would limit it, but it could explain it if you are indeed running it on a 32 bit OS
     
  6. Ferrari312

    Ferrari312 New Member

    Joined:
    Jan 5, 2024
    Messages:
    22
    Likes Received:
    3
    Its Windows Server 2022 so all good on that side.

    I know I myself I have run more people than 16 in years past both in AMS 2 and PCars so it's confusing.
     
    Last edited: Aug 14, 2026
  7. DaWorstPlaya

    DaWorstPlaya Well-Known Member

    Joined:
    Aug 5, 2020
    Messages:
    528
    Likes Received:
    265
    Maybe a bug on the host machine's end?
    Like can you check the default number of human players allowed on his machine when he tries to host a P2P MP session from his PC? Maybe that defaults to 16 and is causing issues?

    Same, I've been hosting 30 player MP DS servers on AMS2 for years and have never seen this.
     
  8. Ferrari312

    Ferrari312 New Member

    Joined:
    Jan 5, 2024
    Messages:
    22
    Likes Received:
    3
  9. Renegade89

    Renegade89 New Member

    Joined:
    May 26, 2026
    Messages:
    7
    Likes Received:
    0
    Well, I had a all-time high peak of 170 ACC players on this same server and that run without issues. Although these two dedicated server are not exactly a 1:1 comparisson, it should give you an idea of what to expect roughly. I don't have exact numbers, but CPU was not exhausted and no problems reported. I think it had like 8 cores assigned in the VM.

    I'm curious about Human vs AI in terms of performance. Movements of AI still have to be done by DS and sent to clients. Yes, there's less clients connected, less information to sent / receive network-wise but more CPU goes into this I would presume ? :)
     
  10. Ferrari312

    Ferrari312 New Member

    Joined:
    Jan 5, 2024
    Messages:
    22
    Likes Received:
    3
    When I look at the details in the task manager, the details list it as X86, so 32-bit. Isn't the server supposed to be 64-bit?

    This is what I'm using to pull it from Steam CMD:
    upload_2026-8-15_22-46-7.png
     
  11. Roy Niessink

    Roy Niessink Well-Known Member AMS2 Club Member

    Joined:
    Mar 27, 2020
    Messages:
    1,912
    Likes Received:
    950
    I believe i've answered this before, but no, the server is 32 bit for everyone, this doesn't cause any playernumber limitation, 32 people on the server isn't an issue
     
    • Like Like x 1
    • Agree Agree x 1
  12. Gonky Racing

    Gonky Racing Member

    Joined:
    May 6, 2026
    Messages:
    35
    Likes Received:
    8
    Thanks Dave! That was a very detailed answer Appreciate the clarification!

    I’m currently running an E5-2687W v4 (12 cores / 24 threads, 3.0 GHz base, up to 3.5 GHz turbo). My problem hasn’t really been the total CPU capacity, but getting beyond roughly 22–23 human players per server.

    My first tests were done under Linux using Wine. I eventually decided to move away from Linux for these tests because I wanted to remove Wine from the equation and see what the dedicated server can actually do running directly on Windows.

    In the meantime, I’m running my servers on a 12900K, and that CPU has no problem handling 32 players per server.

    With the Xeon, however, I’ve managed to reach 123 simultaneous players across multiple servers, but I can’t seem to get much beyond 20–22 players in a single server.

    From what I’ve observed, it really looks like the limiting factor is the performance of a single core, which ends up doing most of the heavy lifting. I can have plenty of CPU resources available overall, but once that particular core gets close to its limit, adding more cores doesn’t seem to help much.

    So now my next test is basically to see whether removing the Wine overhead allows me to get past that 22–23 player limit. If it does, great! If not, I may have to admit that the old Xeon has finally reached its limits and start looking at a server upgrade.
     
  13. Fernando Vignola

    Fernando Vignola New Member

    Joined:
    Sep 13, 2024
    Messages:
    26
    Likes Received:
    0
    Hello, thanks.
    So, this allows whoever becomes the host on my server to change the map, right?

    And how do I let the host change the car?
    Which command is it?
     
  14. Dave Stephenson

    Dave Stephenson Administrator Staff Member AMS2 Club Member

    Joined:
    Feb 13, 2016
    Messages:
    1,084
    Likes Received:
    1,757
    upload_2026-8-17_11-14-1.png
    Set these three according to what you want to allow or not but keep controlsGameSetup set to true to have all other settings enforced by the server
     
  15. Renegade89

    Renegade89 New Member

    Joined:
    May 26, 2026
    Messages:
    7
    Likes Received:
    0
    You're welcome, but call me René ;) Haha

    Time catches up to everything, the Xeon you are using is about 50% of the performance of the 12900K in Cinebench, both single- and multi-threaded. Single core performance of the Xeon compares to a Ryzen 5 1600. I mean, it's not a bad CPU for it's age. But it's aging alright.

    Maybe you can experiment with CPU affinity ? I noticed this function in the ACC server manager I'm using, and maybe, just maybe, there's a bit of performance there for grabs.

    I think you are correct about the total users, spread over multiple server exe's not giving issues. I reached that 170 players over a lot of servers with grid sizes ranging 12 to 24 drivers.
     
  16. Renegade89

    Renegade89 New Member

    Joined:
    May 26, 2026
    Messages:
    7
    Likes Received:
    0
    I've taken a good look at the dedicated server documentation, but can't find the variable name for this aggression setting anywhere. api/list/attributes/session doesn't list it either.

    I saw another forum user talking about this setting in his server, so I send him a DM.

    Apart from aggression setting, are the settings Wet skill scalar and AI mistakes available or will they become available on dedicated server ?
     

Share This Page