Re: [GENERAL] Shared memory errors during initdb in Mac OS X

2004-03-22 Thread Jerry LeVan
The default allocation of shared memory on mac os x is a bit small from /etc/rc: sysctl -w kern.sysv.shmmax=4194304 I ran into a problem when I tried to do a make test on the distribution, there is not enought shared memory for two instances. I googled and found an ipcs package that I was able to c

Re: [GENERAL] Shared memory errors during initdb in Mac OS X

2004-03-22 Thread Tom Lane
John Siracusa <[EMAIL PROTECTED]> writes: > and then restarted. Now it works, but I'm not sure if it was the change in > settings or the restart that fixed it. Obviously I had to restart to make > the changes take effect, but my theory before I bit the bullet and restarted > was that some stale s

Re: [GENERAL] Shared memory errors during initdb in Mac OS X

2004-03-22 Thread John Siracusa
On 3/22/04 1:45 PM, John Siracusa wrote: > Of course, I'v already set all the shared memory params, and have been runing > 7.4.1 quite successfully with them. Immediately after the error above, I ran > this to check the values: > > % sysctl -a | egrep shm > kern.sysv.shmmax: 10485760 > kern.sysv.