Bitcoin Forum
November 07, 2024, 06:54:02 PM *
News: Latest Bitcoin Core release: 28.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 120193 times)
turlando
Full Member
***
Offline Offline

Activity: 350
Merit: 100



View Profile
June 02, 2011, 03:32:09 PM
 #101

I found this log:
Code:
% tail /tmp/request.log
[2011-06-02 13:48:43.821358] ::ffff:192.168.1.210 - "/"
[2011-06-02 13:49:13.826827] ::ffff:192.168.1.210 - "/"
[2011-06-02 13:49:43.833494] ::ffff:192.168.1.210 - "/"
[2011-06-02 13:50:13.838898] ::ffff:192.168.1.210 - "/"
[2011-06-02 13:50:43.844413] ::ffff:192.168.1.210 - "/"
[2011-06-02 13:51:13.851388] ::ffff:192.168.1.210 - "/"
[2011-06-02 13:51:43.856926] ::ffff:192.168.1.210 - "/"
[2011-06-02 14:07:14.385247] ::ffff:192.168.1.210 - "/"
[2011-06-02 14:07:31.446938] ::ffff:192.168.1.210 - "/"
[2011-06-02 15:16:10.756269] ::ffff:192.168.1.210 - "/"

memcached is running properly:
Code:
% rc.d restart memcached
:: Stopping memcached                                                                                                               [DONE]
:: Starting memcached                                                                                                               [DONE]

I also added to /etc/hosts.allow:
Code:
pushpoold: ALL
Jine
Sr. Member
****
Offline Offline

Activity: 403
Merit: 250


View Profile
June 03, 2011, 01:57:26 AM
 #102

I'm personally having scalability issues (i think?) with Deb+pushpoold.

We're serving ~200 workers over at Bitcoins.lc, and I'm getting errors like this all the time.
Quote
[2011-06-03 03:55:36] thread 2: 97416096 hashes, 1618.00 khash/sec
[2011-06-03 03:55:36] JSON-RPC call failed: {
   "code": -2,
   "message": "upstream RPC error"
}
[2011-06-03 03:55:36] json_rpc_call failed, retry after 30 seconds
[2011-06-03 03:55:37] thread 3: 97416096 hashes, 1624.76 khash/sec

Why is "bitcoind" refusing to give out work sometimes?
Hosted on a 8 CPU VPS with lots of ram.

Any suggestions?
Bounty for solving this problem is a couple of BTC, easily.

EDIT: Also:
Quote
Jun  3 03:57:01 bitcoins pushpoold[9380]: HTTP request failed: couldn't connect to host
Jun  3 03:57:01 bitcoins pushpoold[9380]: HTTP request failed: couldn't connect to host
Jun  3 03:57:01 bitcoins pushpoold[9380]: HTTP request failed: couldn't connect to host

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

Activity: 403
Merit: 250


View Profile
June 03, 2011, 02:03:52 AM
 #103

I'm also seeing shitload of TIME_WAIT connections between the upstream and pushpoold:

Quote
tcp        0      0 127.0.0.1:8332          127.0.0.1:14446         TIME_WAIT   -
tcp        0      0 127.0.0.1:8332          127.0.0.1:14412         TIME_WAIT   -
tcp        0      0 127.0.0.1:8332          127.0.0.1:14276         TIME_WAIT   -
tcp        0      0 127.0.0.1:8332          127.0.0.1:14233         TIME_WAIT   -
tcp        0      0 127.0.0.1:8332          127.0.0.1:15052         TIME_WAIT   -
tcp        0      0 127.0.0.1:8332          127.0.0.1:14314         TIME_WAIT   -
tcp        0      0 127.0.0.1:8332          127.0.0.1:14667         TIME_WAIT   -
tcp        0      0 127.0.0.1:8332          127.0.0.1:14726         TIME_WAIT   -
tcp        0      0 127.0.0.1:8332          127.0.0.1:14822         TIME_WAIT   -
tcp        0      0 127.0.0.1:8332          127.0.0.1:14548         TIME_WAIT   -
tcp        0      0 127.0.0.1:8332          127.0.0.1:14499         TIME_WAIT   -
tcp        0      0 127.0.0.1:8332          127.0.0.1:14335         TIME_WAIT   -
tcp        0      0 127.0.0.1:8332          127.0.0.1:14677         TIME_WAIT   -
tcp        0      0 127.0.0.1:8332          127.0.0.1:13976         TIME_WAIT   -
tcp        0      0 127.0.0.1:8332          127.0.0.1:14348         TIME_WAIT   -
tcp        0      0 127.0.0.1:8332          127.0.0.1:14320         TIME_WAIT   -
tcp        0      0 127.0.0.1:8332          127.0.0.1:14949         TIME_WAIT   -
tcp        0      0 127.0.0.1:8332          127.0.0.1:13990         TIME_WAIT   -
tcp        0      0 127.0.0.1:8332          127.0.0.1:14439         TIME_WAIT   -
tcp        0      0 127.0.0.1:8332          127.0.0.1:15063         TIME_WAIT   -
tcp        0      0 127.0.0.1:8332          127.0.0.1:14371         TIME_WAIT   -
tcp        0      0 127.0.0.1:8332          127.0.0.1:14618         TIME_WAIT   -
tcp        0      0 127.0.0.1:8332          127.0.0.1:13959         TIME_WAIT   -
tcp        0      0 127.0.0.1:8332          127.0.0.1:14995         TIME_WAIT   -
tcp        0      0 127.0.0.1:8332          127.0.0.1:14513         TIME_WAIT   -
tcp        0      0 127.0.0.1:8332          127.0.0.1:14593         TIME_WAIT   -
tcp        0      0 127.0.0.1:8332          127.0.0.1:14952         TIME_WAIT   -
tcp        0      0 127.0.0.1:8332          127.0.0.1:14322         TIME_WAIT   -
tcp        0      0 127.0.0.1:8332          127.0.0.1:14563         TIME_WAIT   -
tcp        0      0 127.0.0.1:8332          127.0.0.1:14355         TIME_WAIT   -
Quote
root@bitcoins:/usr/src/pushpool# netstat -anp | grep 8332 | wc -l
1508

Previous founder of Bit LC Inc. | I've always loved the idea of bitcoin.
xf2_org (OP)
Member
**
Offline Offline

Activity: 98
Merit: 13


View Profile
June 03, 2011, 02:06:29 AM
 #104

See comments in the other thread by BTCguild pool operator (elethuria(sp??)).
Jine
Sr. Member
****
Offline Offline

Activity: 403
Merit: 250


View Profile
June 03, 2011, 02:22:24 AM
 #105

Going through his posts as we speak, could you point me in any more specific direction?
Only thing i can thinks of is amount of opened files (ulimit -n)

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

Activity: 854
Merit: 1000


View Profile
June 07, 2011, 07:21:18 AM
 #106

Has anyone been able to get pushpool working on an CentOS system?
FreddyE
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
June 07, 2011, 09:28:10 AM
 #107

Is it possibly to compile this for windows? I got visual studio but how would I go about all those dependencies?
error
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500



View Profile
June 07, 2011, 09:46:11 AM
 #108

Has anyone been able to get pushpool working on an CentOS system?

Yes. Are you having a specific issue?

Is it possibly to compile this for windows? I got visual studio but how would I go about all those dependencies?

No. Even if you could compile it, you don't even want to THINK about running anything serious like this on Windows.

3KzNGwzRZ6SimWuFAgh4TnXzHpruHMZmV8
davout
Legendary
*
Offline Offline

Activity: 1372
Merit: 1008


1davout


View Profile WWW
June 07, 2011, 09:57:57 AM
 #109

Is it possibly to compile this for windows? I got visual studio but how would I go about all those dependencies?
Why, do you want to run it on your windows mobile phone ? Cheesy

FreddyE
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
June 07, 2011, 11:39:29 AM
 #110

No, but I have a webserver running on windows.
FreddyE
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
June 07, 2011, 11:42:49 AM
 #111


No. Even if you could compile it, you don't even want to THINK about running anything serious like this on Windows.

What a strange thing to say...
Who says you can´t run anything serious on Windows?
davout
Legendary
*
Offline Offline

Activity: 1372
Merit: 1008


1davout


View Profile WWW
June 07, 2011, 12:11:41 PM
 #112

What a strange thing to say...
Who says you can´t run anything serious on Windows?
You can successfully run serious stuff on windows, but if you try to run open source software that was built on and runs on linux you're on your own, nobody wants to deal with the CLR... Do you hear a lot from the Mono project ? I don't Smiley

I managed to install a full Ruby on Rails stack on windows, but god that was painful at some times, especially when you need some special extension that automagically gets compiled on linux but not on windows...

FreddyE
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
June 08, 2011, 05:25:53 AM
 #113

Yeah....manually clearing all dependencies is the issue. Oh well...seems I´m just going to install Ubuntu on a second partition.
CubedRoot
Sr. Member
****
Offline Offline

Activity: 291
Merit: 250


View Profile
June 08, 2011, 05:07:39 PM
 #114

Right now I have my own IBM xSeries 346 with 8 gig ram and dual Xeon 3.8's running on a raid 5  with 6 scsi ultra 320's (15k RPM) array that has almost 750 gig available storage.  I have it colocated in a nice datacenter and have 13 IP's available for use on it.  It is connected to the network by 2 100meg circuits, which I have nic bonding setup for.

I am running Centos 5.6 on it right now, and I also run DirectAdmin on it and host about 38 sites on the machine. I currently have almost no load on the box with these accounts.  I also have 1.5 TB of transfer free in my SLA with the datacenter.

I am wanting to start a semi private pool for me and a few friends and possibly some more folks later on. I have been looking at pushpool for the backend, and a good friend of mine is a damn good php and sql programmer by trade.  He has agreed to do the webfrontend and DB side of things.  Is there any documentation on setting up pushpool on Centos 5.6 that I can read up on to learn about it?  
Jine
Sr. Member
****
Offline Offline

Activity: 403
Merit: 250


View Profile
June 08, 2011, 05:12:32 PM
 #115

I'm having a hard time figuring out why my bitcoind+pushpoold setup is resulting in about 5-6% stale/duplicated.
Any ideas - anyone?!

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

Activity: 126
Merit: 100


View Profile
June 08, 2011, 05:17:30 PM
 #116

I'm having a hard time figuring out why my bitcoind+pushpoold setup is resulting in about 5-6% stale/duplicated.
Any ideas - anyone?!
You said "Finally a usable bitcoin pool" Seems that may not be the case.
davout
Legendary
*
Offline Offline

Activity: 1372
Merit: 1008


1davout


View Profile WWW
June 08, 2011, 05:43:06 PM
 #117

You said "Finally a usable bitcoin pool" Seems that may not be the case.
The intended audience are developers, and it's perfectly usable for developers Smiley

genewitch
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
June 11, 2011, 03:27:05 AM
Last edit: June 11, 2011, 03:55:15 AM by genewitch
 #118

Pushpool on gentoo won't compile, make log below:

http://paste.pocoo.org/show/404358/

damn, remove --as-needed, run make clean && make, let it fail copy the line that says gcc and take out the ,-O1 -W1, part. the commas were breaking the command. is this gentoo's make's fault or some other script that is breaking?


gcc  -g -O2 -pthread -Wl,-O1 -Wl,-rdynamic -L/usr/lib64/mysql -lmysqlclient -L/usr/lib64 -lz -lcrypt -lnsl -lm -L/usr/lib64/ -lssl -lcrypto  -o pushpoold hist.o htab.o anet.o config.o msg.o server.o util.o db-sqlite.o db-mysql.o db-postgresql.o -lcurl -lssl -lcrypto -lrt -lssl -lcrypto -ldl -lz -lz -levent -lpthread -ljansson -lcrypto -lz -lmemcached

becomes
 gcc  -g -O2 -pthread -Wl -rdynamic -L/usr/lib64/mysql -lmysqlclient -L/usr/lib64 -lz -lcrypt -lnsl -lm -L/usr/lib64/ -lssl -lcrypto  -o pushpoold hist.o htab.o anet.o config.o msg.o server.o util.o db-sqlite.o db-mysql.o db-postgresql.o -lcurl -lssl -lcrypto -lrt -lssl -lcrypto -ldl -lz -lz -levent -lpthread -ljansson -lcrypto -lz -lmemcached

testing it now.
itsagas
Newbie
*
Offline Offline

Activity: 59
Merit: 0


View Profile
June 13, 2011, 11:06:50 PM
 #119

what is the best way to scale pushpool and make it distributed. 

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

if for example we wanted one server in EU, one in USA and the users to share the work and the pool acts like one big pool with common accounts / workers database.
kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1026



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

Run bitcoind on each server, alongside pushpoold. 

17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8
I routinely ignore posters with paid advertising in their sigs.  You should too.
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!