Bitcoin Forum
December 08, 2016, 10:13:10 PM *
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 »  All
  Print  
Author Topic: pushpool - open source pool software  (Read 114832 times)
kjj
Legendary
*
Offline Offline

Activity: 1302



View Profile
June 13, 2011, 11:13:00 PM
 #121

Run bitcoind on each server, alongside pushpoold. 

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

Posts: 1481235190

View Profile Personal Message (Offline)

Ignore
1481235190
Reply with quote  #2

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

Posts: 1481235190

View Profile Personal Message (Offline)

Ignore
1481235190
Reply with quote  #2

1481235190
Report to moderator
1481235190
Hero Member
*
Offline Offline

Posts: 1481235190

View Profile Personal Message (Offline)

Ignore
1481235190
Reply with quote  #2

1481235190
Report to moderator
jgarzik
Legendary
*
Offline Offline

Activity: 1470


View Profile
June 13, 2011, 11:21:38 PM
 #122

for example, multiple pushpools and multiple bitcoind?  multiple pushpools and one bitcoind?  other? 

Multiple pushpoold's and multiple bitcoind's.  The only question is about database scaling...


Jeff Garzik, bitcoin core dev team and BitPay engineer; opinions are my own, not my employer.
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
jgarzik
Legendary
*
Offline Offline

Activity: 1470


View Profile
June 14, 2011, 06:33:17 AM
 #123

Version 0.5 released.

Changes:

Jeff Garzik (2):
      applog: fix memory leak; check asprintf() return value
      Version 0.5.

Joerie de Gram (1):
      Make ntime rolling support configurable

Luke Dashjr (1):
      Bugfix: libraries must be in LDADD, not LDFLAGS

MtRed (1):
      memcached_get & memcached_set key length is off by 1. Double null make get

Shane Wegner (1):
      Output times on STDERR in human readable format.


Jeff Garzik, bitcoin core dev team and BitPay engineer; opinions are my own, not my employer.
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
Wuked
Member
**
Offline Offline

Activity: 112


View Profile WWW
June 15, 2011, 04:03:32 PM
 #124

Just to warn you that the 0.5 build in the .tar.gz file doesn't work correctly.

Ius has a fix, I think it's been pushed to github but I'm not 100% sure.

ius
Jr. Member
*
Offline Offline

Activity: 56


View Profile
June 15, 2011, 05:05:22 PM
 #125

To clarify; the standard error logging option (-E) is broken in 0.5 Trivial fix is submitted as a pull request: https://github.com/jgarzik/pushpool/pull/27

PGP: 0xCC06E446 Bitcoin: 19kdfgW1KXQgV7SCLEPAojtHxN9xotGkGH
Crs
Member
**
Offline Offline

Activity: 103



View Profile
June 15, 2011, 06:33:17 PM
 #126

question:does pushpool work with the namecoin chain ?

If my post has been useful, you might want to donate: 1V7zr2jmQQXS5gv2kKNpUkgG6qmDffTZp
redhatzero
Full Member
***
Offline Offline

Activity: 126



View Profile
June 17, 2011, 10:08:17 AM
 #127

Hi, is it possible that even if upstream_result is Y, that it's an invalid share?

I have such a case, that upstream_result is Y but nothing shows up in listtransactions :/

davout
Legendary
*
Offline Offline

Activity: 1358


1davout


View Profile WWW
June 17, 2011, 10:45:38 AM
 #128

Hi, is it possible that even if upstream_result is Y, that it's an invalid share?

I have such a case, that upstream_result is Y but nothing shows up in listtransactions :/
I suggest to not rely on listtransactions to monitor generated blocks.

The approach I use is the following :
 - track shares with upstream_result = 'Y'
 - calculate block hash directly from the share result (block header)
 - use the getblockbyhash RPC call to do the tracking and validate there's actually a block that has been generated

I think it's a much cleaner approach

redhatzero
Full Member
***
Offline Offline

Activity: 126



View Profile
June 17, 2011, 10:47:41 AM
 #129

thanks davout, i'll give that a try

eleuthria
Legendary
*
Offline Offline

Activity: 1750


BTC Guild Owner


View Profile WWW
June 17, 2011, 04:14:45 PM
 #130

Just to help anybody out there who is struggling with pushpool scaling like BTC Guild has:

The major bottleneck that you'll run into assuming your hardware is good is going to be the communications between bitcoind and pushpoold.  Every getwork and sendresult request is opening a new local socket for the communication, eventually running the server out of open sockets due to a huge number of TIME_WAITs.  Around 300-400 GH/sec, depending on the server TCP settings, you will hit a point where there are no ports available to open a new local socket.

Changing your servers tcp settings in /proc/sys/net/ipv4/ to the following can help, but its only a bandaid fix, you'll still run into issues:
  tcp_fin_timeout   - Changing this to a much lower value, such as 5.
  ip_local_port_range  -  Changing this to a setting such as 10000 65000

My C/C++ skills for networking are pretty rusty, so I haven't yet been able to come up with a fix to get pushpoold/bitcoind to reuse sockets rather than open new ones yet.

R.I.P. BTC Guild, 2011 - 2015.
BTC Guild Forum Thread
kripz
Full Member
***
Offline Offline

Activity: 182



View Profile
June 18, 2011, 02:28:03 AM
 #131

Is it possible to set up a local server to connect to an existing pool? I'll then connect my miners to the local server, Dial up is a bitch...

 Merged mining, free SMS notifications, PayPal payout and much more.
http://btcstats.net/sig/JZCODg2
redhatzero
Full Member
***
Offline Offline

Activity: 126



View Profile
June 18, 2011, 05:33:36 PM
 #132

more or less replying to eleuthria:

before I've updated to 0.5 I didn't have problems with the connections. But since I've updated, I'm running into these problems Sad (With about the same GHash rate...)

somebadger
Jr. Member
*
Offline Offline

Activity: 56



View Profile WWW
June 20, 2011, 01:51:49 PM
 #133

question:does pushpool work with the namecoin chain ?

yes it does, just interface with namecoind rpc Smiley

http://pool.betcoin.co/banners/1.sig.png <-- Click here to join me Smiley
--
Have I been helpful ? Kick some coins over to 1BLkDhijWne8dAhK4TA9dceUC6C6K6Fite Smiley
nodemaster
Full Member
***
Offline Offline

Activity: 176



View Profile WWW
June 20, 2011, 08:11:35 PM
 #134

Hi all,

I have no problem with TIME_WAITs at the moment. But I have a massive problem with CLOSE_WAITs from pushpoold:



If I restart pushpoold they vanish. I never saw the amount decreasing during normal operations. I'm using the current git Version. Does anybody know how to mitigate this issue?
Inaba
Legendary
*
Offline Offline

Activity: 1260



View Profile WWW
June 20, 2011, 09:04:37 PM
 #135

blkmond will close those.  It's not a great design decision that it requires blckmond to close the tcp due to the SIG USR1 it receives when there's an LP.  If blkmond fails you will eventually have too many open connections.


If you're searching these lines for a point, you've probably missed it.  There was never anything there in the first place.
nodemaster
Full Member
***
Offline Offline

Activity: 176



View Profile WWW
June 20, 2011, 09:54:45 PM
 #136

blkmond will close those.  It's not a great design decision that it requires blckmond to close the tcp due to the SIG USR1 it receives when there's an LP.  If blkmond fails you will eventually have too many open connections.



Thank you for your answer. This explains a bit Grin BTW I have blkmond running by fire and forget. I just start it with the configuration file as parameter and send it to the background using the job control, pipeing its output to the bit bucket. Is this the correct usage? I feel it should be a daemon which need to be restartet every time pushpoold is restartet (as it need to know the new PID)?! Or is it reading the PID from the file each loop?  However embedding it into a init-Skript is not that easy (due to the output) und thus I feel it is not intended to be startet as deamon. Am I right?
Inaba
Legendary
*
Offline Offline

Activity: 1260



View Profile WWW
June 20, 2011, 09:59:26 PM
 #137

Umm, I can't recall for sure, but I'm 99% positive it needs to be restarted when PP is restarted and gets a new PID.

If you're searching these lines for a point, you've probably missed it.  There was never anything there in the first place.
MrSam
Member
**
Offline Offline

Activity: 112



View Profile WWW
June 22, 2011, 09:47:16 AM
 #138

Please check my fork of pushpool for modified example-config and example db:
https://github.com/jine/pushpool

Smiley

Regards, Jim

I changed you insert to delayed inserts
d3c0n808
Member
**
Offline Offline

Activity: 113

Not Goxed


View Profile
June 25, 2011, 01:57:08 AM
 #139

I've been running pushpoold on my box for sometime and about every 12 hours of running or so it begins to error the error log says WARN too many open files anyone else run into any similar issues?

60 GH/s BFL Single SC - Pre-Order Yours Today!
`````` Only $1299.99 - butterflylabs.com ``````
Jine
Sr. Member
****
Offline Offline

Activity: 405


View Profile
June 25, 2011, 02:23:55 AM
 #140

Modifiy ulimit -n

Previous founder of Bit LC Inc. | I've always loved the idea of bitcoin.
Pages: « 1 2 3 4 5 6 [7] 8 9 10 11 12 »  All
  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!