Open robdinh opened 1 year ago
Hello, I am Blathers. I am here to help you get the issue triaged.
Hoot - a bug! Though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here.
I was unable to automatically find someone to ping.
If we have not gotten back to your issue within a few business days, you can try the following:
:owl: Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.
Describe the problem Since this commit was applied, systemd creates a cgroup2 mount for
memory.pressure
.With
ProtectControlGroups=yes
option set,/pkg/util/cgroups/cgroups.go/
ends up detecting thememory.pressure
path. This is causes a noisy log showing this message:where
maxFilePath
indetectCPUQuotaInV2()
is a join of strings of:getCgroupDetails()
returns "/sys/fs/cgroup/production.slice/production-storage.slice/cockroachdb.service/memory.pressure"detectCntrlPath()
returns "/production.slice/production-storage.slice/cockroachdb.service"cgroupV2CPUMaxFilename
= "cpu.max"To Reproduce This
continue
might be how/pkg/util/cgroups/cgroups.go/
picks other cgroup2 mounts, where it used to be areturn
.Expected behavior
maxFilePath
should be/sys/fs/cgroup/production.slice/production-storage.slice/cockroachdb.service/cpu.max
Environment:
Jira issue: CRDB-32361