Bitcoin Forum
April 23, 2024, 09:30:57 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 [7] 8 9 10 11 »  All
  Print  
Author Topic: pushpool - open source pool software  (Read 120157 times)
jgarzik
Legendary
*
Offline Offline

Activity: 1596
Merit: 1091


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

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, Bloq CEO, former bitcoin core dev team; opinions are my own.
Visit bloq.com / metronome.io
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
1713907857
Hero Member
*
Offline Offline

Posts: 1713907857

View Profile Personal Message (Offline)

Ignore
1713907857
Reply with quote  #2

1713907857
Report to moderator
1713907857
Hero Member
*
Offline Offline

Posts: 1713907857

View Profile Personal Message (Offline)

Ignore
1713907857
Reply with quote  #2

1713907857
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
jgarzik
Legendary
*
Offline Offline

Activity: 1596
Merit: 1091


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

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, Bloq CEO, former bitcoin core dev team; opinions are my own.
Visit bloq.com / metronome.io
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
Wuked
Member
**
Offline Offline

Activity: 112
Merit: 10


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

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
Newbie
*
Offline Offline

Activity: 56
Merit: 0


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

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
Crs
Member
**
Offline Offline

Activity: 107
Merit: 10



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

question:does pushpool work with the namecoin chain ?
redhatzero
Full Member
***
Offline Offline

Activity: 126
Merit: 100



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

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: 1372
Merit: 1007


1davout


View Profile WWW
June 17, 2011, 10:45:38 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 :/
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
Merit: 100



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

thanks davout, i'll give that a try

eleuthria
Legendary
*
Offline Offline

Activity: 1750
Merit: 1007



View Profile
June 17, 2011, 04:14:45 PM
Last edit: June 17, 2011, 04:32:16 PM by eleuthria
 #129

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.

RIP BTC Guild, April 2011 - June 2015
kripz
Full Member
***
Offline Offline

Activity: 182
Merit: 100


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

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
Merit: 100



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

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
Member
**
Offline Offline

Activity: 170
Merit: 10



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

question:does pushpool work with the namecoin chain ?

yes it does, just interface with namecoind rpc Smiley
nodemaster
Full Member
***
Offline Offline

Activity: 176
Merit: 100



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

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
Merit: 1000



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

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
Merit: 100



View Profile WWW
June 20, 2011, 09:54:45 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.



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
Merit: 1000



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

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
Merit: 10



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

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
Full Member
***
Offline Offline

Activity: 434
Merit: 101


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

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?
Jine
Sr. Member
****
Offline Offline

Activity: 403
Merit: 250


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

Modifiy ulimit -n

Previous founder of Bit LC Inc. | I've always loved the idea of bitcoin.
Vladimir
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1001


-


View Profile
June 25, 2011, 08:48:01 AM
 #140

Anyone got it to compile on freebsd yet? Any pointers?

-
Pages: « 1 2 3 4 5 6 [7] 8 9 10 11 »  All
  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!