After fixing a bug in my code which meant that every steamcmd process was sigkill-ed instead of gracefully exited using the quit command, and turning off the scrape procedure for 2 days, it seems like things have returned back to normal.
Not sure whether this issue should be closed or still requires further investigation, as I'm not sure which fix actually helped.
The bug was being caused by appcache inflating to a very large size. After implementing a cron to purge appcache things started to work smoothly again
Nothing extracted yet.
Your system information
Steam Console Client (c) Valve Corporation - version 1679113398Please describe your issue in as much detail as possible:
I'm calling
steamcmdas a subprocess within a Go program. This program usesapp_info_printto scrape the metadata of certain apps from Steam. In Go I use:execpackage to create a subprocess forsteamcmdhttps://github.com/Netflix/go-expectpackage to listen for theSteam>prompt and input commands over ttyquitcommand but I have to kill the subprocess in order to avoid zombie processessteamcmdsubprocesses are allowed to run at the same timeWhen calling
steamcmdfrom the command line, or as a subprocess from within a Go program, it sometimes takes 1 to 3 minutes to reach theSteam>prompt. After reaching the prompt and quitting/killingsteamcmdthe issue won't occur for a while of scraping (~10-20 mins).Is this due to not terminating the
steamcmdsubprocess cleanly? Or is it maybe a rate limiting/throttling issue? I've been running this scrape procedure for a while and only started seeing this issue occur over the weekend.Here is a timed example when calling
steamcmdfrom the command line:As you can see this particular time it took around two and a half minutes to connect to reach the prompt, and then quit.
When checking
Steam/logs/connection_log.txtI see a lot of TIMEOUT errors occurring for the IPv6 HTTP/UDP connectivity tests:Steps for reproducing this issue:
steamcmdfrom the command line, it doesn't matter if I provide a login command+login anonymousor+login <username> <password>Steam>prompt