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?
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:
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.
|All times are GMT -5. The time now is 08:22 AM.|