Skip to content

Etcd - failed to open database ... mmap too large #18101

Answered by ahrtr
venkataramanam asked this question in Q&A
Discussion options

You must be logged in to vote

I was thinking if the file system was incorrectly reporting the file size being large

Exactly, I was thinking the same, and it's the only reason I can think of for bbolt to return an error "mmap too large".

It was around 18.5 Mb
-rw-rw----. 1 1001160000 1001160000 18481152 May 30 06:55 db

If you checked the db size right after you saw the issue, it might be a huge size.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ahrtr
Comment options

Answer selected by jmhbnz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants