Jeff,
Well that is strange.....here is mine...
sysctl -w kern.sysv.shmmax=4194304
sysctl -w kern.sysv.shmmin=1
sysctl -w kern.sysv.shmmni=32
sysctl -w kern.sysv.shmseg=8
sysctl -w kern.sysv.shmall=1024
Andrew
On Dec 18, 2003, at 4:13 AM, Jeff Whitaker wrote:
> Andrew: I finally did get sysv shared memory support to work, but only
> after modify some kernel parameters in /etc/rc
>
> --- rc.orig Tue Dec 16 13:04:41 2003
> +++ rc Tue Dec 16 13:12:39 2003
> @@ -84,11 +84,11 @@
>
> # System tuning
> sysctl -w kern.maxvnodes=$(echo $(sysctl -n hw.physmem) '33554432 /
> 512 *
> 1024 +p'|dc)
> -sysctl -w kern.sysv.shmmax=4194304
> +sysctl -w kern.sysv.shmmax=134217728 # upped from 4 to 128mb
> sysctl -w kern.sysv.shmmin=1
> sysctl -w kern.sysv.shmmni=32
> -sysctl -w kern.sysv.shmseg=8
> -sysctl -w kern.sysv.shmall=1024
> +sysctl -w kern.sysv.shmseg=256 # upped from 8
> +sysctl -w kern.sysv.shmall=131072 # upped from 1024
> if [ -f /etc/sysctl-macosxserver.conf ]; then
> awk '{ if (!index($1, "#") && index($1, "=")) print $1 }' <
> /etc/sysctl-macosxserver.conf | while read
> do
>
> The configure script was choking because shmmax was only 4mb - I'm not
> sure if the other changes were really necessary. I'm mystified as to
> why
> yours worked - what does your /etc/rc say?
>
> -Jeff
>
>
> On Wed, 17 Dec 2003, Andrew Cunningham wrote:
>
>> I have built 7.0.2 on OS X 10.3.1....
>> No problems with sysv
>> Just a simple
>> ./configure
>> make
>>
>> ......
>> configure:15204: checking for SYSV semaphore support
>> configure:15206: result: yes
>>
-------------------
Andrew Cunningham
ESI Group NA.
andrew.cunningham_at_[hidden]
(858) 350 0057 x105
Intl: +1-858-350 0057
|