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

panic: resource temporarily unavailable #63

Open
CampbellChen opened this issue Sep 20, 2022 · 0 comments
Open

panic: resource temporarily unavailable #63

CampbellChen opened this issue Sep 20, 2022 · 0 comments

Comments

@CampbellChen
Copy link

运行一段时间之后程序就会退出,打开 debug 模式查看了最后的日志输入如下:

panic: resource temporarily unavailable

goroutine 3364545 [running]:
gofound/searcher/storage.(*LeveldbStorage).ReOpen(0xc00007a3c0)
/home/runner/work/gofound/gofound/searcher/storage/leveldb_storage.go:81 +0x115
gofound/searcher/storage.(*LeveldbStorage).autoOpenDB(0xc00007a3c0)
/home/runner/work/gofound/gofound/searcher/storage/leveldb_storage.go:26 +0x2e
gofound/searcher/storage.(*LeveldbStorage).Get(0xc00007a3c0, {0xc001a29e8c, 0x4, 0x4})
/home/runner/work/gofound/gofound/searcher/storage/leveldb_storage.go:91 +0x2d
gofound/searcher.(*Engine).GetDocById(0xc0029da4e0?, 0x29da360?)
/home/runner/work/gofound/gofound/searcher/engine.go:550 +0x65
gofound/searcher.(*Engine).getDocument(0x0?, {0x43fb65?, 0xc0052f8768?}, 0xc000000230, 0xc002b6a600, 0xc002694280, 0xc000394a40)
/home/runner/work/gofound/gofound/searcher/engine.go:466 +0x68
created by gofound/searcher.(*Engine).MultiSearch.func2
/home/runner/work/gofound/gofound/searcher/engine.go:419 +0x9cd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant