Skip to main content.
home | support | download

Back to List Archive

Re: filters now run by fork/exec

From: Gertjan Hofman <gertjan_hofman(at)not-real.yahoo.com>
Date: Fri Oct 20 2006 - 16:30:45 GMT
Bill,

Darn. All is not well.  All my indexes fail after a
while.....here is the only line I get:

  43363X.PDFerr: failed to fork for running
[/usr/bin/pdftotext]: Resource temporarily unavailable

What ? Any clues what this mean. I can run under gdb
but I suspect there is no crash as such.

Gertjan



--- Bill Moseley <moseley@hank.org> wrote:

> I updated filter.c to fork and exec the filter
> program where fork is
> available.  This should take care of all problems
> with weird or
> dangerous characters in file names.
> 
> It would be great if any of you following this topic
> could cvs update
> and try it out.
> 
> I didn't attempt using CreateProcess() on Windows as
> I have no way to
> test.  popen is still used.  All args are wrapped in
> double quotes and
> I'm not sure it's possible to have weird chars in
> Windows paths.
> 
> Dave is testing the windows code.
> 
> My dislike for FileFilter is why I wrote the -S prog
> method many years
> ago. ;)
> 
> -- 
> Bill Moseley
> moseley@hank.org
> 
> Unsubscribe from or help with the swish-e list: 
>    http://swish-e.org/Discussion/
> 
> Help with Swish-e:
>    http://swish-e.org/current/docs
>    swish-e@sunsite.berkeley.edu
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
Received on Fri Oct 20 09:30:55 2006