sea-team / gofound

GoFound GoLang Full text search go语言全文检索引擎,毫秒级查询。 使用http接口调用,集成Admin管理界面,任何系统都可以使用。

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

panic: resource temporarily unavailable

CampbellChen opened this issue · comments

运行一段时间之后程序就会退出,打开 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