memory consumption
Marco Ippolito
maroloccio at gmail.com
Thu Apr 1 08:45:59 EDT 2021
> >> What if you increase the machine's (operating system's) swap space? Does
> >> that take care of the problem in practice?
> >
> > I can`t do that because it will affect other containers running on this
> > host.
> > In my opinion it may significantly reduce their performance.
>
> Assuming this a modern linux then you should have control groups that allow
> you to set limits on memory and swap for each container.
>
> Are you running with systemd?
If their problem is that their memory goes from `<low>` to `<high>` and then
back down to `<mid>` rather than `<low>`, how could `cgroups` have helped in
that case?
I suspect the high watermark of `<high>` needs to be reachable still and,
secondly, that a forceful constraint whilst running would crash the container?
How else could one approach it?
More information about the Python-list
mailing list