Bitcoin Forum
May 12, 2024, 05:34:39 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoind / litecoind error: db11exception cannot allocate memory (3 LTC Reward)  (Read 1784 times)
2Kool4Skewl (OP)
Sr. Member
****
Offline Offline

Activity: 644
Merit: 250



View Profile WWW
May 07, 2013, 08:27:29 AM
Last edit: May 08, 2013, 06:36:11 AM by 2Kool4Skewl
 #1

Update: I'm now offering a 3 Ltc Reward to anyone who can fix this issue for me.

I'm running debian amd64 stable and sid on multiple machines.  Every time I try to download the blockchain for bitcoin or litecoin using bitcoind or litecoind, I can only download so many blocks and then I get a repeating error stating, "db11exception::txn: cannot allocate memory"

I'm not running out of physical memory.  I think this may have to do with a file/size limit set on debian.  I tried the command "ulimit -n 2048" but that didn't work.

Anybody have the same problem or know how to fix it?


                      ▄████████▄
                  ▄████████████████▄
             ▄██████████████████████████▄
      ▄███████████████████████████████████████▄
 ███████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
 ███████████████████████████████████████████████████
 ███████████████████████████████████████████████████
 ███████████████████████████████████████████████████
  █████████████████████████████████████████████████
   ███████████████████████████████████████████████
   ███████████████████████████████████████████████
    █████████████████████████████████████████████
     ███████████████████████████████████████████
      █████████████████████████████████████████
       ███████████████████████████████████████
        █████████████████████████████████████
         ███████████████████████████████████
          █████████████████████████████████
           ▀█████████████████████████████▀
             ▀█████████████████████████▀
               ▀█████████████████████▀
                 ▀█████████████████▀
                   ▀█████████████▀
                      ▀███████▀
TRUSTEE 
1715492079
Hero Member
*
Offline Offline

Posts: 1715492079

View Profile Personal Message (Offline)

Ignore
1715492079
Reply with quote  #2

1715492079
Report to moderator
1715492079
Hero Member
*
Offline Offline

Posts: 1715492079

View Profile Personal Message (Offline)

Ignore
1715492079
Reply with quote  #2

1715492079
Report to moderator
It is a common myth that Bitcoin is ruled by a majority of miners. This is not true. Bitcoin miners "vote" on the ordering of transactions, but that's all they do. They can't vote to change the network rules.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715492079
Hero Member
*
Offline Offline

Posts: 1715492079

View Profile Personal Message (Offline)

Ignore
1715492079
Reply with quote  #2

1715492079
Report to moderator
1715492079
Hero Member
*
Offline Offline

Posts: 1715492079

View Profile Personal Message (Offline)

Ignore
1715492079
Reply with quote  #2

1715492079
Report to moderator
2Kool4Skewl (OP)
Sr. Member
****
Offline Offline

Activity: 644
Merit: 250



View Profile WWW
May 08, 2013, 03:19:13 AM
 #2

Apparently, Ubuntu users don't have this problem.  Spent all night googling this.  I can't believe other users haven't experienced this same problem, because Debian is so popular.

Any help would be appreciated.  Thanks


                      ▄████████▄
                  ▄████████████████▄
             ▄██████████████████████████▄
      ▄███████████████████████████████████████▄
 ███████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
 ███████████████████████████████████████████████████
 ███████████████████████████████████████████████████
 ███████████████████████████████████████████████████
  █████████████████████████████████████████████████
   ███████████████████████████████████████████████
   ███████████████████████████████████████████████
    █████████████████████████████████████████████
     ███████████████████████████████████████████
      █████████████████████████████████████████
       ███████████████████████████████████████
        █████████████████████████████████████
         ███████████████████████████████████
          █████████████████████████████████
           ▀█████████████████████████████▀
             ▀█████████████████████████▀
               ▀█████████████████████▀
                 ▀█████████████████▀
                   ▀█████████████▀
                      ▀███████▀
TRUSTEE 
2Kool4Skewl (OP)
Sr. Member
****
Offline Offline

Activity: 644
Merit: 250



View Profile WWW
May 08, 2013, 07:19:41 AM
 #3

Here's the exact error message.  It just keeps repeating.

*************************
EXCEPTION: 11DbException
DbEnv::txn_begin: Cannot allocate memory
litecoin in ProcessMessages()


                      ▄████████▄
                  ▄████████████████▄
             ▄██████████████████████████▄
      ▄███████████████████████████████████████▄
 ███████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
 ███████████████████████████████████████████████████
 ███████████████████████████████████████████████████
 ███████████████████████████████████████████████████
  █████████████████████████████████████████████████
   ███████████████████████████████████████████████
   ███████████████████████████████████████████████
    █████████████████████████████████████████████
     ███████████████████████████████████████████
      █████████████████████████████████████████
       ███████████████████████████████████████
        █████████████████████████████████████
         ███████████████████████████████████
          █████████████████████████████████
           ▀█████████████████████████████▀
             ▀█████████████████████████▀
               ▀█████████████████████▀
                 ▀█████████████████▀
                   ▀█████████████▀
                      ▀███████▀
TRUSTEE 
2Kool4Skewl (OP)
Sr. Member
****
Offline Offline

Activity: 644
Merit: 250



View Profile WWW
May 08, 2013, 07:32:40 AM
 #4

I also tried the pre-compiled binary and got the same error message.


                      ▄████████▄
                  ▄████████████████▄
             ▄██████████████████████████▄
      ▄███████████████████████████████████████▄
 ███████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
 ███████████████████████████████████████████████████
 ███████████████████████████████████████████████████
 ███████████████████████████████████████████████████
  █████████████████████████████████████████████████
   ███████████████████████████████████████████████
   ███████████████████████████████████████████████
    █████████████████████████████████████████████
     ███████████████████████████████████████████
      █████████████████████████████████████████
       ███████████████████████████████████████
        █████████████████████████████████████
         ███████████████████████████████████
          █████████████████████████████████
           ▀█████████████████████████████▀
             ▀█████████████████████████▀
               ▀█████████████████████▀
                 ▀█████████████████▀
                   ▀█████████████▀
                      ▀███████▀
TRUSTEE 
vm1990
Legendary
*
Offline Offline

Activity: 1540
Merit: 1002



View Profile
May 08, 2013, 05:34:53 PM
 #5

strange but cant see it being file size issues as the database gets split at 2GB, i cant really help with linux i cry when i try to use it XD maybe try changing the disk type to something else...

kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1025



View Profile
May 08, 2013, 05:45:30 PM
 #6

This message usually means that you are running on a VM.

17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8
I routinely ignore posters with paid advertising in their sigs.  You should too.
2Kool4Skewl (OP)
Sr. Member
****
Offline Offline

Activity: 644
Merit: 250



View Profile WWW
May 09, 2013, 07:46:00 AM
 #7

I'm using an ext3 filesystem that should support large enough file sizes.

Also, I'm not running it on a VM.


                      ▄████████▄
                  ▄████████████████▄
             ▄██████████████████████████▄
      ▄███████████████████████████████████████▄
 ███████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
 ███████████████████████████████████████████████████
 ███████████████████████████████████████████████████
 ███████████████████████████████████████████████████
  █████████████████████████████████████████████████
   ███████████████████████████████████████████████
   ███████████████████████████████████████████████
    █████████████████████████████████████████████
     ███████████████████████████████████████████
      █████████████████████████████████████████
       ███████████████████████████████████████
        █████████████████████████████████████
         ███████████████████████████████████
          █████████████████████████████████
           ▀█████████████████████████████▀
             ▀█████████████████████████▀
               ▀█████████████████████▀
                 ▀█████████████████▀
                   ▀█████████████▀
                      ▀███████▀
TRUSTEE 
Snail2
Legendary
*
Offline Offline

Activity: 1512
Merit: 1000



View Profile
May 09, 2013, 11:09:25 PM
 #8

By using lsof and sysctl you can check if it's an file limit issue. You can find some good examples here:
http://www.cyberciti.biz/tips/linux-procfs-file-descriptors.html

If it's a limit problem you can change that permanently:
http://oschgan.com/drupal/node/57

You can find some ideas here too:
https://bitcointalk.org/index.php?topic=89639.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!