Title: bitcoind eats whole server ram Post by: soulreafer on December 16, 2014, 04:10:48 PM 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 :( 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 http://fs1.directupload.net/images/141216/s53sehft.png thanks for help, Title: Re: bitcoind eats whole server ram Post by: hhanh00 on December 16, 2014, 04:32:50 PM 10% used by bitcoind. Why do you say it eats the whole server ram?
Title: Re: bitcoind eats whole server ram Post by: soulreafer on December 16, 2014, 04:43:06 PM 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 -.- Title: Re: bitcoind eats whole server ram Post by: shorena on December 16, 2014, 04:45:47 PM Its Linux. What good is unused memory?
http://www.linuxatemyram.com/ Title: Re: bitcoind eats whole server ram Post by: hhanh00 on December 16, 2014, 04:51:48 PM Its Linux. What good is unused memory? It should be used by buffers/cache not by processes.http://www.linuxatemyram.com/ @OP List processes by memory usage ps -e -orss=,args= | sort -b -k1,1n Title: Re: bitcoind eats whole server ram Post by: soulreafer on December 16, 2014, 05:04:44 PM Its Linux. What good is unused memory? It should be used by buffers/cache not by processes.http://www.linuxatemyram.com/ @OP List processes by memory usage ps -e -orss=,args= | sort -b -k1,1n as expected http://fs2.directupload.net/images/141216/22l97ukk.png Title: Re: bitcoind eats whole server ram Post by: bcearl on December 16, 2014, 05:08:45 PM 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. Title: Re: bitcoind eats whole server ram Post by: hhanh00 on December 16, 2014, 05:12:18 PM How about
free -m -t Title: Re: bitcoind eats whole server ram Post by: shorena on December 16, 2014, 07:07:44 PM Its Linux. What good is unused memory? It should be used by buffers/cache not by processes.http://www.linuxatemyram.com/ 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. Title: Re: bitcoind eats whole server ram Post by: gmaxwell on December 16, 2014, 08:19:35 PM Yep, as everyone says here.. You're misreading the report. Bitcoin is using 1.2GB ram and you have plenty of available memory.
Title: Re: bitcoind eats whole server ram Post by: hhanh00 on December 17, 2014, 01:32:42 AM 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).
|