[daip] Shared memory id failure: cannot allocate memory

Adam Ginsburg adam.ginsburg at colorado.edu
Wed May 27 22:59:04 EDT 2009


Hi DAIP,
   I've been trying to work through the nice AIPS manager help
document: http://www.aips.nrao.edu/aipsmgr/index.html but I think I
might have exceeded its bounds.  I'm running Mac Leopard with two
large monitors with 1920x1200 resolution.  I was getting the "Shared
memory id failure: Invalid Argument" error until I changed sysctl to
read :
kern.sysv.shmmax=16855040
kern.sysv.shmmin=1
kern.sysv.shmmni=32
kern.sysv.shmseg=8
kern.sysv.shmall=4096

Note that I had to round up from 3830*1100*4 to get a multiple of 4096
And now I get the following:

START_AIPS: Your initial AIPS printer is the
START_AIPS:  - system name , AIPS type

START_AIPS: User data area assignments:
  (Using global default file /aips/DA00/DADEVS.LIST for DADEVS.PL)
   Disk 1 (1) is /aips/DATA/ETA_1

Tape assignments:
   Tape 1 is REMOTE
   Tape 2 is REMOTE

START_AIPS: I am GUESSING you are at a workstation called eta
START_AIPS: Starting TV servers on eta asynchronously
START_AIPS:  - with Internet Sockets...
START_AIPS: Starting TPMON daemons on ETA asynchronously...
Starting up 31DEC09 AIPS with normal priority
XASERVERS: Start TV LOCK daemon TVSERV on eta
XASERVERS: Start XAS on eta, DISPLAY /tmp/launch-UOg2ei/:0
XASERVERS: Start graphics server TEKSRV on eta, DISPLAY /tmp/launch-UOg2ei/:0
XASERVERS: Start message server MSGSRV on eta, DISPLAY /tmp/launch-UOg2ei/:0
TVSERVER: Starting AIPS TV locking, Inet domain
Begin the one true AIPS number 1 (release of 31DEC09) at priority =   0
STARTPMON: [ETA] Starting TPMON1 with output SUPPRESSED
AIPS 1: You are assigned TV device/server   1
AIPS 1: You are assigned graphics device/server   1
AIPS 1: Enter user ID number
?XAS: ** TrueColor FOUND!!!
XAS: ***  Using shared memory option for speed ***
XAS: Using screen width 3830 height 1100,
     max grey level 8191 in 16 grey-scale memories
Shared memory id failure: Cannot allocate memory
Warning: locale not supported by Xlib, locale set to C
Warning: locale not supported by Xlib, locale set to C


So... is this a problem with my graphics card?  Or... what?

Thanks,
Adam




More information about the Daip mailing list