Bitcoin Forum
May 07, 2024, 11:24:53 AM *
News: Latest Bitcoin Core release: 27.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 1815 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
1715081093
Hero Member
*
Offline Offline

Posts: 1715081093

View Profile Personal Message (Offline)

Ignore
1715081093
Reply with quote  #2

1715081093
Report to moderator
1715081093
Hero Member
*
Offline Offline

Posts: 1715081093

View Profile Personal Message (Offline)

Ignore
1715081093
Reply with quote  #2

1715081093
Report to moderator
"In a nutshell, the network works like a distributed timestamp server, stamping the first transaction to spend a coin. It takes advantage of the nature of information being easy to spread but hard to stifle." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715081093
Hero Member
*
Offline Offline

Posts: 1715081093

View Profile Personal Message (Offline)

Ignore
1715081093
Reply with quote  #2

1715081093
Report to moderator
2112
Legendary
*
Offline Offline

Activity: 2128
Merit: 1066



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: 1066



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!