LinuxGSM: [BUG] SteamCMD Download Unnecessary Files

User Story

As a user, I want get update server, but I desired what LGSM (steamcmd) was download only updated files so that will require less space than now.

Basic info

  • Distro: [Debian 9]
  • Game: [CS:GO]
  • Command: [Update]

Further Information

Sometimes (50/50), when (CSGO) server was start update. SteamCMD download unneeded files (what didn’t get updates) For example: This is a full list of maps. https://cdn.discordapp.com/attachments/442265055220858880/649157871073886218/unknown.png

Also, since it (SteamCMD) downloads these unnecessary files, if there is not enough space, the servers may not update at all. This is bad.

To Reproduce

Steps to reproduce the behaviour:

  1. Download and setup server
  2. Wait update for server
  3. Start update for server
  4. Check steamapps > downloading > 740 > csgo > maps folder // Sometimes, u will get unnecessary files what didn’t update but downloaded.

Expected behaviour

I expected was on start update of server, LGSM (maybe this is trouble in SteamCMD, I don’t sure) was download ONLY updated files. I didn’t use validate option for download all files (example: maps or etc)

If u need more info - call me. Maybe other users have the same troubles.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 22 (8 by maintainers)

Most upvoted comments

Screenshot_1

each update is the same. All default maps are uploaded to the server during the server update. on my other servers this is not what is wrong?

@Septembers the update may have only taken up 250MB more in serverfiles but depending upon the files that have changed it may have meant SteamCMD needs to download several GB worth of files to replace existing files.

For example, if a map that’s 300MB file has increased by 20MB SteamCMD will still have to download the whole 320MB updated file and then replace it. If an update changes a whole bunch of files that are large SteamCMD may have to download several GB worth of files to replace the existing files. It appears that SteamCMD downloads the whole update into a cache before applying it to serverfiles. This would balloon the disk space required drastically while the update is being downloaded.

Looking at the recent update history of CS:GO it appears that most of the maps have been updated so I think the extra files you are seeing are actually required in this instance.

This is my understanding of how it works but I may be wrong about this. When we do start releasing recommendations or disk space I will be taking this sort of issue into account and add a % extra.

I have 8 CS: GO servers. Somewhere normally updated, but somewhere not. Therefore, I am confused.

@BlackYuzia Looking at your output it appears you only have 2.7GB free space which would not be enough to handle any large update (as happened a few days ago). So basically there is not enough breathing room on your server to handle updates. I will wait the output of others and if there is a simular issue it may confirm that is the problem.

The problem only occurring on CSGO servers.

There are plans to record game server size to give recommendations on disk requirements in the future.

Hi. I had 6GB of free disk space, but I could not install the update, which took up 250 megabytes. Because with ./csgoserver update - absolutely all default maps were downloaded (which I do not need). because of this there is not enough disk space. Is it possible to make a setting in which default (standart) maps will not load during the update?

There is simply a problem, sometimes the server updates normally, and sometimes it wants to download all the standard maps.

if the problem recurs, I will write to you.

sorry for my eng

I acknowledge this issue. On my dedicated server, 5-7 gigabytes are free. I can’t update the server through ./csgoserver update because absolutely all the maps are downloaded to the folder csgoserver/serverfiles/steamapps/downloading/740

Issue-Label Bot is automatically applying the label type: bug to this issue, with a confidence of 0.84. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.