SHMALL * PAGE_SIZE = 2097152 * 4096 = 8589934592
which is smaller than your requested allocation.
SHMALL and SHMMAX need to be sized together. You likely want 4314090 as your SHMALL.
Bug as Devrim says, are you sure you can handle that? Perhaps you want a connection pooler instead.