According to Jost Diederrichs:
> I am having some trouble with this version:
> Running on Redhat 7, gcc-2.96, glibc-2.1.94 and on another with glibc-2.2:
> I made an alias on my webserver pointing to /usr/share/doc/ and included
> that as start url in my htdig.conf.
> Htdig never stops, apparently indexing the same pages over and over. One
> possible clue may be that htdig leaves behind about 10 defunct conv_doc.pl
> processes after running for about 10 hours (at which time I stopped it).

Yes, I was up until midnight last night tweaking the new code to better
support the new fork/exec calls for external parsers, and two things
dawned on me this morning:

1) There was no call to wait() to harvest the dead processes, so this will
end up consuming all process table entries.

2) The new code breaks the old feature that you could provide command line
options to your external parser/converter within the command string in the
external_parsers definition.  Now it just gives that whole string as the
first two arguments to execl(), so it must be just the name of the executable
and nothing else.  This too should be fixed, I think.

I also have some concerns about how well the whole fork/exec thing will
port to Cygwin.  Can anyone fill me in on this?  Do they emulate fork/exec
with a vfork-like scheme, or is it simply unimplemented.  If they emulate
it, can we do the file descriptor manipulations safely in the child fork
before the exec?  How does Cygwin implement popen() normally anyway?

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] 
You will receive a message to confirm this. 


Reply via email to