Bitcoin Forum
May 07, 2024, 07:50:39 PM *
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
1715111439
Hero Member
*
Offline Offline

Posts: 1715111439

View Profile Personal Message (Offline)

Ignore
1715111439
Reply with quote  #2

1715111439
Report to moderator
1715111439
Hero Member
*
Offline Offline

Posts: 1715111439

View Profile Personal Message (Offline)

Ignore
1715111439
Reply with quote  #2

1715111439
Report to moderator
1715111439
Hero Member
*
Offline Offline

Posts: 1715111439

View Profile Personal Message (Offline)

Ignore
1715111439
Reply with quote  #2

1715111439
Report to moderator
According to NIST and ECRYPT II, the cryptographic algorithms used in Bitcoin are expected to be strong until at least 2030. (After that, it will not be too difficult to transition to different algorithms.)
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715111439
Hero Member
*
Offline Offline

Posts: 1715111439

View Profile Personal Message (Offline)

Ignore
1715111439
Reply with quote  #2

1715111439
Report to moderator
1715111439
Hero Member
*
Offline Offline

Posts: 1715111439

View Profile Personal Message (Offline)

Ignore
1715111439
Reply with quote  #2

1715111439
Report to moderator
2112
Legendary
*
Offline Offline

Activity: 2128
Merit: 1068



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



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!