[Bsd-sharp-list] Mono semaphor help needed

Tom McLaughlin tmclaugh at sdf.lonestar.org
Sat Feb 17 13:53:15 MST 2007


On Sat, 2007-02-17 at 13:24 -0500, L Kamenov wrote:
> On 2/12/07, Tom McLaughlin <tmclaugh at sdf.lonestar.org> wrote:
> > On Sun, 2007-02-11 at 23:39 -0600, R. Tyler Ballance wrote:
> 
> Tom,
> 
> I managed to reproduce it, but with a bit higher number of
> mono procs about 20. I assume you used the latest mono
> from ports.
> 

What are your semaphore limits?

[tom at bofh tom]$ sysctl kern.ipc.semmni kern.ipc.semmns
kern.ipc.semmni: 10
kern.ipc.semmns: 60

I leave the defaults.

> I just compiled mono with debugging info and will try and see
> the internals.
> 

That would be awesome.  Additionally, Mono seems to have issues with
semaphores on amd64 jails.  Right now it can't complete a build on the
pointyhat amd64 lines.  That's how I first got bugged about this.

> It does seem nasty to go in a loop complaining about no
> shared memory. Generally this could be fine on a desktop box
> where the user will notice the errors, but on a server platform
> I think it should just abort and be restarted afterwards,
> automatically.
> 

Worse, it's no good for pointyhat.  It means kris@ need to chase down
the box and kill the build when this goes wrong.

Thank you for offering to look into this. :)

tom

> regards,
> Lou
-- 
| 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