Bitcoin Forum
December 05, 2016, 12:35:51 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 [32] 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 ... 744 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2029656 times)
neptop
Sr. Member
****
Offline Offline

Activity: 314


View Profile
February 12, 2012, 03:28:58 PM
 #621

I keep getting the following error. It's on Arch Linux. Dependencies should be installed and everything seems to work well. It loads shares and build up connections, but after a few seconds this is what I get. Version 5250df6.

Code:
2012-02-12 16:16:08.016118 ... done processing 209 shares. New: 209 Have: 12263/~17280
2012-02-12 16:16:08.017009 > Watchdog timer went off at:
2012-02-12 16:16:08.017406 >   File "run_p2pool.py", line 5, in <module>
2012-02-12 16:16:08.017821 >     main.run()
2012-02-12 16:16:08.018156 >   File "/home/neptop/p2pool/p2pool/main.py", line 1186, in run
2012-02-12 16:16:08.018555 >     reactor.run()
2012-02-12 16:16:08.018952 >   File "/usr/lib/python2.7/site-packages/twisted/internet/base.py", line 1169, in run
2012-02-12 16:16:08.019369 >     self.mainLoop()
2012-02-12 16:16:08.019697 >   File "/usr/lib/python2.7/site-packages/twisted/internet/base.py", line 1181, in mainLoop
2012-02-12 16:16:08.020076 >     self.doIteration(t)
2012-02-12 16:16:08.020397 >   File "/usr/lib/python2.7/site-packages/twisted/internet/pollreactor.py", line 167, in doPoll
2012-02-12 16:16:08.020802 >     log.callWithLogger(selectable, _drdw, selectable, fd, event)
2012-02-12 16:16:08.021141 >   File "/usr/lib/python2.7/site-packages/twisted/python/log.py", line 84, in callWithLogger
2012-02-12 16:16:08.021505 >     return callWithContext({"system": lp}, func, *args, **kw)
2012-02-12 16:16:08.021837 >   File "/usr/lib/python2.7/site-packages/twisted/python/log.py", line 69, in callWithContext
2012-02-12 16:16:08.022236 >     return context.call({ILogContext: newCtx}, func, *args, **kw)
2012-02-12 16:16:08.022593 >   File "/usr/lib/python2.7/site-packages/twisted/python/context.py", line 118, in callWithContext
2012-02-12 16:16:08.022929 >     return self.currentContext().callWithContext(ctx, func, *args, **kw)
2012-02-12 16:16:08.023315 >   File "/usr/lib/python2.7/site-packages/twisted/python/context.py", line 81, in callWithContext
2012-02-12 16:16:08.023645 >     return func(*args,**kw)
2012-02-12 16:16:08.024056 >   File "/usr/lib/python2.7/site-packages/twisted/internet/posixbase.py", line 581, in _doReadOrWrite
2012-02-12 16:16:08.024390 >     why = selectable.doRead()
2012-02-12 16:16:08.024760 >   File "/usr/lib/python2.7/site-packages/twisted/internet/tcp.py", line 199, in doRead
2012-02-12 16:16:08.025098 >     rval = self.protocol.dataReceived(data)
2012-02-12 16:16:08.025468 >   File "/home/neptop/p2pool/p2pool/p2p.py", line 65, in new_dataReceived
2012-02-12 16:16:08.025849 >     old_dataReceived(data)
2012-02-12 16:16:08.026218 >   File "/home/neptop/p2pool/p2pool/util/datachunker.py", line 40, in _DataChunker
2012-02-12 16:16:08.026564 >     wants = receiver.send(buf.get(wants))
2012-02-12 16:16:08.026901 >   File "/home/neptop/p2pool/p2pool/bitcoin/p2p.py", line 64, in dataReceiver
2012-02-12 16:16:08.027286 >     self.packetReceived(command, payload2)
2012-02-12 16:16:08.027616 >   File "/home/neptop/p2pool/p2pool/p2p.py", line 78, in packetReceived
2012-02-12 16:16:08.028036 >     bitcoin_p2p.BaseProtocol.packetReceived(self, command, payload2)
2012-02-12 16:16:08.028457 >   File "/home/neptop/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
2012-02-12 16:16:08.028955 >     handler(**payload2)
2012-02-12 16:16:08.029299 >   File "/home/neptop/p2pool/p2pool/p2p.py", line 210, in handle_shares
2012-02-12 16:16:08.029705 >     self.node.handle_shares(res, self)
2012-02-12 16:16:08.030035 >   File "/home/neptop/p2pool/p2pool/main.py", line 269, in handle_shares
2012-02-12 16:16:08.030412 >     set_real_work2()
2012-02-12 16:16:08.030737 >   File "/home/neptop/p2pool/p2pool/main.py", line 184, in set_real_work2
2012-02-12 16:16:08.031094 >     best, desired = tracker.think(get_height_rel_highest, pre_current_work.value['previous_block'], pre_current_work.value['bits'])
2012-02-12 16:16:08.031445 >   File "/home/neptop/p2pool/p2pool/data.py", line 289, in think
2012-02-12 16:16:08.031773 >     if self.attempt_verify(share):
2012-02-12 16:16:08.032181 >   File "/home/neptop/p2pool/p2pool/data.py", line 268, in attempt_verify
2012-02-12 16:16:08.032523 >     share.check(self)
2012-02-12 16:16:08.032897 >   File "/home/neptop/p2pool/p2pool/data.py", line 133, in check
2012-02-12 16:16:08.033224 >     share_info, gentx = generate_transaction(tracker, self.share_info['share_data'], self.header['bits'].target, self.share_info['timestamp'], self.net)
2012-02-12 16:16:08.033666 >   File "/home/neptop/p2pool/p2pool/data.py", line 209, in generate_transaction
2012-02-12 16:16:08.034008 >     other_weights, other_total_weight, other_donation_weight = tracker.get_cumulative_weights(previous_share_hash, min(height, chain_length), 65535*max(0, max_att - this_att))
2012-02-12 16:16:08.034416 >   File "/home/neptop/p2pool/p2pool/util/skiplist.py", line 55, in __call__
2012-02-12 16:16:08.034746 >     updates[x] = updates[x][0], self.combine_deltas(updates[x][1], delta) if updates[x][1] is not None else delta
2012-02-12 16:16:08.035138 >   File "/home/neptop/p2pool/p2pool/skiplists.py", line 13, in combine_deltas
2012-02-12 16:16:08.035469 >     return share_count1 + share_count2, math.add_dicts(weights1, weights2), total_weight1 + total_weight2, total_donation_weight1 + total_donation_weight2
2012-02-12 16:16:08.035902 >   File "/home/neptop/p2pool/p2pool/util/math.py", line 64, in add_dicts
2012-02-12 16:16:08.036240 >     res[k] = res.get(k, 0) + v
2012-02-12 16:16:08.036595 >   File "/home/neptop/p2pool/p2pool/main.py", line 887, in <lambda>
2012-02-12 16:16:08.036934 >     sys.stderr.write, 'Watchdog timer went off at:\n' + ''.join(traceback.format_stack())
2012-02-12 16:16:08.111189 P2Pool: 12263 shares in chain (3622 verified/12263 total) Peers: 1 (0 incoming)

BitCoin address: 1E25UJEbifEejpYh117APmjYSXdLiJUCAZ
1480898151
Hero Member
*
Offline Offline

Posts: 1480898151

View Profile Personal Message (Offline)

Ignore
1480898151
Reply with quote  #2

1480898151
Report to moderator
1480898151
Hero Member
*
Offline Offline

Posts: 1480898151

View Profile Personal Message (Offline)

Ignore
1480898151
Reply with quote  #2

1480898151
Report to moderator
1480898151
Hero Member
*
Offline Offline

Posts: 1480898151

View Profile Personal Message (Offline)

Ignore
1480898151
Reply with quote  #2

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

Posts: 1480898151

View Profile Personal Message (Offline)

Ignore
1480898151
Reply with quote  #2

1480898151
Report to moderator
1480898151
Hero Member
*
Offline Offline

Posts: 1480898151

View Profile Personal Message (Offline)

Ignore
1480898151
Reply with quote  #2

1480898151
Report to moderator
1480898151
Hero Member
*
Offline Offline

Posts: 1480898151

View Profile Personal Message (Offline)

Ignore
1480898151
Reply with quote  #2

1480898151
Report to moderator
Andrew Vorobyov
Hero Member
*****
Offline Offline

Activity: 565



View Profile
February 12, 2012, 03:39:30 PM
 #622

Another question... can somebody comment why it is such big variance in mining speed?


Is it because of intensity in miner is not on maximum?

Can somebody explain why it is better to set intensity 20% below maximum? ( like -I 8 is better than -I 10 in cgminer)

forrestv
Hero Member
*****
Offline Offline

Activity: 510


View Profile
February 12, 2012, 04:09:45 PM
 #623

I keep getting the following error. It's on Arch Linux. Dependencies should be installed and everything seems to work well. It loads shares and build up connections, but after a few seconds this is what I get. Version 5250df6.

neptop, that's kind of normal if you're downloading the sharechain on a slow computer. The "Watchdog" errors just mean that P2Pool didn't respond for a while, in this case because it was spending time processing shares. This shouldn't happen in normal operation.

Another question... can somebody comment why it is such big variance in mining speed?

Is it because of intensity in miner is not on maximum?

Can somebody explain why it is better to set intensity 20% below maximum? ( like -I 8 is better than -I 10 in cgminer)

Seeing some variance is normal. P2Pool estimates your speed from the number of pseudoshares your miner submits, which varies randomly.

Lower intensities make your miner work on smaller chunks of work at a time, so they can start on a new one faster when a long poll comes in. However, I don't think that that is your problem because of the bulges in the dead rate... Maybe look in P2Pool's log around those times?

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
twmz
Hero Member
*****
Offline Offline

Activity: 737



View Profile
February 12, 2012, 04:11:30 PM
 #624

Another question... can somebody comment why it is such big variance in mining speed?


Is it because of intensity in miner is not on maximum?

Can somebody explain why it is better to set intensity 20% below maximum? ( like -I 8 is better than -I 10 in cgminer)

As I understand it, higher intensity just mean "hey, GPU, run for a longer period of time before asking for new work".  The idea is to minimize time wasted by constantly asking for more work.  But with p2pool, running for a long time without asking for new work means a higher probability that the GPU will spend time working on stale work.

Was I helpful?  1TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs
WoT, GPG

Bitrated user: ewal.
Andrew Vorobyov
Hero Member
*****
Offline Offline

Activity: 565



View Profile
February 12, 2012, 04:15:20 PM
 #625

Code:
Failure: twisted.internet.defer.TimeoutError: Getting http://127.0.0.1:8332/ took longer than 5 seconds.

Impossible - because they on the same server + I don't see any errors in log anyway.

Does bitcoin or p2pool use IPV6? I see this strange pattern in monitoring




ancow
Sr. Member
****
Offline Offline

Activity: 373


View Profile WWW
February 12, 2012, 04:23:06 PM
 #626

Code:
Failure: twisted.internet.defer.TimeoutError: Getting http://127.0.0.1:8332/ took longer than 5 seconds.

Impossible - because they on the same server + I don't see any errors in log anyway.

Definitely possible - bitcoind sometimes gets stuck for a little while and doesn't answer RPC queries.

BTC: 1GAHTMdBN4Yw3PU66sAmUBKSXy2qaq2SF4
Andrew Vorobyov
Hero Member
*****
Offline Offline

Activity: 565



View Profile
February 12, 2012, 04:23:50 PM
 #627

Maybe look in P2Pool's log around those times?

Is any other log rather that one that I at the output on the screen?

Andrew Vorobyov
Hero Member
*****
Offline Offline

Activity: 565



View Profile
February 12, 2012, 04:25:04 PM
 #628

Definitely possible - bitcoind sometimes gets stuck for a little while and doesn't answer RPC queries.

Can somebody give me bitcoin RPC gateway with no lags? I will pay Smiley

forrestv
Hero Member
*****
Offline Offline

Activity: 510


View Profile
February 12, 2012, 04:39:16 PM
 #629

Maybe look in P2Pool's log around those times?

Is any other log rather that one that I at the output on the screen?

There's a log file in data/bitcoin/log. Also, P2Pool doesn't use IPv6; The traffic displayed on that graph is tiny anyway.

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
kjj
Legendary
*
Offline Offline

Activity: 1302



View Profile
February 12, 2012, 05:29:00 PM
 #630

I've been working on a self-contained network-provisioned bitcoind + namecoind + p2pool USB stick.  I had horrible problems with bitcoind getting stuck for minutes at a time.

I came up with a solution, but it isn't pretty.  I run bitcoind entirely out of RAM now.

p2pcoin: a USB/CD/PXE p2pool miner - 1N8ZXx2cuMzqBYSK72X4DAy1UdDbZQNPLf - todo
I routinely ignore posters with paid advertising in their sigs.  You should too.
Andrew Vorobyov
Hero Member
*****
Offline Offline

Activity: 565



View Profile
February 12, 2012, 05:37:58 PM
 #631

I'm going to try this - https://github.com/bitcoinjs/bitcoinjs-server

forrestv
Hero Member
*****
Offline Offline

Activity: 510


View Profile
February 12, 2012, 05:55:41 PM
 #632


I don't think that that will work. It doesn't seem to support the "getmemorypool" RPC call.

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
ThiagoCMC
Legendary
*
Offline Offline

Activity: 1190


฿itcoin: Currency of Resistance!


View Profile WWW
February 12, 2012, 06:04:43 PM
 #633

I've been working on a self-contained network-provisioned bitcoind + namecoind + p2pool USB stick.  I had horrible problems with bitcoind getting stuck for minutes at a time.

I came up with a solution, but it isn't pretty.  I run bitcoind entirely out of RAM now.

I have precisely this setup working here...
BTW, I also have Devcoin and Litecoin working... My USB stick have 8G...
My machine have 1G of RAM...

Cheers!
Thiago

Mercado Forex acessível para todos os Brasileiros que tenham Bitcoins! Cadastre-se hoje mesmo! Bastar acessar aqui: https://1broker.com/m/r.php?i=8879
Regex
Newbie
*
Offline Offline

Activity: 23



View Profile
February 12, 2012, 06:10:38 PM
 #634

No block found for like 4h, something seriously stinks here.



 Roll Eyes


Gabi
Legendary
*
Offline Offline

Activity: 1050


View Profile
February 12, 2012, 06:23:27 PM
 #635

Quick, everyone go back on deepbit!
m3ta
Sr. Member
****
Offline Offline

Activity: 427



View Profile WWW
February 12, 2012, 06:25:13 PM
 #636

No block found for like 4h, something seriously stinks here.



 Roll Eyes




We found 7 blocks in 6.5 hours.
Yeah something stinks here: your concepts of "luck" and "variance". Smiley

Why the frell so many retards spell "ect" as an abbreviation of "Et Cetera"? "ETC", DAMMIT! http://en.wikipedia.org/wiki/Et_cetera

Host:/# rm -rf /var/forum/trolls
Red Emerald
Hero Member
*****
Offline Offline

Activity: 742



View Profile WWW
February 12, 2012, 06:28:28 PM
 #637

I've been working on a self-contained network-provisioned bitcoind + namecoind + p2pool USB stick.  I had horrible problems with bitcoind getting stuck for minutes at a time.

I came up with a solution, but it isn't pretty.  I run bitcoind entirely out of RAM now.

I have precisely this setup working here...
BTW, I also have Devcoin and Litecoin working... My USB stick have 8G...
My machine have 1G of RAM...

Cheers!
Thiago
Wonder what that will do to the lifespan of your flash drive.

Might be faster to install a small HD for the blockchains but still run the OS from the flash drive. Of course if you are doing that, might as well just run the whole OS from the HD...

m3ta
Sr. Member
****
Offline Offline

Activity: 427



View Profile WWW
February 12, 2012, 06:28:45 PM
 #638

No block found for like 4h, something seriously stinks here.



 Roll Eyes




We found 7 blocks in 6.5 hours.
Yeah something stinks here: your concepts of "luck" and "variance". Smiley


I'd bet 100 BTC, if I was a betting man, that he was being sarcastic.

I saw his smiley too. Didn't you didn't see mine? heh

Why the frell so many retards spell "ect" as an abbreviation of "Et Cetera"? "ETC", DAMMIT! http://en.wikipedia.org/wiki/Et_cetera

Host:/# rm -rf /var/forum/trolls
kjj
Legendary
*
Offline Offline

Activity: 1302



View Profile
February 12, 2012, 07:01:47 PM
 #639

I've been working on a self-contained network-provisioned bitcoind + namecoind + p2pool USB stick.  I had horrible problems with bitcoind getting stuck for minutes at a time.

I came up with a solution, but it isn't pretty.  I run bitcoind entirely out of RAM now.

I have precisely this setup working here...
BTW, I also have Devcoin and Litecoin working... My USB stick have 8G...
My machine have 1G of RAM...

Cheers!
Thiago

No, you are doing something else.  The bitcoin blk00001.dat file itself is over a gigabyte now, and the index is a couple hundred megs more.

p2pcoin: a USB/CD/PXE p2pool miner - 1N8ZXx2cuMzqBYSK72X4DAy1UdDbZQNPLf - todo
I routinely ignore posters with paid advertising in their sigs.  You should too.
wachtwoord
Legendary
*
Offline Offline

Activity: 1484



View Profile WWW
February 12, 2012, 07:13:50 PM
 #640

It's 952 MB < 1GB, and the index is 352 MB

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 [32] 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 ... 744 »
  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!