ExecStart=/apps/prometheus/prometheus_server/prometheus \
--config.file=/apps/prometheus/prometheus_server/prometheus.yml \
--storage.tsdb.path=/apps/prometheus/prometheus_data \
--storage.tsdb.retention.size=500GB \
--storage.tsdb.retention.time=180d
Is there any setting I can make to control the chunks_head space?
Prometheus version is
prometheus, version 2.31.0 (branch: HEAD, revision: d4c83da6d252d4edfdbd639fb817ebdb8e9ab2e4)
build user: root395d507f537a
build date: 20211102-10:28:54
go version: go1.17.2
platform: linux/amd64
Every time I have to remove all directories under the chunks_head and restart the Prometheus service on that server.
I am having issues with chunks_head directory. I have the tsdb retention size to 175 GB
--storage.tsdb.retention.size=500GB
# ls
01FTRRKBEQV1QX0HAM2MXG1W3Q 01FTTWSEGZ4MQN3NXAR12R8GSD 01FTTX6H5GM758FVPHK1DTSH9S chunks_head lock queries.active wal
# ls chunks_head/
000175 000176
I started on Jan 31, so it's a day.# du -sck chunks_head/*
54140 chunks_head/024326
4 chunks_head/024327
54144 total