ipcs -lm shows : max total shared memory (kbytes) = 0
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Odd - if it is really 0 then I wouldn't have thought ipcs -u would have shown any shared memory segments.
The parameter that sets this is SHMALL as I just found out from my reading. This is the global shared memory allowed whereas SHMMAX is the shared memory allowed per segment.
It isn't unsual that setting a parameter to 0 means "unlimited" rather than 0. The fact that you DO have shared memory segments suggests to me that this is the case for SHMALL. If so there is no need to change it. Unfortunately in my breif search I didn't find anything to confirm this.
Also if the above is the case then your limit would of course be physical memory (actually somewhat less because memory is used for other things that don't show up in shared memory). You might want to see what "free" tells you about memory usage.
See if the total of the size listed for segments in use is. It may simply be that you are out of memory so can't allocate any more segments.
What I did note was that your postgress segment has 0 on it. Are you having an issue with postgress? If so it may be what you need to do is figure out how to tell postgress to grab a larger memory segment. Also it may just be it couldn't get any memory as discussed in the prior paragraph.