Re: RC2 will not make check on OSX 10.3

From: Theodore Petrosky <tedpet5(at)yahoo(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql -bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: RC2 will not make check on OSX 10.3
Date: 2003-11-16 01:25:57
Message-ID: 20031116012557.72153.qmail@web41003.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

After about two hours of hunting pecking and anything
else I found where you control this in OSX 10.3

you must edit the /etc/rc file.

/System/Library/StartupItems/SystemTuning/SystemTuning
does nothing....

now.. 7.4 RC2 make check only fails on the geometry
test....

type_sanity ... ok
opr_sanity ... ok
test geometry ... FAILED
test horology ... ok
test insert ... ok
test create_function_1 ... ok
test create_type ... ok

I hope if someone searches on OSX (OS X) SystemTuning
they find this....

edit rc... on about the second page you will find the
settings.

This is what I have and it is working... I don't
know if it is optimal..

Ted

# System tuning
sysctl -w kern.maxvnodes=$(echo $(sysctl -n
hw.physmem) '33554432 / 512 * 1024 +p'|dc)
sysctl -w kern.sysv.shmmax=167772160
sysctl -w kern.sysv.shmmin=1
sysctl -w kern.sysv.shmmni=32
sysctl -w kern.sysv.shmseg=8
sysctl -w kern.sysv.shmall=65536

--- Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Theodore Petrosky <tedpet5(at)yahoo(dot)com> writes:
> > FATAL: could not create shared memory segment:
> Cannot
> > allocate memory
> > DETAIL: Failed system call was shmget(key=1,
> > size=1081344, 03600).
>
> You need to increase SHMMAX.
>
> regards, tom lane
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please
> send an appropriate
> subscribe-nomail command to
> majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Neil Conway 2003-11-16 01:33:29 Re: RC2 will not make check on OSX 10.3
Previous Message Tom Lane 2003-11-15 19:08:29 Re: lower('Å') or upper('å') gives imp