Bitcoin Forum
December 04, 2016, 04:24:45 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: bitcoind very slow to respond  (Read 1892 times)
JohnnyCashout
Jr. Member
*
Offline Offline

Activity: 35


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?
1480868685
Hero Member
*
Offline Offline

Posts: 1480868685

View Profile Personal Message (Offline)

Ignore
1480868685
Reply with quote  #2

1480868685
Report to moderator
1480868685
Hero Member
*
Offline Offline

Posts: 1480868685

View Profile Personal Message (Offline)

Ignore
1480868685
Reply with quote  #2

1480868685
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480868685
Hero Member
*
Offline Offline

Posts: 1480868685

View Profile Personal Message (Offline)

Ignore
1480868685
Reply with quote  #2

1480868685
Report to moderator
1480868685
Hero Member
*
Offline Offline

Posts: 1480868685

View Profile Personal Message (Offline)

Ignore
1480868685
Reply with quote  #2

1480868685
Report to moderator
1480868685
Hero Member
*
Offline Offline

Posts: 1480868685

View Profile Personal Message (Offline)

Ignore
1480868685
Reply with quote  #2

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

Activity: 910



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
Jr. Member
*
Offline Offline

Activity: 35


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: 2016



View Profile
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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!