История изменений
Исправление vbr, (текущая версия) :
shared_buffers = 128MB
#work_mem = 4MB
Внутри контейнера процессы:
# ps aux
PID USER TIME COMMAND
1 postgres 0:12 postgres
22 postgres 0:03 postgres: checkpointer
23 postgres 0:01 postgres: background writer
25 postgres 0:09 postgres: walwriter
26 postgres 0:00 postgres: autovacuum launcher
27 postgres 0:00 postgres: logical replication launcher
203327 postgres 0:00 postgres: n8n n8n 10.163.243.235(49566) idle
203359 root 0:00 bash
203365 root 0:00 ps aux
В общем не очень много процессов. Как я понимаю, это один коннект, остальное - хз, коннекты или нет. Прямо сейчас потребление контейнера показывает 200 MB, в формулу 128 + 4*n не очень укладывается.
Насколько я понимаю, 200MB это working_set, или в терминах cgroup current - total_inactive_file.
Исходная версия vbr, :
shared_buffers = 128MB
#work_mem = 4MB
Внутри контейнера процессы:
# ps aux
PID USER TIME COMMAND
1 postgres 0:12 postgres
22 postgres 0:03 postgres: checkpointer
23 postgres 0:01 postgres: background writer
25 postgres 0:09 postgres: walwriter
26 postgres 0:00 postgres: autovacuum launcher
27 postgres 0:00 postgres: logical replication launcher
203327 postgres 0:00 postgres: n8n n8n 10.163.243.235(49566) idle
203359 root 0:00 bash
203365 root 0:00 ps aux
В общем не очень много процессов. Как я понимаю, это один коннект, остальное - хз, коннекты или нет. Прямо сейчас потребление контейнера показывает 200 MB, в формулу 128 + 4*n не очень укладывается.