Tuesday, January 10, 2012

(28)No space left on device: Couldn't create accept lock

run
ipcs -s
You will get something like below
0x008b82da 3539006 apache 600 17
0x008b82db 3571775 apache 600 17
0x008b82dc 3604544 apache 600 17
0x008b82dd 3637313 apache 600 17
0x00000000 3735618 apache 600 1
0x00000000 3768387 apache 600 1
0x00000000 3801156 apache 600 1
0x00000000 3833925 apache 600 1
0x00803c21 8814698 apache 600 17
0x00803c22 8847467 apache 600 17
0x00803c23 8880236 apache 600 17
0x00803c24 8913005 apache 600 17
0x00803c25 8945774 apache 600 17
Semaphores are often used to restrict the number of threads than can access some (physical or logical) resource
To destroy/delete all semaphores, you can use follwong script which you can directly execute on the Shell
ipcrm sem <3539006>