influxdb icon indicating copy to clipboard operation
influxdb copied to clipboard

Support reloading the configuration file with SIGHUP

Open jsternberg opened this issue 8 years ago • 33 comments

Feature Request

Support the standard reloading of a configuration file with SIGHUP for anything that would be reasonable.

Proposal: Support reloading the configuration file with SIGHUP.

Current behavior: You must restart InfluxDB to load new configuration options.

Desired behavior: Configuration values that are easy to change (such as log levels or query limits) without requiring a potentially long restart.

Use case: It allows a DevOps person to be able to update certain settings when tuning the database without downtime.

jsternberg avatar Jul 19 '16 19:07 jsternberg

Relates to https://github.com/influxdata/telegraf/issues/69

candlerb avatar Sep 01 '17 18:09 candlerb

Relates to influxdata/telegraf#69

You missunderstand him. He not wanted to reload the telegraf instead of the database influxdb. this is a feature we need too. I always have to restart the complete influxdb service and this ends up with some downtimes of the influxdb. Or does this exists already? I didn´t found something in the docs.

Darkentik avatar Nov 15 '18 12:11 Darkentik

By "relates" I meant "similar feature requested in a different component of the TICK stack"

candlerb avatar Nov 15 '18 13:11 candlerb

I need this feature too because I'm using letsencrypt to generate influxdb certificates and a reload configuration could be used to load the new certificate, avoiding database downtime.

galindro avatar Dec 13 '18 23:12 galindro

I'm bewildered how this still hasn't been implemented. Is there a different way for online configuration change?

Genda1ph avatar Jun 14 '19 01:06 Genda1ph

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 12 '19 02:09 stale[bot]

Not having any activity doesn't mean it's not important.

Genda1ph avatar Sep 12 '19 09:09 Genda1ph

This is a feature i expect in an production-ready application!

phgogo avatar Oct 04 '19 09:10 phgogo

Putting a vote in for this as well.

m82labs avatar Oct 25 '19 15:10 m82labs

We would definitely like to see this implemented also. With production cluster nodes taking as long as 4 hours to complete a restart due to the volume of data we hold, this would avoid many problems.

ruairinewman avatar Oct 25 '19 18:10 ruairinewman

We would definitely like to see this implemented also. With production cluster nodes taking as long as 4 hours to complete a restart due to the volume of data we hold, this would avoid many problems.

Just curious, but how much data do you have? I have about 1TB and a service restart takes about 5 minutes. Interested to know when I might get to 4 hour territory.

m82labs avatar Oct 25 '19 18:10 m82labs

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jan 24 '20 02:01 stale[bot]

bump

Genda1ph avatar Jan 24 '20 02:01 Genda1ph

Bumping again because it seems incredible that I can't update configuration without downtime.

lhanson avatar Feb 25 '20 01:02 lhanson

any response from maintainers?

foobar avatar Mar 17 '20 10:03 foobar

bump

fdgod09 avatar Apr 06 '20 14:04 fdgod09

bumping! this is a must-have feature

anandpathak avatar Apr 23 '20 17:04 anandpathak

bump

fmr-ap avatar May 18 '20 20:05 fmr-ap

I'd like to have this.

suhlig avatar Jul 27 '20 20:07 suhlig

+1

MonilCereBulb avatar Sep 21 '20 09:09 MonilCereBulb

+1

TiagoMHCSantana avatar Oct 01 '20 22:10 TiagoMHCSantana

+1

Guzya avatar Nov 12 '20 08:11 Guzya

+1

sobos-office avatar Dec 15 '20 15:12 sobos-office

+1

hardincm2 avatar Jan 11 '21 21:01 hardincm2

This is a big problem for me, I have to automatically restart influx whenever my SSL cert renews. I'm able to reload nginx with new certs each time, so why can't I reload influx?

Technoguyfication avatar Jan 24 '21 20:01 Technoguyfication

+1

danielelopez1 avatar Sep 03 '21 09:09 danielelopez1

+1

sdrsdr avatar Dec 06 '21 15:12 sdrsdr

+1

dbivolaru avatar Feb 10 '22 10:02 dbivolaru

+1 This is a must have for a production ready product.

emilbasv3 avatar Feb 18 '22 09:02 emilbasv3

I have to admit I was surprised to see this issue still open from 2016, I would have expected to have a way to reload SSL certs since day 1.

As a workaround, we've added our load balancers (Kong) in the path to reach influxdb, but it would be nice to not have to proxy requests just for SSL.

joelsdc avatar Apr 13 '22 20:04 joelsdc