influxdata / influxdata/influxdb

influxdb 1.7.6 consumes much more memory then 1.7.4

Open
#13,605 5 comments 1 reaction 0 assignees View on GitHub
1.x
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

Hello,

some days ago I upgraded to influxdb 1.7.6 on Ubuntu Bionic amd64 platform (KVM VM on Intel Nuc) and I noticed that the memory usage increased after some time. My notmal installation uses 17GB virtual memory but only 750-800MB RES mem. In 1.7.6 at some certain point in time (roughly the same on both days I noticed it) the RES mem starts to grow and ended up on 2,7GB. Also VIRT growed up to 20GB. After restart it restored to the 750-800MB for some time before it increases again. This happened multiple times
See graph here:

![image](https://user-images.githubusercontent.com/11976694/56652242-33f9b180-668b-11e9-9e82-4d7028fc6125.png)

Then yesterday I reinstalled 1.7.4 on that machine and as you can see there is no such effect anymore. So something is strange here ...
You can also see that VIRT mem stays at 17GB.

I was not able to see anything special in the logs, just "normal stuff". I noticed some other issues here from the last time telling about memory issues, but I can not tell which of them may be connected.

If I can collect more details please tell me how and I will be happy to support.

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is named. Begin by reproducing the reported memory growth while comparing InfluxDB 1.7.6 with 1.7.4 on Ubuntu Bionic amd64; done means identifying a reproducible cause or narrowing the missing diagnostic data.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, rust, ubuntu
Domain
databases, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.