Jocelyn,
I have not looked in detail at your problem, but I wonder if you
are using a version of Poplog which includes John Williams'
run_unix_program library. The help file in older versions was
not complete, as you can tell from looking at the program itself.
I think there was also a bug in which '/' occurred instead of `/`
in one of the tests.
It may be that the extra flexibility of run_unix_program compared with
pipeout will give you what you need. Perhaps not.
It looks as if your problem is some program waiting for a child to
finish, and it waits for the wrong child.
> However, Apache is still hanging on. For some reason,
> the CGI process is shown as <defunct>, rather than not there.
> 13734 ? Z 0:00 <defunct> (CGI script)
That's typical of a zombie - a completed child process whose parent has
not yet 'waited' for it. Something in your code may be waiting for the
wrong thing.
See REF syswait (Pre Poplog V15) and sys_wait (Poplog >= V15).
Aaron
|