[Cook] Running with parallel

Jody Hagins jody at atdesk.com
Fri Jun 6 13:57:33 EST 2003


On Thu, 5 Jun 2003 20:20:45 -0400
Jody Hagins <jody at atdesk.com> wrote:

> 
> It looks like some internal "tee" process is hanging...
> 
> shandalle:jody> ps axe | grep cook
>  5452 ?        S      0:02 gvim Howto.cook _=/usr/bin/X11/gvim
> SSH_CONNECTION=17
>  7542 pts/30   S      0:00 cook -parallel _=/usr/bin/cook
> SSH_CONNECTION=172.30.
>  7543 pts/30   S      0:00 tee Howto.list _=/usr/bin/cook
> SSH_CONNECTION=172.30.
>  7586 pts/27   S      0:00 grep cook _=/bin/grep PAGER=less
> GDM_LANG=en_US.iso88


I did some more looking, and found that "tee" is used to redirect
logging to stdout as well as the Howto.list file.  So, I naturally tried
to run it in parallel without the listing.  Unfortunately, the cook
ended early (instead of hanging).  Note that in this case, none of the
final targets were even attempted (though sometimes some subset of the
final targets are created).  Apparantly, it is trying to wait, but no
processes have been spawned (though there are 4 threads of execution
which are terminated when wait() fails.


shandalle:jody> cook -No_List -parallel
Line: 157 , thread: 1
cook: touch /tmp/MMMM.19650107 /tmp/IIII.19650107 /tmp/CCCC.19650107
        /tmp/JJJJ.19650107 /tmp/SSSS.19650107
Line: 159 , thread: 1
Line: 134 , thread: 1
cook: gzip -c /tmp/MMMM.19650107 > /tmp/MMMM.19650107.gz
Line: 134 , thread: 2
cook: gzip -c /tmp/IIII.19650107 > /tmp/IIII.19650107.gz
Line: 134 , thread: 3
cook: gzip -c /tmp/CCCC.19650107 > /tmp/CCCC.19650107.gz
Line: 134 , thread: 4
cook: gzip -c /tmp/JJJJ.19650107 > /tmp/JJJJ.19650107.gz
Line: 136 , thread: 3
Line: 134 , thread: 3
cook: gzip -c /tmp/SSSS.19650107 > /tmp/SSSS.19650107.gz
Line: 136 , thread: 3
cook: wait(): No child processes



-- 
Jody Hagins

Overflow on /dev/null, please empty the bit bucket.



More information about the Cook-users mailing list