01.11.2013, 22:02, "Patrick Stein" <p...@nklein.com>:
> I'm recompiling JWACS now. I've currently got:
>
> UID PID TTY TIME CMD
>
> 502 4847 ttys001 5:31.30 ecl -norc -eval (require :cmp) -load /Users/cltestgrid/.quicklisp/setup.lisp -eval (ql:quickload :jwacs) -eval (quit)
>
> 502 5410 ttys001 0:00.01 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -I. -I/usr/local/include/ -g -O2 -fPIC -fno-common -g -O2 -fPIC -fno-common -D_THREAD_SAFE -Ddarwin -O2 -c /Users/cltestgrid/.cache/common-lisp/ecl-13.5.1-44c86e08-macosx-x86/Users/cltestgrid/.quicklisp/dists/quicklisp/software/jwacs-20130312-darcs/parse-javascript.c -o /Users/cltestgrid/.cache/common-lisp/ecl-13.5.1-44c86e08-macosx-x86/Users/cltestgrid/.quicklisp/dists/quicklisp/software/jwacs-20130312-darcs/parse-javascript.o
>
> 502 5413 ttys001 20:54.17 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -cc1 -triple x86_64-apple-macosx10.9.0 -emit-obj -disable-free -disable-llvm-verifier -main-file-name parse-javascript.c -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 224.1 -g -coverage-file /Users/cltestgrid/.cache/common-lisp/ecl-13.5.1-44c86e08-macosx-x86/Users/cltestgrid/.quicklisp/dists/quicklisp/software/jwacs-20130312-darcs/parse-javascript.o -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.0 -D _THREAD_SAFE -D darwin -I . -I /usr/local/include/ -O2 -fdebug-compilation-dir /Users/cltestgrid/cl-test-grid -ferror-limit 19 -fmessage-length 80 -stack-protector 1 -mstackrealign -fblocks -fobjc-runtime=macosx-10.9.0 -fobjc-dispatch-method=mixed -fobjc-default-synthesize-properties -fencode-extended-block-signature -fno-common -fdiagnostics-show-option -fcolor-diagnostics -o /Users/cltestgrid/.cache/common-lisp/ecl-13.5.1-44c86e08-macosx-x86/Users/cltestgrid/.quicklisp/dists/quicklisp/software/jwacs-20130312-darcs/parse-javascript.o -x c /Users/cltestgrid/.cache/common-lisp/ecl-13.5.1-44c86e08-macosx-x86/Users/cltestgrid/.quicklisp/dists/quicklisp/software/jwacs-20130312-darcs/parse-javascript.c
>
> So, the ECL process has taken up 5 1/2 minutes and there is a clang process that has taken up 21 minutes.
So, it total, the jwacs recompilation by
ecl -norc -eval (require :cmp) -load ~/.quicklisp/setup.lisp -eval (ql:quickload :jwacs) -eval (quit)
takes more than 25 minutes?
Could you try leaving the jwacs recompilation with clang until it finishes completely?
> I suspect that what might have happened was the cltestgrid tried to kill ecl and managed
> to kill the clang process and didn't manage to the ecl process which then started eating CPU time.
Here you mean the situation from your initial message,
where there is only ECL process, rith?
cl-test-grid kills only it's direct child - ECL.
Killing process tree (including clang spawned by ECL)
is only implemented for windows. That's why feel confused,
that ECL process remained in the system.
Best regards,
- Anton
Compiling jwacs took 68 minutes for me:
real 68m9.271s
user 58m58.793s
sys 2m40.499s
I've attached my agent logs. I am about to try running the cl-6502 tests again, but I am skeptical. It has resulted in a zombie ECL process each time I've tried to kill it before and not long after I tried to kill it, other apps started to freeze up until I did a hard reboot.
ttyl,
Patrick