Bitcoin Forum
November 09, 2024, 10:29:45 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How can I fix a leveldb read failure, too many open files.  (Read 1825 times)
gweedo (OP)
Legendary
*
Offline Offline

Activity: 1498
Merit: 1000


View Profile
April 24, 2014, 06:32:39 AM
Last edit: April 24, 2014, 06:42:41 AM by gweedo
 #1

Code:
LevelDB read failure: IO error: /home/bitcoin/.bitcoin/blocks/index/061074.sst: Too many open files
2014-04-24 06:28:02 IO error: /home/bitcoin/.bitcoin/blocks/index/061074.sst: Too many open files

Should I just increase the number of open files on the system? It is ubuntu 12.10.


Edit: Also looking thru the logs I get this error as well.
Code:
ERROR: bool GetTransaction(const uint256&, CTransaction&, uint256&, bool) : Deserialize or I/O error - CAutoFile::operator>> : file handle is NULL
2112
Legendary
*
Offline Offline

Activity: 2128
Merit: 1073



View Profile
April 24, 2014, 01:35:13 PM
 #2

Code:
ulimit -n
is your friend.

Please comment, critique, criticize or ridicule BIP 2112: https://bitcointalk.org/index.php?topic=54382.0
Long-term mining prognosis: https://bitcointalk.org/index.php?topic=91101.0
2112
Legendary
*
Offline Offline

Activity: 2128
Merit: 1073



View Profile
April 24, 2014, 06:07:40 PM
 #3

I guess I have a long day of testing out numbers. Either I get a buffer overflow, or I get that other error.
Maybe an open file handle leak? On Linux could be easily checked by peeking into /proc file system while the program is running.

Please comment, critique, criticize or ridicule BIP 2112: https://bitcointalk.org/index.php?topic=54382.0
Long-term mining prognosis: https://bitcointalk.org/index.php?topic=91101.0
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!