Repository navigation
Fixes #30730 - Implement systemd notify support for dynflow-sidekiq - #7937
Conversation
|
Issues: #30730 |
There was a problem hiding this comment.
On my machine (4cpus, 16gb of ram) the service failed to start in time. Foreman service uses 300 so I set it here as well.
ekohl
left a comment
There was a problem hiding this comment.
Overall 👍 for the general design.
I am wondering if there's a useful status message we can share. Is it useful to share the queues it's handling? Whether it's remote? Most services don't imlpement this, but Apache shows Total requests: 0; Current requests/sec: 0; Current traffic: 0 B/sec when you run systemctl status apache.
Could you also submit the RPM packaging PR?
Having it display the throughput/stats would be nice, however I'm afraid we'd have to implement this change in Dynflow or somehow hook onto sidekiq's internals. Let me think on this over the weekend if I can come up with something that would be useful
Could be to some users. However we'd have to do this sensibly since there is no limitation placed on the number of queues being handled by a single process.
What do you mean by this?
On my todo list. |
Perhaps if it's more than x (3?) then you can print
Essentially the value of |
In production setups the orchestrator should have it false and workers true. Not sure if that's interesting to anyone |
|
Probably not. And perhaps all of these things should rather be logged during start up and that's sufficient. I certainly don't want to force you to implement the status. Just make you think about the use case. |
da735b1 to
91dabb5
Compare
ekohl
left a comment
There was a problem hiding this comment.
👍 code wise pending packaging merge. My only concern is that we should somehow note that sidekiq 6 has native support for systemd. If we upgrade, we should be sure to use that. Thoughts on how to do so?
|
Sidekiq seems to implement |
|
I just noticed you created a new issue rather than reusing mine. Left a note @ https://projects.theforeman.org/issues/30275#note-4 and related both issues. I think that should be sufficient. |
|
Packaging of the gem has been merged. A follow up PR will be needed to update Foreman requirements on the gem and then we can orchestrate merging this. |
|
Merging. Automated tools work better after it's merged. |
No description provided.