I would look in:
CreateSharedMemoryAndSemaphores(IPCKey key, int maxBackends)
{
...
size = BufferShmemSize() + LockShmemSize(maxBackends);
LockShmemSize looks like a terrible mess, but my assumption is that the
problem is in there.
--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026