Bitcoin Forum
December 10, 2016, 05:20:38 AM *
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: 100% CPU utilisation when not mining as bitcoind (Ubuntu 64bit 1 core)  (Read 2831 times)
ahtremblay
Jr. Member
*
Offline Offline

Activity: 50


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" : ""
}
1481347238
Hero Member
*
Offline Offline

Posts: 1481347238

View Profile Personal Message (Offline)

Ignore
1481347238
Reply with quote  #2

1481347238
Report to moderator
1481347238
Hero Member
*
Offline Offline

Posts: 1481347238

View Profile Personal Message (Offline)

Ignore
1481347238
Reply with quote  #2

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

Posts: 1481347238

View Profile Personal Message (Offline)

Ignore
1481347238
Reply with quote  #2

1481347238
Report to moderator
1481347238
Hero Member
*
Offline Offline

Posts: 1481347238

View Profile Personal Message (Offline)

Ignore
1481347238
Reply with quote  #2

1481347238
Report to moderator
1481347238
Hero Member
*
Offline Offline

Posts: 1481347238

View Profile Personal Message (Offline)

Ignore
1481347238
Reply with quote  #2

1481347238
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!