I have now created /etc/sysctl.d/90-postgres.conf with the following content: kernel.shmmax = 41943040
to increase it to 40MB, this seems to have solved the problem in my situation. Increasing kernel.shmall to 1GB did not make any difference.
I have now created /etc/sysctl. d/90-postgres. conf with the following content:
kernel.shmmax = 41943040
to increase it to 40MB, this seems to have solved the problem in my situation. Increasing kernel.shmall to 1GB did not make any difference.