Memory
An occupation percentage of 90% is considered `critical'. Notice that this occupation percentage is the accumulated memory consumption of the kernel (including slab) and all processes;
the memory for the page cache (`cache' and `buff' in the MEM-line) is not implied!
If the number of pages swapped out (`swout' in the PAG-line) is larger than 10 per second, the memory resource is considered `critical'. A value of at least 1 per second is considered
`almost critical'. If the committed virtual memory exceeds the limit (`vmcom' and `vmlim' in the SWP-line), the SWP-line is colored due to overcommitting the system.
Осталось понять что за параметры vmcom и vmlim, т.е. как они задаются.
Павел, в 1-ом способе предлагается Gnome Encfs Manager, а 2-й требует пакет cryptkeeper, который был удален из многих репозиториев после обнаружения критической уязвимости.
log95, в таком случае Service2 и Service3 стоит логически объединить.
А размещать или не размещать сервис в контейнере - это скорее вопрос необходимости, нежели архитектуры.
man atop
Осталось понять что за параметры vmcom и vmlim, т.е. как они задаются.