Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hello every body,
how do I know what the upper limit is on my server for my shared
memory
> settings?
is there anyperson knowing about this please explain?
The operating system shared memory default of most Linux releases is
32MB. The minimum required by Adaptive Server is 64MB for a default
Server with 2K pages. You must increase the amount of shared memory if
you plan to increase the total memory of Adaptive Server.
Use the sysctl(8) method to check and adjust the operating system shared
memory parameter.
• To check the current shared memory size, enter:
# /sbin/sysctl kernel.shmmax
• To adjust the shared memory size, enter the following, where nnn is
the new size in bytes (at least 64MB which is 67108864 bytes):
# /sbin/sysctl -w kernel.shmmax=nnn
To guarantee that this value is applied every time the system is started,
add this line to your /etc/rc.d/rc.local file (/etc/init.d/boot.local on
SuSE systems).
Look in /proc as well. There may be a SC_SHMMAX or _XVID_SSHMAX using sysconf but I can't check now. My linux machine is at home.
Look in /proc as well. There may be a SC_SHMMAX or _XVID_SSHMAX using sysconf but I can't check now. My linux machine is at home.
sir,
thanks a lot for ur reply it works out well.i need one more clarification sir, how much max of shared memory shall we give for server? is there any limit ? and what do you mean by adaptive server?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.