RE: [HACKERS] Linux: semaphores: How?

Поиск
Список
Период
Сортировка
От Daryl W. Dunbar
Тема RE: [HACKERS] Linux: semaphores: How?
Дата
Msg-id 011301be6114$e9593390$1445e59b@ddunbar.eni.net
обсуждение исходный текст
Ответ на Re: [HACKERS] Linux: semaphores: How?  (Oleg Broytmann <phd@sun.med.ru>)
Список pgsql-hackers
The defaults for RH5.2 (from /usr/src/linux/include/linux/sem.h:

#define SEMMNI  128             /* ?  max # of semaphore identifiers
*/
#define SEMMSL  32              /* <= 512 max num of semaphores per
id */
#define SEMMNS  (SEMMNI*SEMMSL) /* ? max # of semaphores in system
*/
#define SEMOPM  32              /* ~ 100 max num of ops per semop
call */
#define SEMVMX  32767           /* semaphore maximum value */

Which means the default max semaphores is 128*32 = 4096, I don't
think you'll have a problem. :)

DwD

> -----Original Message-----
> From: owner-pgsql-hackers@postgreSQL.org
> [mailto:owner-pgsql-hackers@postgreSQL.org]On Behalf Of
> Oleg Broytmann
> Sent: Thursday, February 25, 1999 12:42 PM
> To: Terry Mackintosh
> Cc: PostgreSQL-development
> Subject: Re: [HACKERS] Linux: semaphores: How?
>
>
> Hi!
>
> On Thu, 25 Feb 1999, Terry Mackintosh wrote:
> > I'm now building up a new server, Red Hat 5.2 with
> updates and the new
> > 2.2.2 kernel.
> >
> > I may have missed it, but do not recall seeing any
> thing about semaphores
> > in the "make menuconfig", is it call some thing else?
> or is it N/A for
> > Linux? or did I just not see it?
>
>    It is "System V IPC".
>
> Oleg.
> ----
>     Oleg Broytmann  National Research Surgery Centre
> http://sun.med.ru/~phd/
>            Programmers don't die,
> they just GOSUB without RETURN.
>
>



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

Предыдущее
От: Vince Vielhaber
Дата:
Сообщение: shouldn't pg_dumpall...
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] postmaster failure with 2-23 snapshot