[daip] AIPS - Shared memory ID failure: Lion equivalent of sysctl.conf

Wes Young wyoung at nrao.edu
Wed May 23 14:06:41 EDT 2012


Try resetting the values and not rebooting and see if they change. If not in /etc, do "sudo grep sysctl *" and see what you get. It's possible they are being set somewhere else. Does someone manage the system for you?

wes
wyoung at aoc.nrao.edu


On May 23, 2012, at 12:01 PM, Brendan Reardon wrote:

> Eric and Wes -
> 
> I edited the permissions on sysctl.conf as you instructed to be, 
> -rw-r--r--@ 1 root wheel 111 May 23 13:09 sysctl.conf
> After these permission changes, I manually edited kern.sysv as Wes instructed me to do with sudo with no avail - the values reset once again after reboot.  
> 
> As for potentially moving off of shared memory, I am currently reading this webpage: http://www.aips.nrao.edu/cgi-bin/ZXHLP2.PL?XAS but when I go to access this "~/.Xdefaults" file that you speak of I am having difficulty. "more ~/.Xdefaults" yields no results. 
> 
> Brendan
> On Wed, May 23, 2012 at 1:34 PM, Wes Young <wyoung at aoc.nrao.edu> wrote:
> Try
> 
> sudo sysctl -w kern.sysv.shmmax=10485760
> sudo sysctl -w kern.sysv.shmmin=1
> sudo sysctl -w kern.sysv.shmmni=32
> sudo sysctl -w kern.sysv.shmseg=8
> sudo sysctl -w kern.sysv.shmall=4096
> 
> then reboot.
> 
> wes
> wyoung at aoc.nrao.edu
> 
> 
> On May 23, 2012, at 11:28 AM, Eric Greisen wrote:
> 
> > Brendan Reardon wrote:
> >> Yes
> >
> >>
> >>    You did re-boot the computer this time?
> >
> > Now this is a mystery - for some reason your machine is not reading or
> > accepting the file.  I had a spelling problem in mine on lion and it
> > rejected the file (quietly) during the boot - but I do not see a
> > spelling problem in yours.  What are the file owner, group, and
> > permissions?  It may require   root, wheel, rw-r--r-- on the file.
> >
> > If all else fails you can instruct aips not to use shared memory but I
> > have our Mac expert (and the one with the big screen lion system)
> > looking at this.  HELP XAS will tell you about the ~/.Xdefaults file
> > that allows you to say do not use shared memory (among a lot of other
> > things).
> >
> > Eric Greisen
> >
> > _______________________________________________
> > Daip mailing list
> > Daip at listmgr.cv.nrao.edu
> > http://listmgr.cv.nrao.edu/mailman/listinfo/daip
> 
> 





More information about the Daip mailing list