influxdata / influxdb

Scalable datastore for metrics, events, and real-time analytics
https://influxdata.com
Apache License 2.0
28.82k stars 3.55k forks source link

Influxdb Memory usage (there is increasing the memory usage) #23725

Open fti-aghodake opened 2 years ago

fti-aghodake commented 2 years ago

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:

Screenshot from 2022-09-13 17-10-48

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.

# 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:

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.

# 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.
fti-aghodake commented 2 years ago

Please suggest me what can i do for decreasing the memory usage.