Author

Topic: Bitcoind 0.9.3 memory leak? (Read 985 times)

newbie
Activity: 12
Merit: 0
December 19, 2014, 11:32:44 PM
#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.
newbie
Activity: 12
Merit: 0
December 19, 2014, 10:33:51 PM
#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.
full member
Activity: 126
Merit: 100
December 19, 2014, 05: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
copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
December 19, 2014, 04: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).
newbie
Activity: 12
Merit: 0
December 18, 2014, 11:26:58 PM
#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?
Jump to: