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] Reloading via systemctl kills carbonapi process #552
Comments
Last time I've used it was about January 2018 I think. Back then it was working, however it is possible that it no longer works in recent versions of Go or in some specific combinations of Go and kernel (library that was used to support that functionality is archives by authors, without any reasons specified). However no one ever complained before but I don't know if that's because no one used it or it's working in most of the cases. I'll try to have a look and at least reproduce it. (but no promise on a timeline though, sorry). |
No worries @Civil - for now I can just use restart upon config changes. I'll try and dig in to this more as time permits too. The kernels I tested on were all in the 4.15.0 branch ( Thanks for the prompt reply! |
* Remove gracehttp as it is no longer supported (repo was archives) and it was reported to be broken (#552) * Force reuseport on listening sockets. That would allow to start multiple carbonapi binaries
* Remove gracehttp as it is no longer supported (repo was archives) and it was reported to be broken (#552) * Force reuseport on listening sockets. That would allow to start multiple carbonapi binaries
As reload feature was removed since the bug was open, I'll reclassify it as "enhancement" as I'm open to re-introduce that back, if there will be a reasonable way to support |
Describe the bug
Upon issuing a
systemctl reload carbonapi.service
, the carbonapi process dies instead of being gracefully restarted.CarbonAPI Version
0.14.1-1 (latest stable Debian package from packagecloud)
Logs
Running
journalctl -u carbonapi.service
after asystemctl reload carbonapi.service
yields the following errors:CarbonAPI Configuration:
Note: I have tried with
pidFile
set to the empty string (""
) as well as having it set to the same pidfile defined in/etc/systemd/system/carbonapi.service
(as suggested in #426), the latter of which is shown below:Simplified query (if applicable)
N/A
Backend metric retention and aggregation schemas
N/A
Backend response (if possible)
N/A
Additional context
Contents of
/etc/systemd/system/carbonapi.service
:Contents of
/etc/default/carbonapi
:If there is no desire to support reloads going forward, I can remove that capability as part of #551.
The text was updated successfully, but these errors were encountered: