Fix Repository metadata archive at packages.microsoft.com/rhel/7/prod/repodata/
The metadata archives under the RHEL 7 archive at https://packages.microsoft.com/rhel/7/prod/repodata/ are broken.
The archive (16MB) expands out to ~3GB, and each of the ~500 files in the repository is listed within the metadata archive 65,535 times.
When processed by a repository manager like Red Hat Satellite this causes the underlying Pulp & Python processes to go nuts, consume 100% of server memory and swap space before dying due to an Out of Memory error.
Other repositories on packages.microsoft.com (like Visual Studio Code) are not currently affected by this issue.
It seems the metadata is now fixed - but I doubt whoever was responsible read this post.
That's sad because we weren't able to get in touch with the appropriate Microsoft support person through our internal support guys.
If only we could get in touch with the person who maintains the repo!
I'm seeing this too!
This is referring to the "Linux Software Repository for Microsoft Products" documented here: