Skip to main content.
home | support | download

Back to List Archive

Re: [BUG] swish-e 2.0.5 hangs on 200 Kb index file

From: Bill Moseley <moseley(at)>
Date: Fri Apr 12 2002 - 05:37:17 GMT
At 10:12 PM 04/11/02 -0700, Colin Kuskie wrote:
>For the last several weeks, I've noticed several hung swish-e processes
>which I've had to manually kill.  I tried submitting the search on
>the command line, and was surprised to see that it hung:

Once you get 2.1-dev working you won't care about this bug! ;)

>/usr/local/bin/swish-e -w bible -m 0 -f ./index
>It seems that all searches hang indefinitely.  The process never goes to
>sleep, consuming 100% of the CPU for as long as 15 minutes (when I get
>impatient and kill the process).

One thing that I do in my search scripts is to use a SIGALRM to limit the
time swish can run.  Just a safety measure in case someone floods a search
form with requests.

Bill Moseley
Received on Fri Apr 12 05:38:41 2002