Bitcoin Forum
May 17, 2024, 11:41:14 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bitcoind eats whole server ram  (Read 963 times)
soulreafer (OP)
Full Member
***
Offline Offline

Activity: 219
Merit: 100

CryptoCombat - Realtime NPC Fight Faucet


View Profile WWW
December 16, 2014, 04:10:48 PM
 #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,


hhanh00
Sr. Member
****
Offline Offline

Activity: 467
Merit: 266


View Profile
December 16, 2014, 04:32:50 PM
 #2

10% used by bitcoind. Why do you say it eats the whole server ram?

soulreafer (OP)
Full Member
***
Offline Offline

Activity: 219
Merit: 100

CryptoCombat - Realtime NPC Fight Faucet


View Profile WWW
December 16, 2014, 04:43:06 PM
 #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  -.-

shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1520


No I dont escrow anymore.


View Profile WWW
December 16, 2014, 04:45:47 PM
 #4

Its Linux. What good is unused memory?

http://www.linuxatemyram.com/

Im not really here, its just your imagination.
hhanh00
Sr. Member
****
Offline Offline

Activity: 467
Merit: 266


View Profile
December 16, 2014, 04:51:48 PM
 #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

soulreafer (OP)
Full Member
***
Offline Offline

Activity: 219
Merit: 100

CryptoCombat - Realtime NPC Fight Faucet


View Profile WWW
December 16, 2014, 05: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

bcearl
Full Member
***
Offline Offline

Activity: 168
Merit: 103



View Profile
December 16, 2014, 05: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.

Misspelling protects against dictionary attacks NOT
hhanh00
Sr. Member
****
Offline Offline

Activity: 467
Merit: 266


View Profile
December 16, 2014, 05:12:18 PM
 #8

How about
free -m -t

shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1520


No I dont escrow anymore.


View Profile WWW
December 16, 2014, 07: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.

Im not really here, its just your imagination.
gmaxwell
Staff
Legendary
*
Offline Offline

Activity: 4172
Merit: 8421



View Profile WWW
December 16, 2014, 08: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.
hhanh00
Sr. Member
****
Offline Offline

Activity: 467
Merit: 266


View Profile
December 17, 2014, 01:32:42 AM
 #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).

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!