Bitcoin Forum
December 08, 2016, 08:15:28 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   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 114809 times)
martok
Full Member
***
Offline Offline

Activity: 140


View Profile
June 29, 2011, 02:24:04 AM
 #161

Have you changed your hard and soft file limits?

/etc/security/limits.conf:
Quote
root     soft    nofile      34096
root     hard    nofile      34096

Once I point lots of Ghps to this it does not live much longer than 5 minutes, perhaps simply not enough time between solved blocks.
Well that changes the limit for root. But you are not running pushpool as root right? Smiley
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481184928
Hero Member
*
Offline Offline

Posts: 1481184928

View Profile Personal Message (Offline)

Ignore
1481184928
Reply with quote  #2

1481184928
Report to moderator
1481184928
Hero Member
*
Offline Offline

Posts: 1481184928

View Profile Personal Message (Offline)

Ignore
1481184928
Reply with quote  #2

1481184928
Report to moderator
Vladimir
Hero Member
*****
Offline Offline

Activity: 812


-


View Profile
June 29, 2011, 03:35:49 AM
 #162

Yes I am actually running it as root.

...

preparing to hear a patronizing lecture on how it is bad to run things as root....



-
Inaba
Legendary
*
Offline Offline

Activity: 1260



View Profile WWW
June 29, 2011, 03:41:26 AM
 #163

Add this as well:

   /etc/sysctl.conf
      fs.file-max = 200000
      net.ipv4.tcp_fin_timeout = 10
      net.ipv4.ip_local_port_range = 10000 65000

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

Activity: 298


View Profile WWW
June 29, 2011, 11:22:40 AM
 #164


Under Centos 5.5 when compiling pushpool 0.5 I get this errrors:

/root/pushpool05/pushpool-0.5/msg.c:562: undefined reference to `htole32'
server.o: In function `cli_send_hdronly':
/root/pushpool05/pushpool-0.5/server.c:328: undefined reference to `htole32'
server.o: In function `cjson_encode':
/root/pushpool05/pushpool-0.5/server.c:231: undefined reference to `htole32'
/root/pushpool05/pushpool-0.5/server.c:234: undefined reference to `htole32'
server.o: In function `cjson_decode':
/root/pushpool05/pushpool-0.5/server.c:167: undefined reference to `le32toh'
server.o: In function `cli_read_hdr':
/root/pushpool05/pushpool-0.5/server.c:468: undefined reference to `le32toh'
collect2: ld returned 1 exit status
make[1]: *** [pushpoold] Error 1

Can someone define htole32 and le32toh since they are not part of ansi C, and therefore fail to compile under Centos 5.5 using gcc 4.1.2

Thanks


kjj
Legendary
*
Offline Offline

Activity: 1302



View Profile
June 29, 2011, 11:34:45 AM
 #165

Under Centos 5.5 when compiling pushpool 0.5 I get this errrors:

/root/pushpool05/pushpool-0.5/msg.c:562: undefined reference to `htole32'
server.o: In function `cli_send_hdronly':
/root/pushpool05/pushpool-0.5/server.c:328: undefined reference to `htole32'
server.o: In function `cjson_encode':
/root/pushpool05/pushpool-0.5/server.c:231: undefined reference to `htole32'
/root/pushpool05/pushpool-0.5/server.c:234: undefined reference to `htole32'
server.o: In function `cjson_decode':
/root/pushpool05/pushpool-0.5/server.c:167: undefined reference to `le32toh'
server.o: In function `cli_read_hdr':
/root/pushpool05/pushpool-0.5/server.c:468: undefined reference to `le32toh'
collect2: ld returned 1 exit status
make[1]: *** [pushpoold] Error 1

Can someone define htole32 and le32toh since they are not part of ansi C, and therefore fail to compile under Centos 5.5 using gcc 4.1.2

The answer is way back on page 3.

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

Activity: 448


View Profile
July 03, 2011, 12:26:58 AM
 #166

Hey

trying to compile pushpoold on 64bit debian


kokade:~/bc/pushpool-0.5.1# make
make  all-am
make[1]: Entering directory `/root/bc/pushpool-0.5.1'
gcc  -O2 -Wall -g -I/usr/local/include -pthread -L/usr/local/lib -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 -levent -lpthread -ljansson -lcrypto -lz -lmemcached -L/usr/lib -lpq
msg.o: In function `cli_op_work_get':
/root/bc/pushpool-0.5.1/msg.c:562: undefined reference to `htole32'
server.o: In function `cjson_decode':
/root/bc/pushpool-0.5.1/server.c:167: undefined reference to `le32toh'
server.o: In function `cli_send_hdronly':
/root/bc/pushpool-0.5.1/server.c:328: undefined reference to `htole32'
server.o: In function `cjson_encode':
/root/bc/pushpool-0.5.1/server.c:231: undefined reference to `htole32'
/root/bc/pushpool-0.5.1/server.c:234: undefined reference to `htole32'
server.o: In function `cli_read_hdr':
/root/bc/pushpool-0.5.1/server.c:468: undefined reference to `le32toh'
collect2: ld returned 1 exit status
make[1]: *** [pushpoold] Error 1
make[1]: Leaving directory `/root/bc/pushpool-0.5.1'
make: *** [all] Error 2
kokade:~/bc/pushpool-0.5.1#


Any ideas?  endian.h exists, is it to do with it being 64bit arch?
dikidera
Full Member
***
Offline Offline

Activity: 126


View Profile
July 03, 2011, 02:53:57 AM
 #167

Hey

trying to compile pushpoold on 64bit debian


kokade:~/bc/pushpool-0.5.1# make
make  all-am
make[1]: Entering directory `/root/bc/pushpool-0.5.1'
gcc  -O2 -Wall -g -I/usr/local/include -pthread -L/usr/local/lib -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 -levent -lpthread -ljansson -lcrypto -lz -lmemcached -L/usr/lib -lpq
msg.o: In function `cli_op_work_get':
/root/bc/pushpool-0.5.1/msg.c:562: undefined reference to `htole32'
server.o: In function `cjson_decode':
/root/bc/pushpool-0.5.1/server.c:167: undefined reference to `le32toh'
server.o: In function `cli_send_hdronly':
/root/bc/pushpool-0.5.1/server.c:328: undefined reference to `htole32'
server.o: In function `cjson_encode':
/root/bc/pushpool-0.5.1/server.c:231: undefined reference to `htole32'
/root/bc/pushpool-0.5.1/server.c:234: undefined reference to `htole32'
server.o: In function `cli_read_hdr':
/root/bc/pushpool-0.5.1/server.c:468: undefined reference to `le32toh'
collect2: ld returned 1 exit status
make[1]: *** [pushpoold] Error 1
make[1]: Leaving directory `/root/bc/pushpool-0.5.1'
make: *** [all] Error 2
kokade:~/bc/pushpool-0.5.1#


Any ideas?  endian.h exists, is it to do with it being 64bit arch?
You dont deserve any help if you failed to read the previous post.
AndyRossy
Sr. Member
****
Offline Offline

Activity: 448


View Profile
July 03, 2011, 08:19:51 AM
 #168

oops, true this.  I thought it was to do with endian.h - which seems to exist and be included. Mucho apologies.

doing the fix mentioned earlier (some macro + another include) seems to have made it compile, but, not tested it out yet.

For reference, also on Lenny debian.

kokade:~/bc/pushpool-0.5.1# cat /proc/version
Linux version 2.6.26-2-amd64 (Debian 2.6.26-26lenny2) (dannf@debian.org) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 SMP Tue Jan 25 05:59:43 UTC 2011


zapnap
Newbie
*
Offline Offline

Activity: 5


View Profile
July 04, 2011, 03:56:20 PM
 #169

I patched pushpool awhile back so it would compile on OS X but I still seem to have some issues getting clients to talk to it. Is anyone else having any level of success on OS X or *BSD platforms with the endian fixes?
AndyRossy
Sr. Member
****
Offline Offline

Activity: 448


View Profile
July 04, 2011, 04:07:22 PM
 #170

No, but the debian fixes should work fine on BSD. 
zapnap
Newbie
*
Offline Offline

Activity: 5


View Profile
July 04, 2011, 07:49:56 PM
 #171

Actually it looks like the issues I'm seeing on OS X have nothing at all to do with the endianness. Content-length seems to be incorrect here for some reason. Investigating now. If anyone else is trying to run pushpool on OS X, please drop me a note. Would love to compare notes / sanity check.

Update: the problem had to do with strndup on OS X. Fixed and pushed to my fork at http://github.com/zapnap/pushpool. If someone else is using OS X I'd love to hear from you Smiley.
LehmanSister
Member
**
Offline Offline

Activity: 68


High Desert Dweller-Where Space and Time Meet $


View Profile
July 07, 2011, 03:04:27 AM
 #172

Feature Request:

I'd like to be able to do have a status() call to go along with getwork() by default.

Currently, what I do is try to connect to the pool before launching a miner on it, authorize appropriately, then GET /, to see if i get a 400 code. I'd rather be able to get back a dict with information like:

"next_scheduled_downtime"
"switch_to_this_pool_server"
"load"
"administrator_note"

Ratelimiting status() would be fine as well, as saying "we're up, but we don't know you well enough to let you use status() yet".

I also don't want my bad requests to make the system think I'm attacking it.

ISO: small island nations with large native populations excited to pay tribute to flying gods, will trade BTC.
Xenland
Legendary
*
Offline Offline

Activity: 980


I'm not just any shaman, I'm a Sha256man


View Profile
July 07, 2011, 05:11:07 AM
 #173

Feature Request:

I'd like to be able to do have a status() call to go along with getwork() by default.

Currently, what I do is try to connect to the pool before launching a miner on it, authorize appropriately, then GET /, to see if i get a 400 code. I'd rather be able to get back a dict with information like:

"next_scheduled_downtime"
"switch_to_this_pool_server"
"load"
"administrator_note"

Ratelimiting status() would be fine as well, as saying "we're up, but we don't know you well enough to let you use status() yet".

I also don't want my bad requests to make the system think I'm attacking it.
1+

Great idea this would help alot of confusion with many users and debugging setups
nexus
Newbie
*
Offline Offline

Activity: 6


View Profile
July 11, 2011, 01:55:05 PM
 #174

Would be cool if we got a windows build
Inaba
Legendary
*
Offline Offline

Activity: 1260



View Profile WWW
July 17, 2011, 05:20:42 AM
 #175

Would be cool if we got a windows build

I can't imagine this ever working under windows; the tweaks you'd have to do would be ... incredibly time consuming.

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

Activity: 280


View Profile
July 18, 2011, 05:49:24 PM
 #176

Does anybody see any potential problems with this upcoming namecoin/bitcoin merged mining addon?
Furyan
Full Member
***
Offline Offline

Activity: 175



View Profile
July 19, 2011, 10:13:23 PM
 #177

Would be cool if we got a windows build

I can't imagine this ever working under windows; the tweaks you'd have to do would be ... incredibly time consuming.


Would make much more sense to build one natively for windows.

I will be doing that at some point. Someone else has already started but it isn't very far along.
DavinciJ15
Hero Member
*****
Offline Offline

Activity: 750


Bitcoin - helping to end bankster enslavement.


View Profile WWW
August 04, 2011, 03:29:17 PM
 #178

I am not sure if I got blkmon running correctly on my pool at nmcbit.com
I would run it and it would connect and disconnect like this...

Code:
Connecting
connected
close
close

I looked at the source code and I looks like its looking to see if a new block is found and killing the pushpoold I jjust did not find where it starts it up again.  Anyhow I switch the port that was set in blkmond.conf file to the RPC port and it stayed connected but it's not doing anything.

My problem is pushpoold stops working a while after it finds a block.

Can anyone help?
shads
Full Member
***
Offline Offline

Activity: 224


View Profile WWW
August 05, 2011, 10:06:28 AM
 #179

Would be cool if we got a windows build

I can't imagine this ever working under windows; the tweaks you'd have to do would be ... incredibly time consuming.


Would make much more sense to build one natively for windows.

I will be doing that at some point. Someone else has already started but it isn't very far along.

PoolserverJ will run under windows as a service.

PoolServerJ Home Page - High performance java mining pool engine

1LezqRatQz7MeNoCVziYwcdwtqeEbvrdAq - http://payb.tc/shads

Quote from: Matthew N. Wright
Stop wasting the internet.
Furyan
Full Member
***
Offline Offline

Activity: 175



View Profile
August 09, 2011, 09:26:31 PM
 #180

Would be cool if we got a windows build

I can't imagine this ever working under windows; the tweaks you'd have to do would be ... incredibly time consuming.


Would make much more sense to build one natively for windows.

I will be doing that at some point. Someone else has already started but it isn't very far along.

PoolserverJ will run under windows as a service.

Yep - I've posted in your PoolServerJ thread - I'm very very interested in this project.
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!