[Mono-dev] _wapi_shm_semaphores_init

Dick Porter dick at ximian.com
Tue Dec 19 12:47:13 EST 2006


On Tue, 2006-12-19 at 17:40 +0100, Joachim Ante wrote:
> Hi,
> 
> I have a customer who has some trouble launching Unity, it seems monotakes
> up all processing power while starting up and keeps printing printing the
> following message. 
> 
> ** (process:2473): CRITICAL **: _wapi_shm_semaphores_init: semget error: No
> space left on device.  Try deleting some semaphores with ipcs and ipcrm
> 
> He says he has 100 gigabyte of free disk space.
> 
> Any idea on how this can happen and how to fix it?

The semaphore group that mono uses to synchronise access to the shared
memory is being leaked (the last mono instance using it tries to delete
it, but if it terminates abnormally it wont get the chance.)

He needs to run "ipcs -s" and delete the semaphores that look like
"0x4d036b25 156139526  dick      600        8" (the fingerprint numbers
are the 600 perms and 8 nsems) with ipcrm.

- Dick

> PS. Being able to disable .wapi completely with a compiler flag would be
> really useful

It's on my todo list, as is the rest of bug 78739.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20061219/b179817d/attachment.bin 


More information about the Mono-devel-list mailing list