[Bsd-sharp-list] Mono semaphor help needed

Tom McLaughlin tmclaugh at sdf.lonestar.org
Sun Feb 11 22:14:44 MST 2007


Recently through PRs and pointyhat emails I've seen a few instances
where building Mono has gotten stuck because the machine has run out of
semaphores to execute mono.  The errors look something like this
repeating many times:

** (/usr/local/lib/mono/1.0/mcs.exe:36951): CRITICAL **: _wapi_shm_semaphores_init: semget error: 
No space left on device. Try deleting some semaphores with ipcs and ipcrm

The problem is that mono goes into an infinite loop trying to get one
instead of failing.  I think it would be preferable to have mono give up
and have the C# app crash (maybe with a note why?) instead of just
continually looping.  Now the hard part...  Who wants to do the work?
I'm not sure where or how to handle this.  Thanks.

tom

-- 
| tmclaugh at sdf.lonestar.org             tmclaugh at FreeBSD.org |
| FreeBSD                                   http://www.FreeBSD.org |
| BSD#                    http://www.mono-project.com/Mono:FreeBSD |



More information about the Bsd-sharp-list mailing list