Closed jackrobison closed 2 years ago
scribe_1 | 2022-05-06 11:06:34,399 INFO scribe.db.db:799: loading tx hashes
scribe_1 | 2022-05-06 11:07:41,185 ERROR scribe.service.BlockchainProcessorService:92: unexpected fatal error:
scribe_1 | Traceback (most recent call last):
scribe_1 | File "/home/lbry/scribe/service.py", line 87, in _run
scribe_1 | await self.start()
scribe_1 | File "/home/lbry/scribe/service.py", line 68, in start
scribe_1 | await self.db.initialize_caches()
scribe_1 | File "/home/lbry/scribe/db/db.py", line 863, in initialize_caches
scribe_1 | await self._read_tx_hashes()
scribe_1 | File "/home/lbry/scribe/db/db.py", line 804, in _read_tx_hashes
scribe_1 | self.tx_num_mapping = {
scribe_1 | File "/home/lbry/scribe/db/db.py", line 805, in <dictcomp>
scribe_1 | tx_hash: tx_num for tx_num, tx_hash in enumerate(self.total_transactions)
scribe_1 | MemoryError
scribe_1 | 2022-05-06 11:07:41,629 INFO scribe.service.BlockchainProcessorService:76: stopping
I think with https://github.com/lbryio/hub/pull/65 merged we (hopefully) have seen the last of OOM crashes
This error can be recovered from by restarting scribe. The server that encountered this also runs lbrycrd and has limited available memory.