December 28 at 11:42 pm
- unidata.ucar.edu
- via Mento
- Link
"After the reboot, a 'cat /proc/meminfo' and a 'top' should show that your system now sees 500 MB of RAM AND you should see a more sizable shared memory segment denoted by the 'MemShared:' line in /proc/meminfo. If you still don't have enough shared memory, then you will have to make the modifications that Dave G. suggested in his email: ...it looks like you can do this in one of two ways. You can add this line to your /etc/rc.d/rc.local file: echo <shared memory size> > /proc/sys/kernel/shmmax and reboot. (Note that since this will be literally the last thing run before your system comes up, your McIDAS session won't get a larger shared memory segment if it's started during the boot process.) Alternatively, you can change the value of SHMMAX in /usr/src/linux/include/asm/shmparam.h and rebuild your kernel for a more permanent solution." - 105
via Mento
"After the reboot, a 'cat /proc/meminfo' and a 'top' should show that your system now sees 500 MB of RAM AND you should see a more sizable shared memory segment denoted by the 'MemShared:' line in /proc/meminfo. If you still don't have enough shared memory, then you will have to make the modifications that Dave G. suggested in his email: ...it looks like you can do this in one of two ways. You can add this line to your /etc/rc.d/rc.local file: echo <shared memory size>> /proc/sys/kernel/shmmax and reboot. (Note that since this will be literally the last thing run before your system comes up, your McIDAS session won't get a larger shared memory segment if it's started during the boot process.) Alternatively, you can change the value of SHMMAX in /usr/src/linux/include/asm/shmparam.h and rebuild your kernel for a more permanent solution." - 105