Re: [racket-dev] parallel raco setup failing on Linux machine?

2010-09-01 Thread John Clements

On Sep 1, 2010, at 1:55 PM, John Clements wrote:

> I'm trying to run 'make install' on a Linux VPS, and it's halting -- at 
> different points -- with errors that look like this:
> 
> ...
> raco setup: made: framework
> raco setup: made: browser/private
> raco setup: made: framework/private
> raco setup: made: games
> raco setup: made: graphics
> raco setup: made: graphics/scribblings
> raco setup: made: frtime (FrTime)
> raco setup: made: gui-debugger
> match: no matching clause for (list (list (cc '(#) 
> # "frtime (FrTime)" 
> # # 
> # '((lib 
> "frtime") 1 0)) "scribblings...
> 
> === context ===
> /home/clements/plt/collects/racket/match/runtime.rkt:19:0: match:error
> /home/clements/plt/collects/setup/parallel-do.rkt:102:69
> /home/clements/plt/collects/setup/setup-unit.rkt:601:17: thunk
> 
> make[1]: *** [install-3m] Error 1
> make[1]: Leaving directory `/home/clements/plt/src/build'
> make: *** [install] Error 2
> ESC]0;cleme...@li21-127: ~/plt/src/build^gcleme...@li21-127:~/plt/src/build$ 
> 
> FWIW, this is today's commit 
> 
> 4c35af2eef7fe95efe89a465e221443b1b653702
> 
> .

More info: the system log suggests that this is what happens when a process is 
killed for running out of memory (thanks, logcheck!). I'm guessing that the 
parallel build could observe and report this more transparently.

John

Here's the log, FWIW:

This email is sent by logcheck. If you no longer wish to receive
such mails, you can either deinstall the logcheck package or modify
its configuration file (/etc/logcheck/logcheck.conf).

System Events
=-=-=-=-=-=-=
Sep  1 16:41:58 li21-127 kernel: oom-killer: gfp_mask=0x201d2, order=0
Sep  1 16:41:58 li21-127 kernel:  [] out_of_memory+0x1c9/0x200
Sep  1 16:41:58 li21-127 kernel:  [] __alloc_pages+0x28f/0x310
Sep  1 16:41:58 li21-127 kernel:  [] 
__do_page_cache_readahead+0x139/0x2f0
Sep  1 16:41:58 li21-127 kernel:  [] __delayacct_blkio_end+0x2d/0x60
Sep  1 16:41:58 li21-127 kernel:  [] __wait_on_bit_lock+0x5b/0x70
Sep  1 16:41:58 li21-127 kernel:  [] sync_page+0x0/0x60
Sep  1 16:41:58 li21-127 kernel:  [] __lock_page+0x7e/0x90
Sep  1 16:41:58 li21-127 kernel:  [] filemap_nopage+0x2f2/0x3f0
Sep  1 16:41:58 li21-127 kernel:  [] __handle_mm_fault+0x1d4/0x18a0
Sep  1 16:41:58 li21-127 kernel:  [] mempool_free+0x77/0x90
Sep  1 16:41:58 li21-127 kernel:  [] elv_next_request+0x12a/0x210
Sep  1 16:41:58 li21-127 kernel:  [] bio_endio+0x40/0x80
Sep  1 16:41:58 li21-127 kernel:  [] do_blkif_request+0x29/0x3c0
Sep  1 16:41:58 li21-127 kernel:  [] mempool_free+0x77/0x90
Sep  1 16:41:58 li21-127 kernel:  [] blk_start_queue+0x6d/0xb0
Sep  1 16:41:58 li21-127 kernel:  [] blkif_int+0x198/0x230
Sep  1 16:41:58 li21-127 kernel:  [] do_page_fault+0x797/0xbb8
Sep  1 16:41:58 li21-127 kernel:  [] do_page_fault+0x0/0xbb8
Sep  1 16:41:58 li21-127 kernel:  [] error_code+0x2b/0x30
Sep  1 16:41:58 li21-127 kernel: Mem-info:
Sep  1 16:41:58 li21-127 kernel: DMA per-cpu:
Sep  1 16:41:58 li21-127 kernel: cpu 0 hot: high 0, batch 1 used:0
Sep  1 16:41:58 li21-127 kernel: cpu 0 cold: high 0, batch 1 used:0
Sep  1 16:41:58 li21-127 kernel: cpu 1 hot: high 0, batch 1 used:0
Sep  1 16:41:58 li21-127 kernel: cpu 1 cold: high 0, batch 1 used:0
Sep  1 16:41:58 li21-127 kernel: cpu 2 hot: high 0, batch 1 used:0
Sep  1 16:41:58 li21-127 kernel: cpu 2 cold: high 0, batch 1 used:0
Sep  1 16:41:58 li21-127 kernel: cpu 3 hot: high 0, batch 1 used:0
Sep  1 16:41:58 li21-127 kernel: cpu 3 cold: high 0, batch 1 used:0
Sep  1 16:41:58 li21-127 kernel: DMA32 per-cpu: empty
Sep  1 16:41:58 li21-127 kernel: Normal per-cpu:
Sep  1 16:41:58 li21-127 kernel: cpu 0 hot: high 186, batch 31 used:28
Sep  1 16:41:58 li21-127 kernel: cpu 0 cold: high 62, batch 15 used:51
Sep  1 16:41:58 li21-127 kernel: cpu 1 hot: high 186, batch 31 used:109
Sep  1 16:41:58 li21-127 kernel: cpu 1 cold: high 62, batch 15 used:60
Sep  1 16:41:58 li21-127 kernel: cpu 2 hot: high 186, batch 31 used:16
Sep  1 16:41:58 li21-127 kernel: cpu 2 cold: high 62, batch 15 used:45
Sep  1 16:41:58 li21-127 kernel: cpu 3 hot: high 186, batch 31 used:178
Sep  1 16:41:58 li21-127 kernel: cpu 3 cold: high 62, batch 15 used:34
Sep  1 16:41:58 li21-127 kernel: HighMem per-cpu: empty
Sep  1 16:41:58 li21-127 kernel: Free pages:4908kB (0kB HighMem)
Sep  1 16:41:58 li21-127 kernel: Active:60124 inactive:60041 dirty:0 
writeback:0 unstable:0 free:1227 slab:3459 mapped:17 pagetables:902
Sep  1 16:41:58 li21-127 kernel: DMA free:2104kB min:88kB low:108kB high:132kB 
active:3612kB inactive:3500kB present:16384kB pages_scanned:11649 
all_unreclaimable? yes
Sep  1 16:41:58 li21-127 kernel: lowmem_reserve[]: 0 0 504 504
Sep  1 16:41:58 li21-127 kernel: DMA32 free:0kB min:0kB low:0kB high:0kB 
active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
Sep  1 16:41:58 li21-127 kernel: lowmem_reserve[]: 0 0 504 504
Sep  1 16:41:58 li21-127 kernel: Normal free:2804kB min:2824kB low:3528kB 
high:4236kB active:236884kB inactive:236664kB present:516096kB 
pages_s

Re: [racket-dev] parallel raco setup failing on Linux machine?

2010-09-01 Thread Robby Findler
You might try running with "-j 1". That goes back to the old, non-parallel code.

Robby

On Wed, Sep 1, 2010 at 3:55 PM, John Clements  wrote:
> I'm trying to run 'make install' on a Linux VPS, and it's halting -- at 
> different points -- with errors that look like this:
>
> ...
> raco setup: made: framework
> raco setup: made: browser/private
> raco setup: made: framework/private
> raco setup: made: games
> raco setup: made: graphics
> raco setup: made: graphics/scribblings
> raco setup: made: frtime (FrTime)
> raco setup: made: gui-debugger
> match: no matching clause for (list (list (cc '(#) 
> # "frtime (FrTime)" 
> # # 
> # '((lib 
> "frtime") 1 0)) "scribblings...
>
>  === context ===
> /home/clements/plt/collects/racket/match/runtime.rkt:19:0: match:error
> /home/clements/plt/collects/setup/parallel-do.rkt:102:69
> /home/clements/plt/collects/setup/setup-unit.rkt:601:17: thunk
>
> make[1]: *** [install-3m] Error 1
> make[1]: Leaving directory `/home/clements/plt/src/build'
> make: *** [install] Error 2
> ESC]0;cleme...@li21-127: ~/plt/src/build^gcleme...@li21-127:~/plt/src/build$
>
> FWIW, this is today's commit
>
> 4c35af2eef7fe95efe89a465e221443b1b653702
>
> .
>
> I haven't taken a look at the source code, for setup, yet.
>
> Any suggestions?
>
> John
> _
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/dev
>
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev

[racket-dev] parallel raco setup failing on Linux machine?

2010-09-01 Thread John Clements
I'm trying to run 'make install' on a Linux VPS, and it's halting -- at 
different points -- with errors that look like this:

...
raco setup: made: framework
raco setup: made: browser/private
raco setup: made: framework/private
raco setup: made: games
raco setup: made: graphics
raco setup: made: graphics/scribblings
raco setup: made: frtime (FrTime)
raco setup: made: gui-debugger
match: no matching clause for (list (list (cc '(#) 
# "frtime (FrTime)" # 
# 
# '((lib 
"frtime") 1 0)) "scribblings...

 === context ===
/home/clements/plt/collects/racket/match/runtime.rkt:19:0: match:error
/home/clements/plt/collects/setup/parallel-do.rkt:102:69
/home/clements/plt/collects/setup/setup-unit.rkt:601:17: thunk

make[1]: *** [install-3m] Error 1
make[1]: Leaving directory `/home/clements/plt/src/build'
make: *** [install] Error 2
ESC]0;cleme...@li21-127: ~/plt/src/build^gcleme...@li21-127:~/plt/src/build$ 

FWIW, this is today's commit 

4c35af2eef7fe95efe89a465e221443b1b653702

.

I haven't taken a look at the source code, for setup, yet.

Any suggestions?

John

smime.p7s
Description: S/MIME cryptographic signature
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev