Comments (5)
Hi @smolse, we could use an a init for sure. However, is the issue to track in telegraf: influxdata/telegraf#2526
from influxdata-docker.
I also believe this should be something handled by telegraf instead. Telegraf should be starting processes in its own process group and then killing the process group instead of the parent.
While an init system would fix this, I think it acts as a band-aid.
from influxdata-docker.
I left myself a note on the Telegraf exec kill issue to investigate if we ought to signal the process group or just the parent. This is unrelated to the question of init system and won't fully deal with orphans.
IMO It's not a processes job to reap orphans unless it is meant to be pid 1, but if it's not much code we can add it anyway to make things works better in docker. I opened a case for this as well.
from influxdata-docker.
In docker 1.13.0 they have added an --init
option that will reap children, so I suggest using this. Telegraf will of course also improve the method it uses to kill subprocesses.
from influxdata-docker.
I think some alternatives have been pointed out and since using an init system like systemd in Docker is not recommended, I'm going to close this.
from influxdata-docker.
Related Issues (20)
- Docker fails with permission error (since version 1.19) HOT 4
- deprecated "influxd print-config" is used in entrypoint.sh > 2.2 HOT 1
- (Docker container) extra ":" added to "http-bind-address" configuration value HOT 3
- influx user create in entrypoint script gives 401 Unauthorized HOT 1
- Influx 2.1.0 and up: influxd.sqlite -> database locked. Azure Linux web app with share
- Telegraf docker image runs as root user HOT 3
- Error in plugin: Got permission denied while trying to connect to the Docker daemon socket HOT 1
- telegraf READ.ME - Minimal example to start an InfluxDB container fails with the current versions HOT 3
- Env configurations not recognized in lastest tagged image? HOT 1
- docker pull influxdb HOT 1
- Telegraf container - logtarget/logfile not working when using input.docker with special user/group ID HOT 5
- [InfluxDBv2] Wrong Error Description for DOCKER_INFLUXDB_INIT_ADMIN_TOKEN
- [InfluxDBv2] Admin Token via `DOCKER_INFLUXDB_INIT_ADMIN_TOKEN_FILE` env var is not set in the container causing authorization errors HOT 1
- Automated Setup leaves a file behind preventing startup in influxdb:latest HOT 1
- Default directories
- Start Telegraf container with latest config from Influx Web UI [workaround] HOT 3
- Critical CVE-2018-12976 found in latest docker image HOT 6
- Influx DB 1.8 program will not open
- Chronograf 1.10.2 docker image critical vulnerability CVE-2023-45853
- Running in rootless docker is nonfunctional with host filesystem bind mounts due to overriden user ID inside container
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from influxdata-docker.