LinuxLinks.com
Newbies What Next ? News Forums Calendar

Search/Browse

 Category Gateway
More Options
Category:

LinuxLinks News
 · Success! Beelink S1 Running Linux Courtesy of the Open Source Community
 · Beelink S1 Mini PC and Linux Comedy Gold
 · Fun Packed Open Source Action Games
 · Improve Your Mental Mettle with These Open Source Puzzle Games
 · MOOS Project Viewer 3.2 Support for Microsoft Project 2016 Files
 · Shuffle the Decks with These Ace Open Source Card Games
 · Have a Blast with Fun to Play Open Source Arcade Style Games
 · Asus Tinker Board TinkerOS_Debian V2.0.1 (Beta version)
 · Asus Tinker Board TinkerOS Android 13.11.0.5 Anything Special?
 · Fun to Play Open Source Turn-Based Strategy Games
(more...)
 

LinuxLinks Login

Login:

Password:



Click here
to start your own
Link collection!


Click to Visit

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