-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
ZeroMQ 4.3.3 Unix Sockets Fill Temp Folder, Prevent Login (Windows) #4086
Comments
agoeckner
changed the title
ZeroMQ 4.3.3 IPC Sockets Fill Temp Folder, Prevent Login
ZeroMQ 4.3.3 Unix Sockets Fill Temp Folder, Prevent Login
Nov 17, 2020
agoeckner
changed the title
ZeroMQ 4.3.3 Unix Sockets Fill Temp Folder, Prevent Login
ZeroMQ 4.3.3 Unix Sockets Fill Temp Folder, Prevent Login (Windows)
Nov 17, 2020
Are you saying Windows doesn't clean the temp folders automatically? That's kinda the point of /tmp... |
Apparently not, or at least not quickly enough. However, this is definitely a ZMQ issue. It was creating hundreds to thousands of "socket" files per second. |
Same issue for me. Temp files are not automatically deleted on Windows. |
zedalaye
pushed a commit
to zedalaye/libzmq
that referenced
this issue
Jan 4, 2021
Avoid filling Temp directory with temporary files.
zedalaye
pushed a commit
to zedalaye/libzmq
that referenced
this issue
Jan 4, 2021
Avoid filling Temp directory with temporary files.
bluca
added a commit
that referenced
this issue
Jan 4, 2021
Cleanup socket FD after pair is established. Fix #4086
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue description
The temp directory,
%LOCALAPPDATA%\Temp
, is rapidly filled with folders containing a single "socket" file. These files are not deleted even after the ZeroMQ context is closed, causing the temp folder to fill. We believe that these are IPC sockets used for ZMQ internal communication.Running for a long period of time (>30 minutes or so) produces so many files in the temp folder that after logging out or restarting the computer, the user will no longer be able to log in until the Temp folder has been cleared. (Windows hangs at the "Welcome" screen.) This issue knocked out 5+ development machines before it was discovered.
@sigiesec may be able to shed more light on this issue, since he appears to have worked the initial Unix sockets support for Windows.
Environment
Minimal test code / Steps to reproduce the issue
%LOCALAPPDATA%\Temp
folder usage for appearance of hexadecimal-named folders containing a "socket" file.The text was updated successfully, but these errors were encountered: