On 2014-05-28, Volker Braun <vbraun.n...@gmail.com> wrote: > On Wednesday, May 28, 2014 1:28:58 PM UTC+1, leif wrote: >> >> > Strace the hanging process? >> >> Already did that; the problem is that it's busy waiting (i.e., polling). >> Each time I kill the process it is waiting for [...] > > > So whats that process doing? "strace -ff" and then sort out which > subprocess didn't finish successfully.
There are 3 processes python /usr/local/src/sage/mav/sage/src/doc/common/builder.py --no-pdf-links all html The dtruss (OSX clone of strace) of the main one, with children mentioned in wait4() calls, and the 2 children, also python /usr/local/src/sage/mav/sage/src/doc/common/builder.py --no-pdf-links all html are not doing anything at all is ike this (a snapshot for 30 sec or so, on OSX): the PID is 51814, and there are 2 threads: 0xa6c13 and 0xa6c88: 51814/0xa6c13: select(0x0, 0x0, 0x0, 0x0, 0x7FFF55CFFB30) = 0 0 51814/0xa6c13: gettimeofday(0x7FFF55CFFB30, 0x0, 0x4) = 1401289551 0 51814/0xa6c13: select(0x0, 0x0, 0x0, 0x0, 0x7FFF55CFFB30) = 0 0 51814/0xa6c13: gettimeofday(0x7FFF55CFFB30, 0x0, 0x4) = 1401289551 0 51814/0xa6c88: select(0x0, 0x0, 0x0, 0x0, 0x115E01030) = 0 0 51814/0xa6c88: wait4(0xCADF, 0x115E00420, 0x1) = 0 0 51814/0xa6c88: wait4(0xCADE, 0x115E00420, 0x1) = 0 0 51814/0xa6c13: select(0x0, 0x0, 0x0, 0x0, 0x7FFF55CFFB30) = 0 0 51814/0xa6c13: select(0x0, 0x0, 0x0, 0x0, 0x7FFF55CFFB30) = 0 0 51814/0xa6c88: select(0x0, 0x0, 0x0, 0x0, 0x115E01030) = 0 0 51814/0xa6c88: wait4(0xCADF, 0x115E00420, 0x1) = 0 0 51814/0xa6c88: wait4(0xCADE, 0x115E00420, 0x1) = 0 0 51814/0xa6c13: select(0x0, 0x0, 0x0, 0x0, 0x7FFF55CFFB30) = 0 0 51814/0xa6c13: select(0x0, 0x0, 0x0, 0x0, 0x7FFF55CFFB30) = 0 0 51814/0xa6c13: select(0x0, 0x0, 0x0, 0x0, 0x7FFF55CFFB30) = 0 0 51814/0xa6c13: select(0x0, 0x0, 0x0, 0x0, 0x7FFF55CFFB30) = 0 0 51814/0xa6c13: select(0x0, 0x0, 0x0, 0x0, 0x7FFF55CFFB30) = 0 0 51814/0xa6c88: select(0x0, 0x0, 0x0, 0x0, 0x115E01030) = 0 0 51814/0xa6c88: wait4(0xCADF, 0x115E00420, 0x1) = 0 0 51814/0xa6c88: wait4(0xCADE, 0x115E00420, 0x1) = 0 0 51814/0xa6c13: select(0x0, 0x0, 0x0, 0x0, 0x7FFF55CFFB30) = 0 0 51814/0xa6c13: select(0x0, 0x0, 0x0, 0x0, 0x7FFF55CFFB30) = 0 0 51814/0xa6c13: select(0x0, 0x0, 0x0, 0x0, 0x7FFF55CFFB30) = 0 0 51814/0xa6c13: select(0x0, 0x0, 0x0, 0x0, 0x7FFF55CFFB30) = 0 0 51814/0xa6c88: select(0x0, 0x0, 0x0, 0x0, 0x115E01030) = 0 0 51814/0xa6c88: wait4(0xCADF, 0x115E00420, 0x1) = 0 0 51814/0xa6c88: wait4(0xCADE, 0x115E00420, 0x1) = 0 0 51814/0xa6c13: select(0x0, 0x0, 0x0, 0x0, 0x7FFF55CFFB30) = 0 0 51814/0xa6c13: select(0x0, 0x0, 0x0, 0x0, 0x7FFF55CFFB30) = 0 0 51814/0xa6c88: select(0x0, 0x0, 0x0, 0x0, 0x115E01030) = 0 0 51814/0xa6c88: wait4(0xCADF, 0x115E00420, 0x1) = 0 0 51814/0xa6c88: wait4(0xCADE, 0x115E00420, 0x1) = 0 0 etc etc with occasional bursts of: ......... 51814/0xa6c13: psynch_mutexdrop(0x7FEBDA0610C8, 0xFF13003, 0xFF12F00) = 0 0 51814/0xa6c13: psynch_cvsignal(0x7FEBDA061098, 0xE6600000E6700, 0xE6600) = 257 0 51814/0xa6c13: psynch_cvsignal(0x7FEBDA061098, 0xE6700000E6800, 0xE6700) = 257 0 51814/0xa6c13: select(0x0, 0x0, 0x0, 0x0, 0x7FFF55CFFB30) = 0 0 51814/0xa6c13: psynch_mutexdrop(0x7FEBDA0610C8, 0xFF14203, 0xFF14100) = 0 0 51814/0xa6c13: psynch_cvsignal(0x7FEBDA061098, 0xE6800000E6900, 0xE6800) = 257 0 51814/0xa6c13: select(0x0, 0x0, 0x0, 0x0, 0x7FFF55CFFB30) = 0 0 51814/0xa6c13: psynch_mutexdrop(0x7FEBDA0610C8, 0xFF15303, 0xFF15200) = 0 0 51814/0xa6c13: psynch_cvsignal(0x7FEBDA061098, 0xE6900000E6A00, 0xE6900) = 257 0 51814/0xa6c13: select(0x0, 0x0, 0x0, 0x0, 0x7FFF55CFFB30) = 0 0 51814/0xa6c13: psynch_mutexdrop(0x7FEBDA0610C8, 0xFF16403, 0xFF16300) = 0 0 51814/0xa6c13: psynch_cvsignal(0x7FEBDA061098, 0xE6A00000E6B00, 0xE6A00) = 257 0 51814/0xa6c88: select(0x0, 0x0, 0x0, 0x0, 0x115E01030) = 0 0 51814/0xa6c88: psynch_mutexwait(0x7FEBDA0610C8, 0xFF17503, 0xFF17300) = 267482371 0 51814/0xa6c88: psynch_cvwait(0x7FEBDA061098, 0xE6B01000E6C00, 0xE6B00) = 0 0 ....... (appears to me like some multithreading stuff going on...) HTH, Dima -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.