[daip] tv on iMac

Eric Greisen egreisen at nrao.edu
Wed Nov 29 17:24:51 EST 2006


Sara Beck writes:

 > I recently installed AIPS on an iMac with a 24-inch screen and got the
 > known shared memory failure id: invalid argument problems, so I edited
 > the rc file in /etc
 > to read  sysctl -w kern.sysv.shmmax=10485760
 >             sysctl -w kern.sysv.shmmin=1
 >             sysctl -w kern.sysv.shmmni=32
 >             sysctl -w kern.sysv.shmseg=8
 >             sysctl -w kern.sysv.shmall=4096
 > 
 > as suggested by your FAQ. So now about half the time it works fine, the
 > other  half it gives the same shared memory failure message and doesn't
 > open the TV.  It is easily fixed by restarting the computer, but I am
 > wondering why it isn't working all the time, and what I can do to improve
 > it? I'm not going to fiddle with the shared memory unless I have some idea
 > what's going on.

Perhaps Wes will have an idea.  When you exit aips do you use kleenex
or exit?  If the latter, how do you close the TV?  If it is aborted
brutally (kill -9) then it cannot do its abort handler and so cannot
give back the shared memory it claimed.  This might leave the memory
in use and so not have enough to create more.

The unix command ipcs should show the memories in use.

But we have had sporadic reports of issues with closing XAS on Macs
that we have not been able to resolve so this stale shared memories
may not be the answer.

Eric Greisen




More information about the Daip mailing list