influxdata / influxdata/influxdb

tsdb store: cannot allocate memory

Open
#9,927 26 comments 0 reactions 0 assignees View on GitHub
area/2.x area/memory kind/bug os/windows
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

Trying to start the influxd server with `sudo influxd` (or `influxd`) gives
`open server: open tsdb store: cannot allocate memory`

Running Influx 1.5.2 on Ubuntu 18.04 LTS on WSL (Windows 10 1803). Reinstall fixed the problem, but as the database gets larger, the same issue repeats. Looking at other issues on GitHub, I wondered if it was a RAM issue, but I have over 5GB of ram (while trying to start the server), and the influxdb folder is just over 143MB.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the `influxd` startup failure on Ubuntu 18.04 under WSL, using the reported growing database and the `tsdb store` error as the entry points. Compare startup behavior as the database grows and trace the memory-allocation failure; done means the cause is identified and a reproducible fix or actionable diagnosis is established.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.