Proposal Details
We had a service that had GOMEMLIMIT set. Over the years, due to natural growth of users, we increased the size of the machine that the service ran on. However, it was easy to forget to increase the GOMEMLIMIT since this was populated in a different place than where infrastructure is defined. Thus, we ran into an issue where the service was massively underutilizing its newly available memory.
Instead of specifying an absolute value like 32GiB, allow users to specify a percentage like 80% to indicate that it can use up to 80% of the total system memory (or the cgroup memory limit, see #75164).
\cc @knyar @scottjab
Proposal Details
We had a service that had
GOMEMLIMITset. Over the years, due to natural growth of users, we increased the size of the machine that the service ran on. However, it was easy to forget to increase theGOMEMLIMITsince this was populated in a different place than where infrastructure is defined. Thus, we ran into an issue where the service was massively underutilizing its newly available memory.Instead of specifying an absolute value like
32GiB, allow users to specify a percentage like80%to indicate that it can use up to 80% of the total system memory (or the cgroup memory limit, see #75164).\cc @knyar @scottjab