Re: filters now run by fork/exec
Gertjan Hofman <[email protected]> Fri, 20 Oct 2006 09:29:14 -0700 (PDT)
| Newsgroups | gmane.comp.web.swish-e |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> 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 > [email protected] > > Unsubscribe from or help with the swish-e list: > http://swish-e.org/Discussion/ > > Help with Swish-e: > http://swish-e.org/current/docs > [email protected] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com