I have the same problem with latest LTS Ubuntu, and the proper solution is to set BOTH SHMMAX and SHMALL to the same value, the best is ¼ of total memory.
kernel.shmmax = xxx
kernel.shmall = xxx
Still, I would consider this an real bug, especially because the postgres error is misleading and incomplete.
I have the same problem with latest LTS Ubuntu, and the proper solution is to set BOTH SHMMAX and SHMALL to the same value, the best is ¼ of total memory.
kernel.shmmax = xxx
kernel.shmall = xxx
Still, I would consider this an real bug, especially because the postgres error is misleading and incomplete.