Comment 48 for bug 264336

Revision history for this message
Sorin Sbarnea (ssbarnea) wrote :

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.