Print

How do I enable the use of shared memory on Linux?


In a default Linux installation the maximum size of sections of shared memory is too small to be of use for deconvolution. To view the current maximum size of shared memory segments run:
/sbin/sysctl kernel.shmmax

To increase this value add the following line to /etc/sysctl.conf:
kernel.shmmax = 2147483648
and then to activate this new value run this command:
/sbin/sysctl -p


To have this command run during system startup on SuSE add it to the file /etc/init.d/boot.local. RedHat systems should already look at /etc/sysctl.conf at startup. If it exists sysctl is automatically run.



Keywords: shared memory Linux sysctl
Categories: Faq Installation, Faq Platforms, Huygens Faq, Imported Faqs
Platforms: Linux
Related products: Hu Ess Hu Pro Hu Script