Обсуждение: Shared Memory and Mac OS X

Поиск
Список
Период
Сортировка

Shared Memory and Mac OS X

От
Jerry LeVan
Дата:
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


Re: Shared Memory and Mac OS X

От
Tom Lane
Дата:
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