> >> 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? -- https://mail.python.org/mailman/listinfo/python-list