Re: [racket-users] places opens too many files

2018-03-16 Thread 'Paulo Matos' via Racket Users
On 16/03/18 13:52, Matthew Flatt wrote: >> But even more surprised that given I only open one >> open (the null) port for stdout and stderr I still get the system error. > > There's no avoiding an OS-level file descriptor for each of stdin, > stdout, and stderr. Even if you supply an existing

Re: [racket-users] places opens too many files

2018-03-16 Thread Matthew Flatt
At Fri, 16 Mar 2018 13:30:07 +0100, "'Paulo Matos' via Racket Users" wrote: > I was playing around with places and decided to try to spawn 200 places. > [...] > Is there anything I can do to avoid this? Which files are actually being > created? And 200 is not a very large number... This is a

[racket-users] places opens too many files

2018-03-16 Thread 'Paulo Matos' via Racket Users
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