Bitcoin Forum
May 07, 2024, 02:42:42 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bitcoind very slow to respond  (Read 2131 times)
JohnnyCashout (OP)
Newbie
*
Offline Offline

Activity: 35
Merit: 0


View Profile
May 17, 2012, 05:24:04 PM
 #1

I was running bitcoind 0.3.x and 0.4.x on a freebsd virtual server and it ran pretty well.  It was compiled from source from the freebsd ports tree.   I now am trying to use bitcoind 64bit binary downloaded from bitcoin.org on a CentOS 6 virtual server, and it seems to use a lot more memory and cpu than the older version I was using.  Also, "bitcoind getinfo"  will lag over 30 seconds sometimes before responding. When it finally responds, subsequent getinfo calls return quickly, but if you wait a while it hangs again.

Also my app which communicates to bitcoind via rpc to make new payment addresses and such will also have very slow response at times, and if the delay goes over 30 seconds my load balancer gives up and it screws up the transaction (unfortunately I can't increase the timeout on the load balancer)

should I try getting the latest bitcoind compiled from source to see if the performance is better than the provided binary?  Is there some other trick I'm missing regarding why this is happening?
The trust scores you see are subjective; they will change depending on who you have in your trust list.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715049762
Hero Member
*
Offline Offline

Posts: 1715049762

View Profile Personal Message (Offline)

Ignore
1715049762
Reply with quote  #2

1715049762
Report to moderator
piuk
Hero Member
*****
Offline Offline

Activity: 910
Merit: 1005



View Profile WWW
May 17, 2012, 08:36:31 PM
 #2

Is is catching up with the blockchain?

You could try http://blockchain.info/json_rpc_api if your unable to resolve the issue.

JohnnyCashout (OP)
Newbie
*
Offline Offline

Activity: 35
Merit: 0


View Profile
May 17, 2012, 09:45:11 PM
 #3

I am now seeing faster response times from bitcoind.  It might have been a temporary problem. It still uses significantly more RAM and cpu than the old versions.  And I've never liked how much disk I/O bitcoin uses.  I'm wondering if I should setup bitcoind to run on a ramfs of some sort for better performance/reduced disk I/O (and be sure to mirror it frequently to disk in case of power loss)

also looking into the JSON RPC API, thanks
gmaxwell
Staff
Legendary
*
Offline Offline

Activity: 4158
Merit: 8382



View Profile WWW
May 18, 2012, 02:28:59 AM
 #4

I am now seeing faster response times from bitcoind.  It might have been a temporary problem. It still uses significantly more RAM and cpu than the old versions.  And I've never liked how much disk I/O bitcoin uses.  I'm wondering if I should setup bitcoind to run on a ramfs of some sort for better performance/reduced disk I/O (and be sure to mirror it frequently to disk in case of power loss)

also looking into the JSON RPC API, thanks

As was mentioned it was unresponsive during the initial syncup— it was busily syncing blocks so quickly that the rest of Bitcoin was being starved. This will probably improve in later versions.

Bitcoin uses more resources now because the chain is much bigger— but current versions are actually much faster when compared apples to apples.  Bitcoin is very fast on tmpfs.   
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!