[daip] /etc/rc file & Shared memory id failure: Invalid argument

Eric Greisen egreisen at nrao.edu
Wed Jul 13 10:22:57 EDT 2005


Glenn Morrison writes:
 > 
 > Eric,
 > 
 > Of course I got around my problems by using LOCALHOST_1, etc., for  
 > disk areas. Now I have the old (I have a 30" monitor) problem of

       I am worried about the missing $SYSLOCAL/UPDCONFIG that I saw
in the other e-mail.  Check for the do_daily.<host> in your home area
and UPDCONFIG in $SYSLOCAL.

        You may have to run $UPDUNIX/MAKE.BMNJ over again.


 > 
 > XAS: Using screen width height 2550 1500, max grey level 255
 > Shared memory id failure: Invalid argument
 > 
 > 
 > in /etc/rc I changed
 > 
 > 
 > sysctl -w kern.sysv.shmmax=10485760 kern.sysv.shmmin=1  
 > kern.sysv.shmmni=32 kern.sysv.shmseg=8 kern.sysv.shmall=4096
 > 
 > But still gave the same error message.
 > 
 > DO I need to make this bigger? What are the exact values I need  
 > (4X1500) and for kern.sysv.shmall??

Yes you lucky dog you.

Try 4 * 2550 * 1500 = 15300000 but round it up   I suspect 15360000
would work (n * 1024 in each row)  but 16000000 would be safer.

Eric Greisen




More information about the Daip mailing list