-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
[BUG] zmq.error.ZMQError: Too many open files #61837
Comments
This looks the same as #61521 |
Not doing anything exciting to cause a problem. I've got over a hundred Linux hosts, some doing more complicated stuff and have not seen this problem, it's just the two boxes i've got on OpenBSD, and they are just doing pretty simple stuff - pretty much writing a bunch of files. |
What's your max files? I'm expecting something small - there's a little more information https://docs.saltproject.io/en/latest/ref/configuration/master.html#master-large-scale-tuning-settings |
@waynew Hi! - that appears to be a master only setting. I can't find a max_open_files on the minion. |
What about the OS level? |
Is that high or low? - what would you recommend? |
That seems reasonable. If you bump that up, like say, double it - do you still see the same issue? (it sounds like it might be a bug that's not releasing the filehandles, though) What is the kern.maxfilesperproc? https://unix.stackexchange.com/a/104945 |
Will try and report back! There doesn't seem to be a kern.maxfilesperproc in OpenBSD.
Ian |
I'm hitting this with 3006.1 on a proxy minion host on AlmaLinux 8. Everything works fine at first, but over time I'm unable to perform a
|
@ichilton The 'Too many open files' issue was addressed in the Salt 3006.3 release, can you try the latest and if that resolves the issue, please consider closing this issue. Here are the PR's for that attempted fix for majority of the 'too many open files', see #65508, #65061, #65247 and #65559 which will help to identify places that may have been missed and what is causing them. |
@ichilton A number of changes have been made to deal with "too many open files" issues in earlier version of 3006.x. You should retry with Salt 3006.8 or similar. Closing this since fixed in current versions of Salt, and also due to Salt Project no longer officially supporting BSD systems, loss of @krionbsd , and additional personal after the buyout, don't have the bandwidth currently. |
Description
Running salt minion on OpenBSD. It works fine for a bit, then stops and requires a restart.
Shows this in the logs:
Setup
(Please provide relevant configs and/or SLS files (be sure to remove sensitive info. There is no general set-up of Salt.)
Please be as specific as possible and give set-up details.
Steps to Reproduce the behavior
Just generally using salt minion and it'll stop working.
Expected behavior
It to be stable :)
Versions Report
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: