On 5 Nov, James D. Parra wrote:
Does anyone know how to allocate more shared memory?
Currently, the system shows 33Mb, however I need to bump this up to 2Gb.
# cat /proc/sys/kernel/shmmax 33554432
You almost answered your own question.. just cat the new value you want into there (as root). i.e. $ sudo su - root -c 'echo 52428800 > /proc/sys/kernel/shmmax' for 50meg. Also, look at /usr/src/linux/Documentation/sysctl/kernel.txt for more info, which seems to indicate you can't go past 1Gig... shmmax: This value can be used to query and set the run time limit on the maximum shared memory segment size that can be created. Shared memory segments up to 1Gb are now supported in the kernel. This value defaults to SHMMAX. Although that says segment size, not total.. Just FYI.. most of the files in /proc that show a value when cat'd can be set by echo'ing the preferred value into them. -- Mike Marion-Unix SysAdmin/Staff Engineer-http://www.qualcomm.com "DOS Computers manufactured by companies such as IBM, Compaq, Tandy, and millions of others are by far the most popular, with about 70 million machines in use worldwide. Macintosh fans, on the other hand, may note that cockroaches are far more numerous than humans, and that numbers alone do not denote a higher life form." -- New York Times article