Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Duplicate
-
2.4.12
-
None
Description
A container with 512MB Starts with 60GB qcc because the host has 380GB.
static int64_t DEFAULT_QC_CACHE_SIZE = get_total_memory() * 0.15;
It seems possible to determine from inside if a process it's running inside a container.
Not sure if it's possible to get the allowed resources for auto sizing.
In this case auto sizing is dangerous and can lead to memory problems.
Ideally MaxScale should either demand explicit settings for the autosized ones, warn or refuse to start.