Re: Error on initdb with 7.4RC2 - Mailing list pgsql-general

From Tom Lane
Subject Re: Error on initdb with 7.4RC2
Date
Msg-id 9535.1069012582@sss.pgh.pa.us
Whole thread Raw
In response to Re: Error on initdb with 7.4RC2  (Martin Marques <martin@bugs.unl.edu.ar>)
Responses Re: Error on initdb with 7.4RC2  (Martin Marques <martin@bugs.unl.edu.ar>)
List pgsql-general
Martin Marques <martin@bugs.unl.edu.ar> writes:
> El Dom 16 Nov 2003 15:23, Tom Lane escribi�:
>> See sysctl.  But what is the current value?  I've never heard of a Linux
>> installation with small SEMVMX.

> martin@bugs:~/latex$ cat /proc/sys/kernel/sem
> 250     32000   32      128

> This is a Linux Kernel for SPARC (Debian) that came with the distribution (no
> recompile done yet here).

As far as I can tell, SEMVMX isn't readable or writable via /proc or
sysctl in Linux at all; at least it is not visible in my Red Hat 8.0
installation.  So it's really hard to see why it'd be different in
your installation than everywhere else.

Just to make sure we're barking up the right tree, would you see whether
it helps to change this line in src/backend/port/sysv_sema.c:

#define PGSemaMagic          537             /* must be less than SEMVMX */

Try making it 100 or so instead of 537.

            regards, tom lane

pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Conservation of OIDs
Next
From: Martin Marques
Date:
Subject: Re: Error on initdb with 7.4RC2