Bitcoin Forum
July 08, 2024, 09:00:51 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: 100% CPU utilisation when not mining as bitcoind (Ubuntu 64bit 1 core)  (Read 3148 times)
ahtremblay (OP)
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250


Live Stars - Adult Streaming Platform


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" : ""
}

Gavin Andresen
Legendary
*
qt
Offline Offline

Activity: 1652
Merit: 2222


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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!