LinuxLinks.com
Newbies What Next ? News Forums Calendar

Search/Browse

 Category Gateway
More Options
Category:

LinuxLinks News
 · Learn to Develop Lua Applications with Free Books
 · Get to Grips with HTML with Free Books
 · Learn all about VimL Programming And Vim with Free Books
 · Become Competent in OCaml Programming with Free Books
 · Learn Scala Programming with Free Books
 · Master Haskell Programming with Free Books
 · TinkerOS Android 13.11.0.4 Released
 · Asus Tinker Board An Inexpensive Home Theatre Solution
 · How to Change your Android Screen Resolution for the Asus Tinker Board
 · Installing Google Play Store on the Asus Tinker Board
(more...)
 

LinuxLinks Login

Login:

Password:



Click here
to start your own
Link collection!



My LinuxLinks
 My LinuxLinksMyLinks  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

LINUX shared memory?

 
Post new topic   Reply to topic    LinuxLinks.com Forum Index -> Beginners
View previous topic :: View next topic  
Author Message
wiwi
Registered


Joined: 20 Dec 2011
Posts: 1

PostPosted: Tue Dec 20, 2011 2:16 am    Post subject: LINUX shared memory? Reply with quote

How to set the LINUX shared memory Question
Back to top
View user's profile Send private message

sks
Registered


Joined: 20 Dec 2011
Posts: 2

PostPosted: Tue Dec 20, 2011 2:19 am    Post subject: Reply with quote

SHMMAX set
You can perform the following orders through to determine the value of the SHMMAX:
# cat/proc/sys/kernel/shmmax
33554432
SHMMAX default is 32 MB. I usually use the following methods of SHMMAX parameters will set to 2 GB:
Through the direct change/proc file system, you don't need to restart the machine can change the default setting of SHMMAX. I use the method is to the following commands into/etc/rc. Local start file:
# > echo "2147483648" > / proc/sys/kernel/shmmax
You can also use sysctl command to change the value of SHMMAX:
# sysctl-w kernel. Shmmax = 2147483648
Finally, after the kernel argument inserted/etc/sysctl. Conf boot file, you can make the change permanent and effective:
# echo "kernel. Shmmax = 2147483648" > > / etc/sysctl. Conf
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    LinuxLinks.com Forum Index -> Beginners All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2002 phpBB Group
Built with GeekLog and phpBB
Comments to the webmaster are welcome
Copyright 2009 LinuxLinks.com - All rights reserved