- Power Panel cannot be started
Similar messages can be found in
11/06/2014 05:03:43.7887700  : bool InitializeCriticalSection() at XDocCache.cpp:923 : failed to init semaphores for cache: No space left on device. 11/06/2014 05:04:35.8897860  : bool InitializeCriticalSection() at XDocCache.cpp:923 : failed to init semaphores for cache: No space left on device.
Similar errors can be found in
Server Administrator (Shared Library): Data Engine EventID: 0 A semaphore set has to be created but the system limit for the maximum number of semaphore sets has been exceeded
The number of semaphore arrays has reached the maximum configured limit:
# ipcs -s | grep ^0 | wc -l 128 # ipcs -ls ------ Semaphore Limits -------- max number of arrays = 128 max semaphores per array = 250 max semaphores system wide = 32000 max ops per semop call = 32 semaphore max value = 32767
"ipcs -s" to list all of the semaphores currently allocated on the system and then use
"ipcrm -s <semid>" to remove the semaphore if it is no longer needed.
To make sure there are no leaks,
"ipcs -s -i <semid>" command can be used to track down the program that created the semaphore. Usually most leaks come from programs that were interrupted (e.g by segfaults) before they could run their cleanup code.
If the system really needs all of the semaphores currently allocated, it is possible to increase the number of semaphores available. Run
"sysctl -a | grep kernel.sem" to check what the current settings are:
# sysctl -a | grep kernel.sem kernel.sem = 250 32000 32 128
The last value is the number of semaphores available on the system (normally 128).
- Copy the whole line into
- Change the last value to a larger value,
- Save the changes,
"sysctl -p"command to load the new settings.