Merge branch 'master' into influxdb3-ga
commit
c37b5b528f
|
@ -153,6 +153,8 @@ To configure InfluxDB, use the following configuration options when starting the
|
||||||
- [nats-max-payload-bytes](#nats-max-payload-bytes) <em style="opacity:.65">- (deprecated)</em>
|
- [nats-max-payload-bytes](#nats-max-payload-bytes) <em style="opacity:.65">- (deprecated)</em>
|
||||||
- [nats-port](#nats-port) <em style="opacity:.65">- (deprecated)</em>
|
- [nats-port](#nats-port) <em style="opacity:.65">- (deprecated)</em>
|
||||||
- [no-tasks](#no-tasks)
|
- [no-tasks](#no-tasks)
|
||||||
|
- [overwrite-pid-file](#overwrite-pid-file)
|
||||||
|
- [pid-file](#pid-file)
|
||||||
- [pprof-disabled](#pprof-disabled)
|
- [pprof-disabled](#pprof-disabled)
|
||||||
- [query-concurrency](#query-concurrency)
|
- [query-concurrency](#query-concurrency)
|
||||||
- [query-initial-memory-bytes](#query-initial-memory-bytes)
|
- [query-initial-memory-bytes](#query-initial-memory-bytes)
|
||||||
|
@ -1333,6 +1335,104 @@ no-tasks = true
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
### overwrite-pid-file
|
||||||
|
Overwrite the PID file specified by [pid-file](#pid-file) if it exists, instead of exiting with an error.
|
||||||
|
|
||||||
|
**Default:** `false`
|
||||||
|
|
||||||
|
| influxd flag | Environment variable | Configuration key |
|
||||||
|
| :--------------------- | :--------------------------- | :------------------- |
|
||||||
|
| `--overwrite-pid-file` | `INFLUXD_OVERWRITE_PID_FILE` | `overwrite-pid-file` |
|
||||||
|
|
||||||
|
###### influxd flag
|
||||||
|
<!--pytest.mark.skip-->
|
||||||
|
|
||||||
|
```sh
|
||||||
|
influxd --overwrite-pid-file
|
||||||
|
```
|
||||||
|
|
||||||
|
###### Environment variable
|
||||||
|
```sh
|
||||||
|
export INFLUXD_OVERWRITE_PID_FILE=true
|
||||||
|
```
|
||||||
|
|
||||||
|
###### Configuration file
|
||||||
|
{{< code-tabs-wrapper >}}
|
||||||
|
{{% code-tabs %}}
|
||||||
|
[YAML](#)
|
||||||
|
[TOML](#)
|
||||||
|
[JSON](#)
|
||||||
|
{{% /code-tabs %}}
|
||||||
|
{{% code-tab-content %}}
|
||||||
|
```yml
|
||||||
|
overwrite-pid-file: true
|
||||||
|
```
|
||||||
|
{{% /code-tab-content %}}
|
||||||
|
{{% code-tab-content %}}
|
||||||
|
```toml
|
||||||
|
overwrite-pid-file = true
|
||||||
|
```
|
||||||
|
{{% /code-tab-content %}}
|
||||||
|
{{% code-tab-content %}}
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"overwrite-pid-file": true
|
||||||
|
}
|
||||||
|
```
|
||||||
|
{{% /code-tab-content %}}
|
||||||
|
{{< /code-tabs-wrapper >}}
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### pid-file
|
||||||
|
Write the PID file to the specified path and remove it when InfluxDB stops.
|
||||||
|
|
||||||
|
**Default:** ``
|
||||||
|
|
||||||
|
| influxd flag | Environment variable | Configuration key |
|
||||||
|
|------------- | :------------------- | :---------------- |
|
||||||
|
| `--pid-file` | `INFLUXD_PID_FILE` | `pid-file` |
|
||||||
|
|
||||||
|
###### influxd flag
|
||||||
|
<!--pytest.mark.skip-->
|
||||||
|
|
||||||
|
```sh
|
||||||
|
influxd --pid-file /path/to/pid-file
|
||||||
|
```
|
||||||
|
|
||||||
|
###### Environment variable
|
||||||
|
```sh
|
||||||
|
export INFLUXD_PID_FILE=/path/to/pid-file
|
||||||
|
```
|
||||||
|
|
||||||
|
###### Configuration file
|
||||||
|
{{< code-tabs-wrapper >}}
|
||||||
|
{{% code-tabs %}}
|
||||||
|
[YAML](#)
|
||||||
|
[TOML](#)
|
||||||
|
[JSON](#)
|
||||||
|
{{% /code-tabs %}}
|
||||||
|
{{% code-tab-content %}}
|
||||||
|
```yml
|
||||||
|
pid-file: /path/to/pid-file
|
||||||
|
```
|
||||||
|
{{% /code-tab-content %}}
|
||||||
|
{{% code-tab-content %}}
|
||||||
|
```toml
|
||||||
|
pid-file = "/path/to/pid-file"
|
||||||
|
```
|
||||||
|
{{% /code-tab-content %}}
|
||||||
|
{{% code-tab-content %}}
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"pid-file": "/path/to/pid-file"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
{{% /code-tab-content %}}
|
||||||
|
{{< /code-tabs-wrapper >}}
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
### pprof-disabled
|
### pprof-disabled
|
||||||
Disable the `/debug/pprof` HTTP endpoint.
|
Disable the `/debug/pprof` HTTP endpoint.
|
||||||
This endpoint provides runtime profiling data and can be helpful when debugging.
|
This endpoint provides runtime profiling data and can be helpful when debugging.
|
||||||
|
|
|
@ -77,6 +77,12 @@
|
||||||
- flag: "--no-tasks"
|
- flag: "--no-tasks"
|
||||||
added: 2.0
|
added: 2.0
|
||||||
|
|
||||||
|
- flag: "--overwrite-pid-file"
|
||||||
|
added: 2.7
|
||||||
|
|
||||||
|
- flag: "--pid-file"
|
||||||
|
added: 2.7
|
||||||
|
|
||||||
- flag: "--pprof-disabled"
|
- flag: "--pprof-disabled"
|
||||||
added: 2.0
|
added: 2.0
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue