Hi,

I was playing around with places and decided to try to spawn 200 places.

#lang racket


(define (kaboom)

  (define null-port (open-output-nowhere))

  (define ps
    (for/list ([i (in-range 200)])
      (define-values (p _1 _2 _3)
        (place* #:in #f
                #:out null-port
                #:err null-port
                pch

                (sleep 10)))
      p))

  (for ([p ps])
    (place-wait p)))



To my surprise this happened:
dynamic-place: stderr pipe failed
  system error: Too many open files; errno=24


I am actually surprised that I get an error based on dynamic-place
instead of place*. But even more surprised that given I only open one
open (the null) port for stdout and stderr I still get the system error.

Is there anything I can do to avoid this? Which files are actually being
created? And 200 is not a very large number...

-- 
Paulo Matos

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to