I think so too (in both places versions) On Tue, Sep 5, 2017 at 6:50 AM, Jon Zeppieri <[email protected]> wrote: > On Tue, Sep 5, 2017 at 1:38 AM, dbohdan <[email protected]> wrote: >> >> I've run the default benchmark with the new application, which I've dubbed >> "racket-custom". (Actually, I had to make a tweak to the benchmark to >> accommodate the number of requests it was fulfilling. It made ApacheBench >> overstep its memory quota and get killed.) When started with the "places" or >> the "many-places" command line argument on Linux, racket-custom quickly runs >> out of file descriptors. It opens one per request and apparently doesn't >> close them. > > In this code: > > (let loop () > (define-values (r w) (tcp-accept l)) > (place-channel-put jobs-ch-to (cons r w)) > (loop))) > > after sending the ports to the place and before looping, I think the > ports need to be abandoned: > > (tcp-abandon-port r) > (tcp-abandon-port w) > > - Jon > > -- > 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.
-- -=[ Jay McCarthy http://jeapostrophe.github.io ]=- -=[ Associate Professor PLT @ CS @ UMass Lowell ]=- -=[ Moses 1:33: And worlds without number have I created; ]=- -- 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.

