influxdata / influxdata/influxdb
Influxdb Memory usage (there is increasing the memory usage)
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
__Steps to reproduce:__
List the minimal actions needed to reproduce the behavior.
1. ...
2. ...
3. ...
__Expected behavior:__
1) I have to find which service is getting more memory
__Actual behavior:__
1) There is increasing the memory usage.
2) when auth is enabled then decreases the memory uses.
__Environment info:__
* System info: **Linux 5.10.0-0.bpo.15-amd64 x86_64**
* InfluxDB version: **InfluxDB v1.8.1 (git: 1.8 v1.8.1)**

* Other relevant environment details: Container runtime, disk info, etc
__Config:__
Copy any non-default config values here or attach the full config as a gist or file.
__Logs:__
Include snippet of errors in log.
__Performance:__
Generate profiles with the following commands for bugs related to performance, locking, out of memory (OOM), etc.
```sh
# Commands should be run when the bug is actively happening.
# Note: This command will run for ~30 seconds.
curl -o profiles.tar.gz "http://localhost:8086/debug/pprof/all?cpu=30s"
iostat -xd 1 30 > iostat.txt
# Attach the `profiles.tar.gz` and `iostat.txt` output files.
```
__Expected behavior:__
Describe what you expected to happen.
__Actual behavior:__
Describe What actually happened.
__Environment info:__
* System info: Run `uname -srm` and copy the output here:-**Linux 5.10.0-0.bpo.15-amd64 x86_64**
* InfluxDB version: Run `influxd version` and copy the output here:-**InfluxDB v1.8.1 (git: 1.8 v1.8.1)**
* Other relevant environment details: Container runtime, disk info, etc
__Config:__
Copy any non-default config values here or attach the full config as a gist or file.
__Logs:__
Include snippet of errors in log.
__Performance:__
Generate profiles with the following commands for bugs related to performance, locking, out of memory (OOM), etc.
```sh
# Commands should be run when the bug is actively happening.
# Note: This command will run for ~30 seconds.
curl -o profiles.tar.gz "http://localhost:8086/debug/pprof/all?cpu=30s"
iostat -xd 1 30 > iostat.txt
# Attach the `profiles.tar.gz` and `iostat.txt` output files.
```
Contributor guide
Research direction
No source files or tests are named. Reproduce the memory increase on InfluxDB v1.8.1, use the /debug/pprof/all endpoint and iostat command from the report, and identify which service or component grows; done means providing reproducible steps and profiling evidence.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, rust
- Domain
- databases, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100