Jump to content

SteamCmd Download Timeout


Tim.M

Recommended Posts

Hi, recently we migrated servers and have started runing into issues downloading large Arma 3 mods, where the downloads consistently time out and fail after 5 minutes. The timeout appears to be a SteamCMD limitation, however this wasnt causing issues before and upon further invesitgation the download speed of SteamCMD appears to be geting throttled.

image.thumb.png.fe14cc9bcf3eff86a343ae2d20750928.pngimage.thumb.png.45e18d14d73989bcaee8ed6259438eca.png

 

However if the download is preformed via a custom script it saturates our connection and downloads successfuly.

image.thumb.png.80138327684355dfdc1d870ab39ba633.pngimage.thumb.png.df4720270e2cedfe2852438d90eb9614.png

Edited by Tim.M
Link to comment
Share on other sites

We have the exact same problem for 2 years with TCAdmin, but no one plans to fix it. We have tested it exactly the same way and the problem is only through downloads in TCAdmin.

The only thing that works for this is to click "Start" again, sometimes repeatedly, and most importantly for the game in question, deleting the steamapps directory must be turned off in the settings, otherwise the installation always ends up with an error.

We ticketed Luis on this, he tried it on a few mods for another game where it didn't go through, but beyond that it was unresponsive and unanswered for 4 months and then the ticket closed itself


 


 

Edited by Gardiny
Link to comment
Share on other sites

I just removed the script events from a few months ago that were part of the temporary SteamCMD fix since that’s now supposedly been fixed.

image.thumb.png.99081688510f4ea6f36f8f3a813597bf.png

And I tried the multiple download retries and that works. I knew it worked manually through the SteamCMD CLI by reissuing the download command, but I didn’t expect it to work through TCAdmin although the temporary script fix would have stopped it regardless. Scheduled workshop updates are still broken however because they just fail with no redownload attempts.

 

I have also now observed a significant CPU utilisation difference between when the download is preformed manually vs via TCAdmin. TCAdmin appears to be limiting the download to a single core where the manual method is multithreaded. This would somewhat explain why we only started having these issues after migrating servers since our old server had higher single core speeds than our current one, so I’m starting to think this may be a multithreading issue.

image.thumb.png.a822b7ce4614c2dcf56c29e8b2723087.pngimage.thumb.png.79cf371c318b716f411647a3281a1764.png

image.thumb.png.af6935f392f9fa223286f38d0219fb1a.pngimage.thumb.png.40ea4a37b80b92d7cca6d500fb49d121.png

Link to comment
Share on other sites

The script was only meant as a temporary workaround and I even think SteamCMD fixed the issue shortly after.

On 3/21/2023 at 5:20 AM, Tim.M said:

TCAdmin appears to be limiting the download to a single core where the manual method is multithreaded.

That's because TCAdmin only uses a single core AFAIK. This is to prevent 100% CPU usage when installing large mods - that would effect the performance of running game servers negatively, and a single user could potentially ruin the experience for all of your clients on the same server.

Also note that there could be a difference in which SteamCMD executable is being used. If you have 'Execute as the service's user' checked in the Steam Settings for the game, SteamCMD will execute from C:\TCAFiles\Users\SteamCmd. If it's not checked, it would execute from C:\Program Files\TCAdmin2\Monitor\Tools\SteamCmd.

We've had massive issues with SteamCMD installations getting corrupt when it wasn't executed by the user (meaning C:\Program Files\TCAdmin2\Monitor\Tools\SteamCmd was used). We constantly had to reinstall SteamCMD.

Could you confirm whether or not SteamCMD is configured to be executed by the service's user in the game settings?

Link to comment
Share on other sites

13 hours ago, Dennis said:

Could you confirm whether or not SteamCMD is configured to be executed by the service's user in the game settings?

It was not and configuring it appears to have fixed the issue.image.thumb.png.5079d6ef63a83f977934cbbf5593735a.png

 

14 hours ago, Dennis said:

This is to prevent 100% CPU usage when installing large mods - that would effect the performance of running game servers negatively, and a single user could potentially ruin the experience for all of your clients on the same server.

We are only a single gaming community and don’t do any reselling or anything along those lines and the small number of admins with the ability to install/update mods know better than to attempt it whilst the server is full. Also almost all of our updates are automated during off-peak hours so its quite rare for any mods to be manually updated to begin with.

 

Thanks for the assistance.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Who's Online   0 Members, 0 Anonymous, 40 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use