Re: MacOS X Shared Buffers (SHMMAX)?

Поиск
Список
Период
Сортировка
От Gregory Seidman
Тема Re: MacOS X Shared Buffers (SHMMAX)?
Дата
Msg-id 20020522130251.B7586@jamaica.cs.brown.edu
обсуждение исходный текст
Ответ на Re: MacOS X Shared Buffers (SHMMAX)?  ("Command Prompt, Inc." <pgsql-general@commandprompt.com>)
Ответы Re: MacOS X Shared Buffers (SHMMAX)?  ("Command Prompt, Inc." <pgsql-general@commandprompt.com>)
Список pgsql-general
Command Prompt, Inc. sez:
[...]
} [...actually, a minute later of looking at the source...]
}
} Okay, so it appears to be when it's checking sockets for data in
} src/backend/postmaster/pgstat.c, line 1579...I just tried re-building the
} kernel with a higher value for kern.ipc.maxsockets but that didn't have
} any effect, still get that error.
}
} Anyone have any ideas on what specifically would cause this part of pgstat
} to fail?

Recompiling the kernel was necessary to change the shared memory limit, but
kern.ipc.maxsockets can be changed on the fly with sysctl. It might be
getting changed in one of the scripts (perhaps SystemTuning) in
/System/Library/StartupItems (there are also sometimes scripts in
/Library/StartupItems; both directories are used in the startup process).
When your system is up and running, try sysctl kern.ipc.maxsockets and see
if the value is what you expected. If not, dig around in the StartupItems
directories and see if something is changing it.

} Best regards,
} Jw.
--Greg


В списке pgsql-general по дате отправления:

Предыдущее
От: "Command Prompt, Inc."
Дата:
Сообщение: Re: MacOS X Shared Buffers (SHMMAX)?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: MacOS X Shared Buffers (SHMMAX)?