11.10 no longer has /etc/default/tmpfs file to set SHM_MAX

Asked by MDM

I have 16 gb of memory and cannot figure out how to modify the new /run/shm mounted directory. The default for this directory is 50% of available memory and I need to increase the size to support multiple databases in memory. There used to be a /etc/default/tmpfs file that allowed to configure a different size. Please let me know if there is a way to store the desired size for /run/shm.

As a side note, there is a symbolic link created /dev/shm used for compatibility. Unfortunately some applications require thsi to be mounted directory using bind option. I have changed the /etc/init/mounted-dev.conf to use "mount --bind /run/shm /dev/shm" instead of the symbolic link and older programs are much happier. This includes using Oracle database.

Question information

Language:
English Edit question
Status:
Open
For:
Ubuntu linux Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

Can you help with this problem?

Provide an answer of your own, or ask MDM for more information if necessary.

To post a message you must log in.