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

Using a lot of IpcOneShotServer clutters /tmp with rust-ipc-socket.XXXXXX files #204

Open
mkpankov opened this issue Aug 23, 2018 · 0 comments

Comments

@mkpankov
Copy link

mkpankov commented Aug 23, 2018

I like to put some of one-off work stuff into /tmp to recycle it when I finish working with it, and I get to see 100+ files created by ipc-channel every time. My program uses servers to communicate with each of the subprocesses, of which there are dozens, and these socket files are recreated every time subprocess is recycled.

I'd like to

  • customize the location of the files - so that they don't clutter the /tmp itself (maybe /tmp/rust-ipc-sockets/XXX?)
  • auto-remove them when server finishes - seems logical and on-point with Rust, since ownership of resources is our selling point
@mkpankov mkpankov changed the title Using a lot of IpcOneShotServer clutters /tmp with /tmp/rust-ipc-socket.XXXXXX files Using a lot of IpcOneShotServer clutters /tmp with rust-ipc-socket.XXXXXX files Aug 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant