Author

Topic: bitcoind eats whole server ram (Read 980 times)

sr. member
Activity: 467
Merit: 267
December 16, 2014, 08:32:42 PM
#11
As to why it is happening only when bitcoind is running: its database part is IO intensive. The OS cache should improve performance by quite a lot. In any case, this RAM is not claimed by other processes and would be sitting with garbage in it otherwise. When a process requests more memory, the OS will automatically reduce the cache size at nearly no cost (just maintenance of the page pool directory).
staff
Activity: 4284
Merit: 8808
December 16, 2014, 03:19:35 PM
#10
Yep, as everyone says here.. You're misreading the report. Bitcoin is using 1.2GB ram and you have plenty of available memory.
copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
December 16, 2014, 02:07:44 PM
#9
Its Linux. What good is unused memory?

http://www.linuxatemyram.com/
It should be used by buffers/cache not by processes.


The screenshot of top shows plenty of cached, no buffers though, notice there is no swap, cached is just a line below and showing totals (includes swap)

How about
free -m -t

Yeah, I like free better as well.
sr. member
Activity: 467
Merit: 267
December 16, 2014, 12:12:18 PM
#8
How about
free -m -t
full member
Activity: 168
Merit: 103
December 16, 2014, 12:08:45 PM
#7
It is your operating system caching files. It is not "eaten". It boosts file system performance.

This is totally normal. "Free" memory is wasted memory.
full member
Activity: 219
Merit: 100
CryptoCombat - Realtime NPC Fight Faucet
December 16, 2014, 12:04:44 PM
#6
Its Linux. What good is unused memory?

http://www.linuxatemyram.com/
It should be used by buffers/cache not by processes.


@OP
List processes by memory usage

ps -e -orss=,args= | sort -b -k1,1n


as expected
sr. member
Activity: 467
Merit: 267
December 16, 2014, 11:51:48 AM
#5
Its Linux. What good is unused memory?

http://www.linuxatemyram.com/
It should be used by buffers/cache not by processes.


@OP
List processes by memory usage

ps -e -orss=,args= | sort -b -k1,1n
copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
December 16, 2014, 11:45:47 AM
#4
Its Linux. What good is unused memory?

http://www.linuxatemyram.com/
full member
Activity: 219
Merit: 100
CryptoCombat - Realtime NPC Fight Faucet
December 16, 2014, 11:43:06 AM
#3
10% used by bitcoind. Why do you say it eats the whole server ram?

KiB Mem:  12582912 total, 12382324 used,  200588 free
Because this happens only when i´m running the bitcoin deamon. there is nothing else on this machine. just a lighthttpd server and this deamon.
i dont have a screenshot yet but without a running bitcoin deamon the memory and cache looks untouched after a day.

and i cant run echo 3 > /proc/sys/vm/drop_caches on this fucking vBox to clear out the cache  -.-
sr. member
Activity: 467
Merit: 267
December 16, 2014, 11:32:50 AM
#2
10% used by bitcoind. Why do you say it eats the whole server ram?
full member
Activity: 219
Merit: 100
CryptoCombat - Realtime NPC Fight Faucet
December 16, 2014, 11:10:48 AM
#1
someone else knows that problems?
i have up to 10GB fix ram on my server an 12gb dynamic. but it gots eaten after 1 day with a running deamon Sad

bitcoind version:
"version" : 90300

my config:
server=1
daemon=1
rpcuser=xxxx
rpcpassword=xxxx
rpctimeout=30
rpcport=8332
rpcconnect=127.0.0.1
gen=0
keypool=100
paytxfee=0.00



thanks for help,

Jump to: