Full garbage collecting after memory-hungry requests
Some requests create spikes in memory usage, triggering the max RSS automatic restart. They also have a tendency to be long running, potentially exceeding the graceful restart timeout, hence hanging on the caller.
A full GC at each request would be unacceptable in HGitaly, because of the sheer number of fast requests to serve, but we could at least do it with the problematic ones.
-
CreateBundleFromRefList
: this is the main one in backups, see heptapod#754 (closed) -
GetArchive
: expected to be also problematic (a RHGitaly version should be around the corner, and that will help a lot in general)