[Mono-list] A Problem with XSP

Gonzalo Paniagua Javier gonzalo@ximian.com
Tue, 24 Feb 2004 16:59:35 +0100


El mar, 24-02-2004 a las 11:57, Jörg Rosenkranz escribió:
> Hello all,
> 
> > -----Original Message-----
> > From: mono-list-admin@lists.ximian.com [mailto:mono-list-admin@lists.ximian.com] On Behalf Of Filip Brcic
> > Sent: Monday, February 23, 2004 3:05 PM
> > Subject: Re: [Mono-list] A Problem with XSP
> > 
> > 
> > After some browsing of mono source code, I realized that shared 
> > handles are located in ~/.wapi directory and when the system 
> > crashed that directory got corrupt somehow. After I deleted it, 
> > everything works just fine, as it worked before :)
> 
>  
> The shared handles storage in ~/.wapi seems to be still a bit unstable. 
> Is there any way to detect and repair a corrupted .wapi directory 
> instead of raising the "Shared memory sanity check failed." message?

I don't think it can be 'repaired', but Dick probably knows better.
> 
> We're deleting it in the start script of our application, but that
> works only because that's the only Mono app running in this user
> context.

You can also use the MONO_SHARED_DIR (man mono) environment variable so
that your application has its own .wapi directory not shared with any
other.

-Gonzalo