[daip] Problems installing 31DEC06 on a Mac PPC

Eric Greisen egreisen at nrao.edu
Wed Jul 26 15:54:35 EDT 2006


Josh Winn writes:

 > Shared memory id failure: Invalid argument
 > 
 > line in /etc/rc, namely,
 > 
 > sysctl -w kern.sysv.shmmax=16777216
 > sysctl -w kern.sysv.shmmin=1
 > sysctl -w kern.sysv.shmmni=32
 > sysctl -w kern.sysv.shmseg=8
 > sysctl -w kern.sysv.shmall=4096
 > 
 > I am using a dual screen setup, with effective size 3830 by 1100.
 > The FAQ says that 4*3830*1100 = 16.85 Mb is needed,
 > which is probably why I am getting  an error message.
 > On the other hand, when I try doubling .shmmax,
 > I get another error that the shared memory cannot be allocated.

Several thoughts:

1. Try changing the shmall to 8192

2. You actually need
       4*3830*1100 / (1024*1024) = 16.071 Mbyte
   But may actually need
       4*4096*1100 / (1024*1024) = 17.1875 Mbyte
   So try
       shmmax=20971520

3. Note that shmmax must be exactly correct integer # of Mbytes
   and that you must re-boot the computer after changing this file.

Eric Greisen




More information about the Daip mailing list