Shared Memory and Mac OS X

Started by Jerry LeVanabout 21 years ago2 messagesgeneral
Jump to latest
#1Jerry LeVan
jerry.levan@eku.edu

There have been some recent discussions on Shared Memory problems
in Darwin on the darwin-kernel list at lists.apple.com.

The subject is : shm_open and mmap: Invalid argument?

Tain't clear to me if this is relevant to the MacOS X and
Postgresql shared memory problem that I see mentioned here
from time to time... ( some of the discussion centers on
releasing the segments).

Perhaps a more knowledgeable postgresql person should
take a look.

Jerry

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Jerry LeVan (#1)
Re: Shared Memory and Mac OS X

Jerry LeVan <jerry.levan@eku.edu> writes:

There have been some recent discussions on Shared Memory problems
in Darwin on the darwin-kernel list at lists.apple.com.

The subject is : shm_open and mmap: Invalid argument?

Tain't clear to me if this is relevant to the MacOS X and
Postgresql shared memory problem that I see mentioned here
from time to time... ( some of the discussion centers on
releasing the segments).

Executive summary seems to be: the thread originator hit some of the
bugs that Darwin has with SysV shared memory, decided to try POSIX
shared memory instead, and found that that sucks even worse :-(
It certainly didn't inspire me to consider switching.

regards, tom lane