Bitcoin Forum
November 21, 2017, 01:01:45 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: 100% CPU utilisation when not mining as bitcoind (Ubuntu 64bit 1 core)  (Read 2993 times)
ahtremblay
Full Member
***
Offline Offline

Activity: 182



View Profile
June 05, 2011, 11:58:46 PM
 #1

Hello,

I am running the bitcoind (launched as sudo ./bitcoind -server) on a amazon micro instance running ubuntu. The problem is that the CPU utilisation is 100% even when my hash/s count is 0! For information, getinfo returns. I want to run the bitcoind on a website and I need every CPU cycle for http requests.

sudo ./bitcoind getinfo
{
    "version" : 32100,
    "balance" : 0.00000000,
    "blocks" : 117966,
    "connections" : 16,
    "proxy" : "",
    "generate" : false,
    "genproclimit" : -1,
    "difficulty" : 82347.22294654,
    "hashespersec" : 0,
    "testnet" : false,
    "keypoololdest" : 1307310377,
    "paytxfee" : 0.00000000,
    "errors" : ""
}

1511226105
Hero Member
*
Offline Offline

Posts: 1511226105

View Profile Personal Message (Offline)

Ignore
1511226105
Reply with quote  #2

1511226105
Report to moderator
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1511226105
Hero Member
*
Offline Offline

Posts: 1511226105

View Profile Personal Message (Offline)

Ignore
1511226105
Reply with quote  #2

1511226105
Report to moderator
1511226105
Hero Member
*
Offline Offline

Posts: 1511226105

View Profile Personal Message (Offline)

Ignore
1511226105
Reply with quote  #2

1511226105
Report to moderator
1511226105
Hero Member
*
Offline Offline

Posts: 1511226105

View Profile Personal Message (Offline)

Ignore
1511226105
Reply with quote  #2

1511226105
Report to moderator
Gavin Andresen
Legendary
*
qt
Offline Offline

Activity: 1652


Chief Scientist


View Profile WWW
June 06, 2011, 02:11:28 AM
 #2

First, don't sudo; there is no reason for bitcoin to run as root.

Second:  it isn't done downloading the block chain.  I just checked a bitcoind I've got running on an Amazon micro instance, and it is using less than 1% of the CPU.  After you've got all 128,909 blocks the CPU usage should drop.


How often do you get the chance to work on a potentially world-changing project?
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!