[daip] tv display problem

Eric Greisen egreisen at nrao.edu
Tue Sep 4 10:41:15 EDT 2007


Sarah Ragan writes:
 > Hello,
 > 
 > I have been successfully running AIPS on a MAC OS (Tiger), but when I  
 > tried restarting AIPS this morning (had to restart X11), the TV  
 > display failed to open.
 > 
 > All of the startup messages look normal except for (obviously)
 > 
 > Shared memory id failure: Cannot allocate memory
 > 
 > 
 > I have already altered the /etc/kern.sysv.shm* line according to the  
 > advice given in the Managers FAQ when I was getting a different  
 > error-- "Shared memory id failure: Invalid argument" -- but I don't  
 > see any help addressing this error in that document.
 > 
 > I would appreciate any suggestions on what to try next.  Thanks!
 > 

I suspect that all of the shared memory segments allowed on the
machine have been used up.  This can happen if XAS is killed in such a
way that its abort handler is not allowed to function - namely 

    kill -9. 

This level of kill can occur in relatively inocent ways - e.g. using
the screen manager to delete the XAS window may do it.  The best way
to exit aips and clean up is to do a KLEENEX rather than EXIT.  An ESC
key hit in the XAS window closes it properly as well.  Most machines
have a finite total amount memory allowed for all shared memory
segments and I know I have used it up on occasion.

Try the command ipcs -a but that did not show me anything on my mac
and I have an aips tV running.


A reboot should clear things.

Eric Greisen




More information about the Daip mailing list