LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 07-29-2009, 10:21 AM   #1
barkaline
LQ Newbie
 
Registered: Jul 2009
Posts: 1

Rep: Reputation: 0
parameter SHMMAX (largest shared memory segment) too small or insufficient swap space


During execution I get message

The application attempted to allocate a shared memory segment of 33554432 bytes in size. This might be in addition to segments that were allocated succesfully previously. The current system configuration does not allow enough shared memory to be allocated to the application.
This is most often caused by:
1) system parameter SHMMAX (largest shared memory segment) being too small or
2) insufficient swap space.

What can I do?
 
Old 07-29-2009, 12:31 PM   #2
johnsfine
Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,063

Rep: Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106
If you had done a forum search for SHMMAX you would already have your answer. Among other threads you would have found this thread where the OP found the answer despite my well intentioned but off target advice:

http://www.linuxquestions.org/questi...29#post3576129

In that thread, jlightner suggest this command to see the current settings and a couple methods of adjusting them were discussed:

sysctl -a |grep -i shm

Of course it is possible those settings are OK and the problem is lack of swap space and/or a problem in commit limits. Assuming it is a 32 bit system, you might even be running into some application or kernel virtual memory limit. So if the answers in that or similar existing threads aren't right for your situation, post more info (such as the name of the failing application and output from the free command). Someone will give you more specific advice for your situation.

Last edited by johnsfine; 07-29-2009 at 12:38 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
shared memory segment - unable to remove paziulek Linux - Server 2 05-22-2009 09:13 AM
Linux shared memory segment access problem and x86 Virtual Memory layout. regmee Linux - Kernel 1 08-23-2008 12:11 AM
how can I repeatedly attach a shared memory segment at the same address? Spirals Linux - Software 3 06-07-2008 06:26 AM
Identify a shared memory segment gremlin2000 Linux - General 3 04-03-2004 11:19 AM
Insufficient swap space shaz Linux - Newbie 1 03-19-2001 10:28 PM


All times are GMT -5. The time now is 03:35 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration