Bitcoin Forum
June 15, 2024, 12:30:28 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoind 0.9.3 memory leak?  (Read 971 times)
phoenox (OP)
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
December 19, 2014, 04:26:58 AM
 #1

I installed bitcoind 0.9.3 on a debian server and tried to download the blockchain, but it seems to be leaking a lot of memory.

while running bitcoind, ps says the process is using only about 700 Mb but the memory usage display on the sever keeps going up and up over time.  After I stop bitcoind most of the memory is still reported as being used even though there are no other processes using nearly that much memory.

Also the rate that it is downloading blocks has slowed to something like 1 per second.

Is it possible that this is caused by an error in my bitcoin.conf?
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1520


No I dont escrow anymore.


View Profile WWW
December 19, 2014, 09:06:46 AM
 #2

I installed bitcoind 0.9.3 on a debian server and tried to download the blockchain, but it seems to be leaking a lot of memory.

while running bitcoind, ps says the process is using only about 700 Mb but the memory usage display on the sever keeps going up and up over time.  After I stop bitcoind most of the memory is still reported as being used even though there are no other processes using nearly that much memory.

Are you sure about this or is this an issue of your understand of "free" in regards to the understanding of linux of "free"?
see here: http://www.linuxatemyram.com/

Also the rate that it is downloading blocks has slowed to something like 1 per second.

To increase sync speed use the torrent.

Is it possible that this is caused by an error in my bitcoin.conf?

I doubt it. You can set e.g. dbcache to 4 in order to lower the impact on memory used (actually used).

Im not really here, its just your imagination.
fastBeast
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile
December 19, 2014, 10:57:21 AM
 #3

I installed bitcoind 0.9.3 on a debian server and tried to download the blockchain, but it seems to be leaking a lot of memory.

while running bitcoind, ps says the process is using only about 700 Mb but the memory usage display on the sever keeps going up and up over time.  After I stop bitcoind most of the memory is still reported as being used even though there are no other processes using nearly that much memory.

Are you sure about this or is this an issue of your understand of "free" in regards to the understanding of linux of "free"?
see here: http://www.linuxatemyram.com/

Also the rate that it is downloading blocks has slowed to something like 1 per second.

To increase sync speed use the torrent.

Is it possible that this is caused by an error in my bitcoin.conf?

I doubt it. You can set e.g. dbcache to 4 in order to lower the impact on memory used (actually used).

you can use official torrent link to download blockchain easily and fast...

https://bitcoin.org/bin/blockchain/bootstrap.dat.torrent

then you will sync in a few time!!!

 Wink Wink Wink Wink
phoenox (OP)
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
December 20, 2014, 03:33:51 AM
 #4

I looked at the linux ate my ram site and did a couple of tests today to see if that was the issue.

First I let bitcoind run until it filled up the entire memory, after that it started using virtual memory.  After it had filled up a part of the virtual memory I stopped it.  It released part of the memory, but still most of it was still used.  Then I ran munch, the c program on linuatemyram, to see if it ran in physical memory, but it ran in virtual memory instead of reusing the ram that bitcoind had tied up.

Unfortunately, free and top do not help much because they report the usage of the entire shared server(90 GB), while I only have 3 GB.  I have been using the display on the control panel webpage to see how much is used.
phoenox (OP)
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
December 20, 2014, 04:32:44 AM
 #5

I ran munch again set to use up all the memory, after that all the memory was free.

I guess it was just disk caching.
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!