LinuxLinks.com
Newbies What Next ? News Forums Calendar

Search/Browse

 Category Gateway
More Options
Category:

LinuxLinks News
 · Running Kodi on the Asus Tinker Board
 · Assimilate Go Programming with Open Source Books
 · TinkerOS_Debian V1.8 (Beta version) Released
 · Will Razer Ever Wake Up and Smell the Roses?
 · Learn Swift Programming with No-Charge Books
 · 11 Recommended Open Source Multi-Platform Astronomy Software
 · Teach Scratch Programming with Open Source Books
 · Open Source Books
 · Study Ruby Programming with Open-Source Books
 · Grasp R Programming with Open-Source Books
(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