Dedicated server - Client freezes

Discussion in 'Technical & Support' started by Diogo Silva2, Oct 13, 2022.

  1. Diogo Silva2

    Diogo Silva2 Registered

    Joined:
    Jan 6, 2018
    Messages:
    16
    Likes Received:
    20
    Hi guys,

    Since the new build im struggling with freezes in my server. Random freezes on clients, in every session.

    Theese are my specs:
    I9 9900k
    64GB
    2x NVME 1TB
    Windows Server 2022

    I only have rfactor2, liveracers and r2la plugin running. The installation of rf2 it's a fresh one (yesterday)

    What's the issue here?

    Thanks
     
  2. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    3,043
    Likes Received:
    1,959
    Some questions to understand the problem.
    • Is a dedicated server?
    • Is a SteamCMD server?
    • Are you using the last build?
    • How are configured the upload and download speeds in the rF2 server?
    • How many cars are you using? Human, AIs?
    • Do you have the custom skins transfer enabled?
    • What is the bandwith of the line?
    • Do you have a minimum guaranteed bandwidth?
    • Do the freezes happen at the same point of the circuit?
    • Do the freezes happen when a driver joins the server?
    • What content are you using?
     
    Last edited: Oct 13, 2022
    Diogo Silva2 likes this.
  3. Diogo Silva2

    Diogo Silva2 Registered

    Joined:
    Jan 6, 2018
    Messages:
    16
    Likes Received:
    20
    • Is a dedicated server? Yes
    • Is a SteamCMD server? Yes
    • Are you using the last build? Yes
    • How are configured the upload and download speeds in the rF2 server? Max
    • How many cars are you using? Human, AIs? Human only (20/30)
    • Do you have the custom skins transfer enabled? No
    • What is the bandwith of the line? 1GB
    • Do you have a minimum guaranteed bandwidth? Yes
    • Do the freezes happen at the same point of the circuit? No
    • Do the freezes happen when a driver joins the server? No
    • What content are you using. Official (BTCC & Brands Hatch/Donington), but it happen no matter the content
     
  4. Diogo Silva2

    Diogo Silva2 Registered

    Joined:
    Jan 6, 2018
    Messages:
    16
    Likes Received:
    20
    The same was happen in a less powerful server with Xeon cpu. Now I upgrade it and the issue remain
     
  5. Miguel Cardoso

    Miguel Cardoso Registered

    Joined:
    Aug 3, 2013
    Messages:
    21
    Likes Received:
    54
    976mb upload/download. Could this be the issue?
     
  6. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    3,043
    Likes Received:
    1,959
    Try 40 Mb in upload and download
    If your guaranteed bandwith is bigger that that and continue having issues, i'd check the ping of the clients during a race to know if there is one (or more) that fluctuates a lot.
     
  7. Diogo Silva2

    Diogo Silva2 Registered

    Joined:
    Jan 6, 2018
    Messages:
    16
    Likes Received:
    20
    Today i have a race, so i will test that right away.
    Any check box in the second menu ?
     
  8. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    3,043
    Likes Received:
    1,959
    If you are referring to the event options, i think that doesn't matter.
    I had the same problem some time ago and i realised that from time to time the ping of a pilot went from less than 100 to more than 400 or 500. In that moment people had stuttering.
    The bad thing is that the only way to check this is to be during the race looking the pings of the pilots.
    I don't know if there is a way to log the pings constantly.
     
    Last edited: Oct 14, 2022
  9. Diogo Silva2

    Diogo Silva2 Registered

    Joined:
    Jan 6, 2018
    Messages:
    16
    Likes Received:
    20
    It went better, still some freezes happen but with less frequency and shorter. Nothing wrong with client pings from what I see.
     
  10. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    3,043
    Likes Received:
    1,959
    It's strange.
    Could be CPU spikes? (although with that cpu shouldn't happen)
    It would be good if you could log the use of the cores of the CPU.
     
  11. Diogo Silva2

    Diogo Silva2 Registered

    Joined:
    Jan 6, 2018
    Messages:
    16
    Likes Received:
    20
    I think it can be some configuration that is missing. First time in years that i have this problem. The only difference it's the build.

    I will record it
     
  12. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    3,043
    Likes Received:
    1,959
    I can't think of other parameters in the rF2 server configuration that can cause stuttering.

    But could be a process in the server that starts without your control and saturates a CPU core.
    Could be the antiviral or any other Windows process.
    We have disabled the Windows update in our server. In fact we run a script every hour (IIRC) that stops and disables the update service, because form time to time this service is enabled automatically.

    Could be something in the clients side that is being worst in this build (we haven't detected problems in our league).
    Two parameters of the Player.json that can cause stutering are:
    "Pause If Focus Lost":false,
    "Inactive Sleep Time":-1,
    "Active Sleep Time":-1,
    These are the correct values to avoid stuttering if another program takes the Windows focus.
     
    Diogo Silva2 likes this.

Share This Page