[Mono-list] mmap problem with mod_mono

Gonzalo Paniagua Javier reply.to.the.list.iam.suscribed@notexists.ximian.com
Sat, 07 May 2005 13:42:48 -0600


On Sat, 2005-05-07 at 10:49 -0400, Sébastien Robitaille wrote:
> > Run ps aux | grep mod-mono-server and see the owner of the process. May
> > be, given that the permissions on /sebas are 777, just removing
> > the .wapi directory you created will work.
> 
> Already done that, without much success.
> BTW, I cannot see the owner of the mod-mono-server process this way
> since it is aborted before I can grep for it...
> 
> I looked at the _wapi_shm_attach() code and the error doesn't arises
> when the file is opened, it is the mmap call that fails. According to
> mmap doc, the error code returned (EACCES) arises when the file is not
> open with the correct flags.
> Maybe this is not a permission issue after all?

If the file wasn't being opened with the correct flags, it wouldn't work
for anyone else.

The default parameters usually work.

-Gonzalo