Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

file too large #2284

Closed
Tracked by #2405
99Kies opened this issue Mar 12, 2023 · 6 comments
Closed
Tracked by #2405

file too large #2284

99Kies opened this issue Mar 12, 2023 · 6 comments
Assignees
Labels
scope: comet-bft status: waiting-triage This issue/PR has not yet been triaged by the team. type: bug Issues that need priority attention -- something isn't working

Comments

@99Kies
Copy link

99Kies commented Mar 12, 2023

this my command line:

gaiad start --x-crisis-skip-assert-invariants 

this my bug info:

Error: failed to initialize database: write /home/ubuntu/.gaia/data/tx_index.db/MANIFEST-192409: file too large
@99Kies 99Kies added type: bug Issues that need priority attention -- something isn't working status: waiting-triage This issue/PR has not yet been triaged by the team. labels Mar 12, 2023
@99Kies
Copy link
Author

99Kies commented Mar 12, 2023

And I ran into this problem before during the sync process.

2:32AM ERR failed to create state snapshot err="failed to generate snapshot chunk 21: iavl export failed for version 14249000: open /home/ubuntu/.gaia/data/application.db/215272025.ldb: too many open files" height=14249000
panic: open /home/ubuntu/.gaia/data/cs.wal: too many open files

goroutine 250375 [running]:
github.com/tendermint/tendermint/libs/autofile.(*Group).readGroupInfo(0xc0bfb796b0)
        github.com/tendermint/[email protected]/libs/autofile/group.go:365 +0x3f6
github.com/tendermint/tendermint/libs/autofile.(*Group).checkTotalSizeLimit(0xc0bfb796b0)
        github.com/tendermint/[email protected]/libs/autofile/group.go:274 +0x4a
github.com/tendermint/tendermint/libs/autofile.(*Group).processTicks(0xc0bfb796b0)
        github.com/tendermint/[email protected]/libs/autofile/group.go:245 +0x7c
created by github.com/tendermint/tendermint/libs/autofile.(*Group).OnStart
        github.com/tendermint/[email protected]/libs/autofile/group.go:140 +0x8d

@mmulji-ic
Copy link
Contributor

Hi @99Kies thanks for adding this issue.
Do you have details of the file mentioned? /home/ubuntu/.gaia/data/tx_index.db/MANIFEST-192409
The error too many open files should be resolved by changing the config of your linux system, allowing more files to be accessed for a specific user. See the forum post.

@mmulji-ic
Copy link
Contributor

@adizere have you encountered the file too large error, when accessing the tx_index.db?

@adizere
Copy link

adizere commented Apr 14, 2023

@adizere have you encountered the file too large error, when accessing the tx_index.db?

I don't think we've encountered this before.

@99Kies what was the size of the offending file /home/ubuntu/.gaia/data/tx_index.db/MANIFEST-192409?

@mmulji-ic
Copy link
Contributor

Hi @99Kies do you have an update as to the size of the file? Did this problem reoccur?
If there is no update by next week, we will close this issue.

@mmulji-ic
Copy link
Contributor

Hi @99Kies closing as no update from you regarding this issues. Please re-open if you have more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: comet-bft status: waiting-triage This issue/PR has not yet been triaged by the team. type: bug Issues that need priority attention -- something isn't working
Projects
Status: ✅ Done
Development

No branches or pull requests

3 participants