One of the people using Haystack (patrys on IRC) has done some
extensive debugging with Whoosh after encountering the locking/missing
index file errors. The outcome of this is that there are some big
threading issues with Whoosh and it's use in Haystack. This occurs in
several environments (prefork for patrys, wsgi for me). I'm looking
into an alternate way to run Whoosh (as a daemon instead of in-
process) and will update everyone as I make progress one way or
another.
On 6 Maj, 17:07, Daniel Lindsley <polarc...@gmail.com> wrote:
> The outcome of this is that there are some big
> threading issues with Whoosh and it's use in Haystack. This occurs in
> several environments (prefork for patrys, wsgi for me).
Actually it works nicely with threading but breaks when preforking. If
you use:
manage.py runfcgi ...
to start your applications, make sure you make it threaded: