Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

channels are never closed in Lisp Channel IO #1096

Open
ivg opened this issue May 6, 2020 · 0 comments
Open

channels are never closed in Lisp Channel IO #1096

ivg opened this issue May 6, 2020 · 0 comments
Assignees
Labels

Comments

@ivg
Copy link
Member

ivg commented May 6, 2020

The channel-close primitive just removes the binding but never closes so we eventually run out of available descriptors, especially, when we use the --run-in-isolation option where each job is creating its own set of channels.

Of course, care should be taken when we're closing a channel, so that we do not close our own standard channels, in case if they are not redirected, and propagate errors correctly to the return values (i.e., don't raise OCaml or Lisp exceptions in case of system errors).

@ivg ivg added the bug label Aug 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants