[Cook] Running with parallel

Jody Hagins jody at atdesk.com
Fri Jun 6 10:20:45 EST 2003


I could use some help with parallel -- it keeps hanging...


I have a fairly simple Howto.cook file, but when cooking with -parallel,
the cook process hangs.  I am very new to cook, so my debugging isn't
fantastic.  However, I have bracketed all commands with 

  echo "Line: " [__LINE__] ", thread: " [thread-id] set silent;

both before and after the command.  It looks like two particular threads
execute a simple command:

  gzip -c [younger] > [target];

but the cook just hangs.  The file is *very* small.


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



shandalle:jody> strace -p 7543
read(0, 


And that is it for that one.  It is waiting on input on STDIN.

Once I then try to strace the cook process, the child aborts, and cook
then quits (but does not finish processing).


I installed the RPM from the Cook webpage:

shandalle:jody> sum cook-2.23-1.i386.rpm
11000   592


Here is my system info.


shandalle:jody> cat /etc/redhat-release 
Red Hat Linux release 7.3 (Valhalla)
shandalle:jody> uname -a
Linux shandalle.atdesk.com 2.4.18-18.7.xsmp #1 SMP Wed Nov 13 19:01:42
EST 2002 i686 unknown
shandalle:jody> cat /etc/cpuinfo
cat: /etc/cpuinfo: No such file or directory
shandalle:jody> cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Xeon(TM) CPU 2.00GHz
stepping        : 7
cpu MHz         : 1999.528
cache size      : 512 KB
Physical processor ID   : 824980274
Number of siblings      : 1
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
bogomips        : 3970.35

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Xeon(TM) CPU 2.00GHz
stepping        : 7
cpu MHz         : 1999.528
cache size      : 512 KB
Physical processor ID   : 976236593
Number of siblings      : 1
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
bogomips        : 3995.65



Thanks!!!


-- 
Jody Hagins

Write yourself a threatening letter and pen a defiant reply.



More information about the Cook-users mailing list