[UPDATED] Guide to mining on DigitalOcean! ($0.007 per hour, 700+ PPS)

Don’t be GUI dependent. :wink: No GUI also means less overhead for your VPS and potentially more primes per second.

I’m not familiar with cmd line, and when I run into a problem I don’t know what to do. Learning linux CMD’s just for XPC mining is a terrible ROTI. :stuck_out_tongue:

My primespersec is always 0 even the generate is true, is there something wrong with my setup?

{
“blocks” : 284527,
“currentblocksize” : 10485,
“currentblocktx” : 2,
“errors” : “”,
“generate” : true,
“genproclimit” : -1,
“primespersec” : 0,
“pooledtx” : 2,
“testnet” : false
}

[quote=“tensaix2j, post:63, topic:213”]My primespersec is always 0 even the generate is true, is there something wrong with my setup?

{
“blocks” : 284527,
“currentblocksize” : 10485,
“currentblocktx” : 2,
“errors” : “”,
“generate” : true,
“genproclimit” : -1,
“primespersec” : 0,
“pooledtx” : 2,
“testnet” : false
}[/quote]

What does your debug.log show?

[quote=“ravelant, post:64, topic:213”][quote=“tensaix2j, post:63, topic:213”]My primespersec is always 0 even the generate is true, is there something wrong with my setup?

{
“blocks” : 284527,
“currentblocksize” : 10485,
“currentblocktx” : 2,
“errors” : “”,
“generate” : true,
“genproclimit” : -1,
“primespersec” : 0,
“pooledtx” : 2,
“testnet” : false
}[/quote]

What does your debug.log show?[/quote]

CreateNewBlock(): total size 4772
Running PrimecoinMiner with 2 transactions in block (3963 bytes)
Added 1 addresses from 54.237.63.85: 130 tried, 12129 new
MineProbablePrimeChain() : new sieve (1/1000000) ready in 5096510us
PrimecoinMiner() : Round primorial=11 tests=1 primes=0 expected=33474s
CreateNewBlock(): total size 4772
Running PrimecoinMiner with 2 transactions in block (3963 bytes)
Added 1 addresses from 113.242.174.209: 130 tried, 12130 new
Added 1 addresses from 162.243.255.249: 130 tried, 12130 new
MineProbablePrimeChain() : new sieve (1/1000000) ready in 4760456us
PrimecoinMiner() : Round primorial=7 tests=1 primes=0 expected=31270s
CreateNewBlock(): total size 4772
Running PrimecoinMiner with 2 transactions in block (3963 bytes)
Added 1 addresses from 190.41.146.49: 130 tried, 12131 new
MineProbablePrimeChain() : new sieve (1/1000000) ready in 5056449us
PrimecoinMiner() : Round primorial=7 tests=1 primes=0 expected=33212s
CreateNewBlock(): total size 4772
Running PrimecoinMiner with 2 transactions in block (3963 bytes)
MineProbablePrimeChain() : new sieve (2/1000000) ready in 4975011us
PrimecoinMiner() : Round primorial=11 tests=2 primes=0 expected=8365703s
CreateNewBlock(): total size 4772
Running PrimecoinMiner with 2 transactions in block (3963 bytes)
MineProbablePrimeChain() : new sieve (1/1000000) ready in 4750603us
PrimecoinMiner() : Round primorial=7 tests=1 primes=0 expected=31204s
CreateNewBlock(): total size 4772
Running PrimecoinMiner with 2 transactions in block (3963 bytes)
MineProbablePrimeChain() : new sieve (1/1000000) ready in 4939493us
2013-11-30 18:49:18 primemeter         0 prime/h       894 test/h
PrimecoinMiner() : Round primorial=7 tests=1 primes=0 expected=32449s
CreateNewBlock(): total size 4772
Running PrimecoinMiner with 2 transactions in block (3963 bytes)
Added 1 addresses from 138.91.141.254: 130 tried, 12130 new
MineProbablePrimeChain() : new sieve (1/1000000) ready in 4847522us
PrimecoinMiner() : Round primorial=11 tests=1 primes=0 expected=31841s
CreateNewBlock(): total size 4772
Running PrimecoinMiner with 2 transactions in block (3963 bytes)
MineProbablePrimeChain() : new sieve (1/1000000) ready in 4917976us
PrimecoinMiner() : Round primorial=13 tests=1 primes=0 expected=32305s
CreateNewBlock(): total size 4772
Running PrimecoinMiner with 2 transactions in block (3963 bytes)
MineProbablePrimeChain() : new sieve (1/1000000) ready in 6579576us
PrimecoinMiner() : Round primorial=11 tests=1 primes=0 expected=43212s
CreateNewBlock(): total size 4772
Running PrimecoinMiner with 2 transactions in block (3963 bytes)
ResendWalletTransactions()
MineProbablePrimeChain() : new sieve (2/1000000) ready in 5045092us
PrimecoinMiner() : Round primorial=13 tests=2 primes=0 expected=8483978s
CreateNewBlock(): total size 4772
Running PrimecoinMiner with 2 transactions in block (3963 bytes)
MineProbablePrimeChain() : new sieve (2/1000000) ready in 4822541us
PrimecoinMiner() : Round primorial=11 tests=2 primes=0 expected=8111876s
CreateNewBlock(): total size 4772
Running PrimecoinMiner with 2 transactions in block (3963 bytes)
CTxMemPool::accept() : accepted 7bd89b2686e0ee7fd69e5598738254d0bcee9291eb2dccd1c6c0a1aff3781219 (poolsz 2)
MineProbablePrimeChain() : new sieve (1/1000000) ready in 5137173us
PrimecoinMiner() : Round primorial=7 tests=1 primes=0 expected=33741s
CreateNewBlock(): total size 5114
Running PrimecoinMiner with 3 transactions in block (4305 bytes)
MineProbablePrimeChain() : new sieve (1/1000000) ready in 5146043us
PrimecoinMiner() : Round primorial=7 tests=1 primes=0 expected=33800s
CreateNewBlock(): total size 5114
Running PrimecoinMiner with 3 transactions in block (4305 bytes)
MineProbablePrimeChain() : new sieve (1/1000000) ready in 5205963us
PrimecoinMiner() : Round primorial=11 tests=1 primes=0 expected=34203s
CreateNewBlock(): total size 5114
Running PrimecoinMiner with 3 transactions in block (4305 bytes)
received block 07e1cdd90552b15ac3e866913cde935841b7c35c83901a76908d63f7a27b6596
Committing 32 changed transactions to coin database...
SetBestChain: new best=07e1cdd90552b15ac3e866913cde935841b7c35c83901a76908d63f7a27b6596  height=286137  difficulty=9.9851975 log2Work=27.455143  log2ChainWork=43.701393  tx=465038  date=2013-11-30 18:50:06 progress=0.004979
ProcessBlock: ACCEPTED
received getdata for: block 07e1cdd90552b15ac3e866913cde935841b7c35c83901a76908d63f7a27b6596
received getdata for: block 07e1cdd90552b15ac3e866913cde935841b7c35c83901a76908d63f7a27b6596
received getdata for: block 07e1cdd90552b15ac3e866913cde935841b7c35c83901a76908d63f7a27b6596
received getdata for: block 07e1cdd90552b15ac3e866913cde935841b7c35c83901a76908d63f7a27b6596
getblocks -1 to 0000000000000000000000000000000000000000000000000000000000000000 limit 500
received getdata for: block 07e1cdd90552b15ac3e866913cde935841b7c35c83901a76908d63f7a27b6596
received getdata for: block 07e1cdd90552b15ac3e866913cde935841b7c35c83901a76908d63f7a27b6596
received getdata for: block 07e1cdd90552b15ac3e866913cde935841b7c35c83901a76908d63f7a27b6596
received getdata for: block 07e1cdd90552b15ac3e866913cde935841b7c35c83901a76908d63f7a27b6596
getblocks -1 to 0000000000000000000000000000000000000000000000000000000000000000 limit 500
getblocks -1 to 0000000000000000000000000000000000000000000000000000000000000000 limit 500
CTxMemPool::accept() : accepted 38a91655275c81e2d92bb7966ffc8e25d25919434f9423260e7f78e16ca6d396 (poolsz 3)
received getdata for: tx 38a91655275c81e2d92bb7966ffc8e25d25919434f9423260e7f78e16ca6d396
MineProbablePrimeChain() : new sieve (1/1000000) ready in 5321806us
PrimecoinMiner() : Round primorial=7 tests=1 primes=0 expected=34954s
CreateNewBlock(): total size 5490
Running PrimecoinMiner with 4 transactions in block (4681 bytes)
MineProbablePrimeChain() : new sieve (1/1000000) ready in 4758672us
PrimecoinMiner() : Round primorial=11 tests=1 primes=0 expected=31260s
CreateNewBlock(): total size 5490
Running PrimecoinMiner with 4 transactions in block (4681 bytes)
MineProbablePrimeChain() : new sieve (2/1000000) ready in 4688455us
PrimecoinMiner() : Round primorial=13 tests=2 primes=1 expected=7884614s
CreateNewBlock(): total size 5490
Running PrimecoinMiner with 4 transactions in block (4681 bytes)
MineProbablePrimeChain() : new sieve (6/1000000) ready in 4879968us
2013-11-30 18:50:20 primemeter       176 prime/h      1171 test/h
PrimecoinMiner() : Round primorial=11 tests=6 primes=2 expected=105181821s
CreateNewBlock(): total size 5490
Running PrimecoinMiner with 4 transactions in block (4681 bytes)

Is it really doing any mining work?

Based on what you posted above, it appears to be doing nothing. Your primemeter output compared to one of my nodes.

Yours-
grep primemeter blahtemp
2013-11-30 18:49:18 primemeter 0 prime/h 894 test/h
2013-11-30 18:50:20 primemeter 176 prime/h 1171 test/h

Mine-
grep primemeter .primecoin/debug.log | tail -5
2013-12-01 06:00:20 primemeter 5731027 prime/h 90179955 test/h 360 5-chains/h 0.804089 chain/d
2013-12-01 06:01:20 primemeter 5691581 prime/h 88876935 test/h 360 5-chains/h 0.795464 chain/d
2013-12-01 06:02:20 primemeter 5661146 prime/h 88379607 test/h 420 5-chains/h 0.790203 chain/d
2013-12-01 06:03:20 primemeter 5842668 prime/h 91096805 test/h 480 5-chains/h 0.814074 chain/d
2013-12-01 06:04:20 primemeter 5686525 prime/h 88676302 test/h 540 5-chains/h 0.807601 chain/d

I’d definitely say something is wrong with your config.

I finally know where it went wrong. I was using the binary from sourceforge instead of compiling it from src.
Got it now. Thanks a lot.

[quote=“ravelant, post:66, topic:213”]Based on what you posted above, it appears to be doing nothing. Your primemeter output compared to one of my nodes.

Yours-
grep primemeter blahtemp
2013-11-30 18:49:18 primemeter 0 prime/h 894 test/h
2013-11-30 18:50:20 primemeter 176 prime/h 1171 test/h

Mine-
grep primemeter .primecoin/debug.log | tail -5
2013-12-01 06:00:20 primemeter 5731027 prime/h 90179955 test/h 360 5-chains/h 0.804089 chain/d
2013-12-01 06:01:20 primemeter 5691581 prime/h 88876935 test/h 360 5-chains/h 0.795464 chain/d
2013-12-01 06:02:20 primemeter 5661146 prime/h 88379607 test/h 420 5-chains/h 0.790203 chain/d
2013-12-01 06:03:20 primemeter 5842668 prime/h 91096805 test/h 480 5-chains/h 0.814074 chain/d
2013-12-01 06:04:20 primemeter 5686525 prime/h 88676302 test/h 540 5-chains/h 0.807601 chain/d

I’d definitely say something is wrong with your config.[/quote]

ravelant, i have 5 nodes on digitalocean with 1 gb ram(10$ one ). and running 1 instance of prime miner each. (4 threads with -t option)

i have downloaded the source and compiled on ubuntu 12.04 (x64)

but i cant see values over 400 prime/h. so what am i doing wrong ?

OP has been updated with mikaelh’s HP12.

If anyone is interested I have about 30 $100 AWS vouchers I’m selling. $25 or the equivalent in XPM.

Could help you get started for a low cost :slight_smile:

PM me for more info