Open jayvdb opened 1 week ago
Sorry, I'm not quite following the scope here (and I have no Apple hardware to try it out). This is occurring intermittently? Or on all Macs all of the time? Or one Mac all of the time?
Is this specific to the way Butane is invoking Postgres in some way, or does a manual invocation of Postgres initdb hit the same problem on this system?
I've got a rarely used Mac Intel, so might be able to reproduce it in order to get more specifics.
I'm told it is a permanent problem until those kern params are set. Very likely the same error would occur if initdb was invoked the same way on the command line.
On Mac we are seeing
The fix appears to be to increase
kern.sysv.shmmax
and maybekern.sysv.shmall
also.Possibly we can workaround this by adding params to the
initdb
invocation to indicate that a less production-like setup is acceptable.