quetz-mod_python-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory (Grisha) Trubetskoy" <gri...@apache.org>
Subject Re: Session/mutex problem
Date Thu, 21 Aug 2003 13:06:52 GMT


I forgot to mention that this issues should be resolved now (apparently I
was using the wrong pool to allocate global_mutex, so they weren't getting
cleaned up on graceful restarts).

Also, thanks to Thom May we now have CVS snapshots:

http://cvs.apache.org/snapshots/httpd-python/

Grisha

On Sun, 17 Aug 2003, Barry Pederson wrote:

> Gregory (Grisha) Trubetskoy wrote:
>
> > I'll check it out on my FreeBSD 4.8 box.
> >
> > Thanks, BTW, for trying it out - we need more problem reports like this
> > :-)
>
> While poking around to see what could be done about this, I found an
> even simpler failure trigger ... under my config as described before
> (FreeBSD 5.1 Apache 2.0.47, Python 2.3, prefork MPM, start as user
> "root" switching to "www"), just starting apache (apachectl start),
> gives this in the httpd-error.log
>
> ------------
> [Sun Aug 17 12:18:22 2003] [notice] mod_python: Creating 256 session
> mutexes based on 256 max processes and 0 max threads.
> [Sun Aug 17 12:18:22 2003] [notice] Apache configured -- resuming normal
> operations
> (13)Permission denied: mod_python: Failed to reinit global modutex
> /tmp/mpmtx948550.
> (13)Permission denied: mod_python: Failed to reinit global modutex
> /tmp/mpmtx948550.
> (13)Permission denied: mod_python: Failed to reinit global modutex
> /tmp/mpmtx948550.
> (13)Permission denied: mod_python: Failed to reinit global modutex
> /tmp/mpmtx948550.
> (13)Permission denied: mod_python: Failed to reinit global modutex
> /tmp/mpmtx948550.
> --------------
>
>
> And then doing a graceful restart (apachectl graceful) give this
>
> ---------------
> [Sun Aug 17 12:18:46 2003] [notice] Graceful restart requested, doing
> restart
> [Sun Aug 17 12:18:46 2003] [notice] mod_python: Creating 256 session
> mutexes based on 256 max processes and 0 max threads.
> [Sun Aug 17 12:18:46 2003] [error] (17)File exists: mod_python: Failed
> to create global mutex 0 of 256 (/tmp/mpmtx948550).
> Configuration Failed
> ----------------
>
> and then all the httpd processes quit.  You don't even have to request
> any mod-python handled pages :(
>
> 	Barry
>

Mime
View raw message