[Xapian-tickets] [Xapian] #185: Deadlocks with apache mod_python and mod_wsgi
Xapian
nobody at xapian.org
Sat Jul 19 04:00:53 BST 2008
#185: Deadlocks with apache mod_python and mod_wsgi
-----------------------------+----------------------------------------------
Reporter: richard | Owner: richard
Type: defect | Status: assigned
Priority: normal | Milestone:
Component: Xapian-bindings | Version: SVN HEAD
Severity: normal | Resolution:
Keywords: | Blockedby:
Platform: All | Blocking:
-----------------------------+----------------------------------------------
Comment(by grahamd):
Sorry, what is said about mod_python is I believe still wrong.
The MODPYTHON-217 is not saying only Python 2.3 is the problem, it relates
to new Python APIs introduced in Python 2.3. Those APIs still exist and
act the same. Thus it doesn't matter which version of Python is used at
this point. Thus saying that Python 2.4 or later may help is I believe
wrong. The code in mod_python needs to be fixed.
FWIW, I have a patched version of mod_python which fixes the problem so at
least main interpreter can be used, but am trying to sort out issues
around trying to load that modified version at same time as mod_wsgi.
Problem is that mod_python did things with threads wrongly and mod_wsgi
had some fiddles in it to cope with that. Now that mod_python code has
been fixed, mod_wsgi fails becauses its fiddles no longer apply. Trying to
work out best thing to do. Maybe case that if want to use modified
mod_python with mod_wsgi, may have to just use mod_wsgi 2.2 or later, and
will make a change in mod_wsgi 2.2 to allow it to also work with that
modified mod_python.
--
Ticket URL: <http://trac.xapian.org/ticket/185#comment:27>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list