-
-
Notifications
You must be signed in to change notification settings - Fork 495
[FIX] queue_job: job runner open pipe that are never closed properly #754
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
Conversation
Hi @guewen, |
daeff76
to
4dec0b6
Compare
this make a lot of open file descriptors that we got the limit while instentiate jobrunner from queue_job_cron_jobrunner in the current channel implementation OCA#750
4dec0b6
to
48b7005
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review only, LGTM. If this gets forward-ported to 15 or 18, I would be willing to graph file descriptor counts in one of my long running test environments and report back.
@amh-mw Thanks for review
I don't expect you get that mush open fd using queue_job as it. We discover it by using queue_job_cron_jobrunner and this recent PR #750 where a Anyway it's an esay way to mitigate a denial of service attack (assuming attacker is able to execute such code |
This PR has the |
/ocabot merge patch |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at 1840d7c. Thanks a lot for contributing to OCA. ❤️ |
this make a lot of open file descriptors that we got the limit while instentiate jobrunner from queue_job_cron_jobrunner in the current channel implementation #750