tag 442006 +upstream
thanks

On Wed, Sep 12, 2007 at 10:38:22AM -0400, [EMAIL PROTECTED] wrote:
> Using the python xapian bindings with libapache2-mod-python (3.3.1-2)
> makes apache freeze due to threading issues.
> 
> Discussion of the issue on the xapian bug tracking system:
> http://www.xapian.org/cgi-bin/bugzilla/show_bug.cgi?id=185

Please keep discussion of this issue in that upstream bug report to help
us track this problem efficiently.

Upstream are (obviously) aware of this, but the underlying issues seem
to be with the interaction between Python and Apache rather than being
anything Xapian-specific (there are other Python modules which have
similar issues under mod_python).

So far nobody has suggested a way to resolve this problem, other than
to workaround suggested in bug#185 (which will be documented in the
next release):

    Set the option "PythonInterpreter main_interpreter" in the apache
    configuration section for all mod_python scripts which use xapian.

> Reverting back to 0.9.9 fixes the problem.

That's probably because 0.9.9 didn't handle the GIL correctly -
reverting that change will cause insidious problems so isn't an option.

Cheers,
    Olly



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to