You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of the problem including expected versus actual behavior:
When validating cgroups memory limit invariant in fallback we compare the limit from cgroups in GB against the system meminfo limit in bytes. Therefore, on a sufficiently large machine a situation could manifest where the "invalid" memory limit value from cgroups in GB is smaller that total amount of memory in bytes. For example, with the setup
memory limit of 10 GB will be assumed instead of lower limit. The issue is more pronounced on cgroups v1 because of how default memory limit is presented to APM Server.
Provide logs (if relevant):
{"log.level":"info","@timestamp":"2024-08-06T11:30:01.399-0700","log.origin":{"file.name":"beatcmd/beat.go","file.line":394},"message":"apm-server started.","service.name":"apm-server","ecs.version":"1.6.0"}
{"log.level":"info","@timestamp":"2024-08-06T11:30:01.401-0700","log.logger":"beater","log.origin":{"file.name":"beater/beater.go","file.line":220},"message":"MaxConcurrentDecoders set to 1024 based on 80 percent of 10.0gb of memory","service.name":"apm-server","ecs.version":"1.6.0"}
The text was updated successfully, but these errors were encountered:
APM Server version (
apm-server version
): currentDescription of the problem including expected versus actual behavior:
When validating cgroups memory limit invariant in fallback we compare the limit from cgroups in
GB
against the system meminfo limit inbytes
. Therefore, on a sufficiently large machine a situation could manifest where the "invalid" memory limit value from cgroups inGB
is smaller that total amount of memory in bytes. For example, with the setupmemory limit of 10
GB
will be assumed instead of lower limit. The issue is more pronounced on cgroups v1 because of how default memory limit is presented to APM Server.Provide logs (if relevant):
The text was updated successfully, but these errors were encountered: