jgarzik
Legendary
Offline
Activity: 1596
Merit: 1099
|
|
June 13, 2011, 11:21:38 PM |
|
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
|
|
|
jgarzik
Legendary
Offline
Activity: 1596
Merit: 1099
|
|
June 14, 2011, 06:33:17 AM |
|
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
|
|
June 15, 2011, 04:03:32 PM |
|
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.
|
|
|
|
|
Crs
Member
Offline
Activity: 107
Merit: 10
|
|
June 15, 2011, 06:33:17 PM |
|
question:does pushpool work with the namecoin chain ?
|
|
|
|
redhatzero
|
|
June 17, 2011, 10:08:17 AM |
|
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
Activity: 1372
Merit: 1007
1davout
|
|
June 17, 2011, 10:45:38 AM |
|
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
|
|
June 17, 2011, 10:47:41 AM |
|
thanks davout, i'll give that a try
|
|
|
|
eleuthria
Legendary
Offline
Activity: 1750
Merit: 1007
|
|
June 17, 2011, 04:14:45 PM Last edit: June 17, 2011, 04:32:16 PM by eleuthria |
|
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
|
|
June 18, 2011, 02:28:03 AM |
|
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...
|
|
|
|
redhatzero
|
|
June 18, 2011, 05:33:36 PM |
|
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 (With about the same GHash rate...)
|
|
|
|
somebadger
Member
Offline
Activity: 170
Merit: 10
|
|
June 20, 2011, 01:51:49 PM |
|
question:does pushpool work with the namecoin chain ?
yes it does, just interface with namecoind rpc
|
|
|
|
nodemaster
|
|
June 20, 2011, 08:11:35 PM |
|
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
Activity: 1260
Merit: 1000
|
|
June 20, 2011, 09:04:37 PM |
|
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
|
|
June 20, 2011, 09:54:45 PM |
|
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 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
Activity: 1260
Merit: 1000
|
|
June 20, 2011, 09:59:26 PM |
|
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
|
|
June 22, 2011, 09:47:16 AM |
|
I changed you insert to delayed inserts
|
|
|
|
d3c0n808
|
|
June 25, 2011, 01:57:08 AM |
|
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
|
|
June 25, 2011, 02:23:55 AM |
|
Modifiy ulimit -n
|
Previous founder of Bit LC Inc. | I've always loved the idea of bitcoin.
|
|
|
Vladimir
|
|
June 25, 2011, 08:48:01 AM |
|
Anyone got it to compile on freebsd yet? Any pointers?
|
-
|
|
|
|