LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Blogs > pantdk
User Name
Password

Notices


Rate this Entry

How to increase "SHARED MEMORY"

Posted 09-17-2013 at 03:17 AM by pantdk

=> INCREASE SHARED MEMORY

1) Check the requirement of the user - say it is 75 % of RAM

2) Check RAM (free -m)

3) Calculate new shared memory size, 75 % in our example - say it is 105 G

4) Follow below steps

# sudo cp -p /etc/fstab /etc/fstab_`date +%d-%m-%Y`

# sudo vim /etc/fstab

tmpfs /dev/shm tmpfs defaults,size=107520m 0 0

# sudo mount -o remount,size=107520m /dev/shm

5) Verify, new size

# df -hTP /dev/shm

Size should be 105G
Posted in Uncategorized
Views 308 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 04:31 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration