Skip to content

Prometheus WAL files are not deleted and its size is 261GB now #10272

Answered by codesome
praveen5kgit asked this question in Q&A
Discussion options

You must be logged in to vote

Log has WAL truncation in Compact: create checkpoint: create segment reader: open segment:00002392 in dir:/data/prometheus/wal: open /data/prometheus/wal/00002392: too many open files

too many open files

You might have some lower limit set at some level. A quick search gives me https://www.baeldung.com/linux/error-too-many-open-files/. Can you try increasing the limit to some high value and see if that fixes it?

Replies: 11 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by codesome
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@praveen5kgit
Comment options

@praveen5kgit
Comment options

@codesome
Comment options

@vini-intenseye
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #10266 on February 09, 2022 14:19.