Re: Error on initdb with 7.4RC2

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Martin Marques <martin(at)bugs(dot)unl(dot)edu(dot)ar>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Error on initdb with 7.4RC2
Date: 2003-11-16 19:56:22
Message-ID: 9535.1069012582@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Martin Marques <martin(at)bugs(dot)unl(dot)edu(dot)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(at)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martin Marques 2003-11-16 20:36:55 Re: Error on initdb with 7.4RC2
Previous Message Alvaro Herrera 2003-11-16 19:50:55 Re: Conservation of OIDs