Bitcoin Forum
May 10, 2024, 08:18:46 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 [7] 8 »  All
  Print  
Author Topic: PoolServerJ - Tech Support  (Read 27446 times)
50BTC.com
Hero Member
*****
Offline Offline

Activity: 575
Merit: 500


PPS pool


View Profile WWW
February 02, 2012, 05:23:10 PM
 #121

We are evaluating PoolServerJ for our mining pool, 50btc.com, as replacement for pushpoold. There are few problems we have encountered during testing; can anyone help with them?

We are running Scientific Linux 6.1, java version java-1.6.0-openjdk-1.6.0.0-1.40.1.9.10, poolserverj 0.4.0rc7 (rc2 + rc7 patch), stock bitcoind 0.5.2.

First problem is that currently PoolServerJ doesn't support postgresql properly. For example, with settings
Code:
db.engine=postgresql
db.host=dbserver
db.name=pool
db.schema=public
db.port=5432
db.user=pooluser
db.password=pass
It incorrectly forms connectiong string, it prints
[20:54:18.678] Connecting to DB URL: jdbc:postgresql:pool//dbserver:5432/public?autoReconnect=true
and then always connects to localhost, not "dbserver"

If I understand correctly, specifying connection string in jdbc:postgresql:<database> form can be used only for localhost connections, according to documentation http://jdbc.postgresql.org/documentation/80/connect.html. So jdbc happily ignores dbserver and port, which makes poolserverj connect only to localhost.

We wouldn't mind to fix that issue, but there are no sources for this part of server (shadtools-sql), even in source repository there is only binary .jar. Therefore, we really can't do anything. Currently, for testing we have installed redirecting proxy for postgresql which forwards requests from localhost to real database server, but for production it would be nice to fix that issue properly. This problem is present both in 0.4.0 and git version.

Second problem is that we want users to authorize with any password, as long as they are registered on pool. There is auth engine called AnyPasswordWorkerAuthenticator which supposed to do the trick, but it doesn't do as advertised. Namely, it does allow to log in with any password, but not without password - when logging in with username only (we tried guiminer+poclbm and minerd) it still returns "401 Unauthorized". Of course, it's set up as it's supposed to

Code:
authenticatorEngine=com.shadworld.poolserver.servlet.auth.AnyPasswordWorkerAuthenticator
authenticatorEngine.extraParams=true, false

and I have looked at its simple code a few times but still can't figure out why it won't allow empty password. Could it be that there is a bug in other code which rejects empty password before it's processed by AnyPasswordWorkerAuthenticator?

50btc.com - PPS pool, instant payout (Visa, Liberty Reserve, QIWI, Yandex.Money, WebMoney,...), API, fast and responsible support, pay for stale shares.
"In a nutshell, the network works like a distributed timestamp server, stamping the first transaction to spend a coin. It takes advantage of the nature of information being easy to spread but hard to stifle." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
EnergyVampire
Full Member
***
Offline Offline

Activity: 210
Merit: 100



View Profile
February 07, 2012, 07:48:21 AM
 #122

Hello, I get this error

Code:
Exception in thread "block-chain-tracker" java.lang.NullPointerException
at com.shadworld.poolserver.source.daemonhandler.JsonRpcDaemonHandler.doBlockCheck(JsonRpcDaemonHandler.java:83)
at com.shadworld.poolserver.BlockChainTracker.fireBlockCheck(BlockChainTracker.java:453)
at com.shadworld.poolserver.BlockChainTracker.run(BlockChainTracker.java:485)

when starting up.

Using: poolserverj-0.4.0rc2

Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1862
Merit: 1011

Reverse engineer from time to time


View Profile
February 15, 2012, 07:11:07 PM
 #123

Even though I do

Quote
source.local.1.rewriteDifficultyTarget=0000000000000000000000000000000000000000000000000000333300000000

###default true = set to false if you want to PoolServerJ as a proxy for non-pool mining
source.local.1.rewriteDifficulty=false

or even

Quote
source.local.1.rewriteDifficultyTarget=0000000000000000000000000000000000000000000000000000333300000000

###default true = set to false if you want to PoolServerJ as a proxy for non-pool mining
source.local.1.rewriteDifficulty=true

The difficulty is NOT rewritten. It stays at it's default state

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
12gaFacelift
Sr. Member
****
Offline Offline

Activity: 277
Merit: 250



View Profile
February 23, 2012, 12:18:14 AM
 #124

Someone to install PoolServerJ + Frontend : Win xp - xamp server . first to test and if its working then another box can be used to go public. PM me

thx

Never argue with idiots, they just drag you down to their level then beat you with experience. ~ *CANADA ONLY* Colloidal Silver Wire Rod - 12 Gauge Pure Silver .9999 - https://bitcointalk.org/index.php?topic=775964.0

https://bitcointalk.org/index.php?topic=731923.0
https://bitcointalk.org/index.php?topic=1323657.0
mich
Legendary
*
Offline Offline

Activity: 3136
Merit: 1032


#1 VIP Crypto Casino


View Profile
February 29, 2012, 10:43:50 AM
 #125

With merged mining poolserverj writes 'upstream_result' for bitcoin only? How to catch namecoin's upstream_result?

.
.BITCASINO.. 
.
#1 VIP CRYPTO CASINO

▄██████████████▄
█▄████████████▄▀▄▄▄
█████████████████▄▄▄
█████▄▄▄▄▄▄██████████████▄
███████████████████████████████
████▀█████████████▄▄██████████
██████▀██████████████████████
████████████████▀██████▌████
███████████████▀▀▄█▄▀▀█████▀
███████████████████▀▀█████▀
 ▀▀▀▀▀▀▀██████████████
          ▀▀▀████████
                ▀▀▀███

.
......PLAY......
cablepair
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Buy this account on March-2019. New Owner here!!


View Profile WWW
February 29, 2012, 11:55:25 AM
 #126

its in there you just have to change the table section of the config to how you want it to report to your database
mich
Legendary
*
Offline Offline

Activity: 3136
Merit: 1032


#1 VIP Crypto Casino


View Profile
February 29, 2012, 01:13:01 PM
Last edit: March 01, 2012, 06:15:47 AM by mich
 #127

its in there you just have to change the table section of the config to how you want it to report to your database
You mean 'our_result_bitcoin' and 'our_result_namecoin'? But these columns is our markers - accepted or rejected shares, and I asking about markers of winning shares. Something like upstream_result_bitcoin and upstream_result_namecoin.

.
.BITCASINO.. 
.
#1 VIP CRYPTO CASINO

▄██████████████▄
█▄████████████▄▀▄▄▄
█████████████████▄▄▄
█████▄▄▄▄▄▄██████████████▄
███████████████████████████████
████▀█████████████▄▄██████████
██████▀██████████████████████
████████████████▀██████▌████
███████████████▀▀▄█▄▀▀█████▀
███████████████████▀▀█████▀
 ▀▀▀▀▀▀▀██████████████
          ▀▀▀████████
                ▀▀▀███

.
......PLAY......
mich
Legendary
*
Offline Offline

Activity: 3136
Merit: 1032


#1 VIP Crypto Casino


View Profile
March 01, 2012, 10:40:54 AM
 #128

nobody knows?

.
.BITCASINO.. 
.
#1 VIP CRYPTO CASINO

▄██████████████▄
█▄████████████▄▀▄▄▄
█████████████████▄▄▄
█████▄▄▄▄▄▄██████████████▄
███████████████████████████████
████▀█████████████▄▄██████████
██████▀██████████████████████
████████████████▀██████▌████
███████████████▀▀▄█▄▀▀█████▀
███████████████████▀▀█████▀
 ▀▀▀▀▀▀▀██████████████
          ▀▀▀████████
                ▀▀▀███

.
......PLAY......
mich
Legendary
*
Offline Offline

Activity: 3136
Merit: 1032


#1 VIP Crypto Casino


View Profile
March 12, 2012, 10:00:58 AM
 #129

Code:
4153182 [HttpClient-upstream-work-submit-handler-38] WARN org.eclipse.jetty.util.log - EXPIRED ContentExchange@1175760389=POST//127.0.0.1:8332/#8
[13:54:06.686] JSON-RPC getmemorypool update failed.

How to fix it?

.
.BITCASINO.. 
.
#1 VIP CRYPTO CASINO

▄██████████████▄
█▄████████████▄▀▄▄▄
█████████████████▄▄▄
█████▄▄▄▄▄▄██████████████▄
███████████████████████████████
████▀█████████████▄▄██████████
██████▀██████████████████████
████████████████▀██████▌████
███████████████▀▀▄█▄▀▀█████▀
███████████████████▀▀█████▀
 ▀▀▀▀▀▀▀██████████████
          ▀▀▀████████
                ▀▀▀███

.
......PLAY......
cablepair
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Buy this account on March-2019. New Owner here!!


View Profile WWW
March 12, 2012, 08:08:15 PM
 #130

that means its not connecting to bitcoind

is this happening all the time or just temporarily when you first start up?

because if its not happening all the time I would not worry about it

mich
Legendary
*
Offline Offline

Activity: 3136
Merit: 1032


#1 VIP Crypto Casino


View Profile
March 13, 2012, 03:11:25 AM
Last edit: March 13, 2012, 05:59:47 AM by mich
 #131

Not every time, random from 5 to 30 min. And when it happens phoenix miner disconnect, then connect back in few seconds.

.
.BITCASINO.. 
.
#1 VIP CRYPTO CASINO

▄██████████████▄
█▄████████████▄▀▄▄▄
█████████████████▄▄▄
█████▄▄▄▄▄▄██████████████▄
███████████████████████████████
████▀█████████████▄▄██████████
██████▀██████████████████████
████████████████▀██████▌████
███████████████▀▀▄█▄▀▀█████▀
███████████████████▀▀█████▀
 ▀▀▀▀▀▀▀██████████████
          ▀▀▀████████
                ▀▀▀███

.
......PLAY......
Internet151
Full Member
***
Offline Offline

Activity: 174
Merit: 100



View Profile
May 12, 2012, 02:18:57 AM
 #132

Has anyone gotten this to work under Windows and Bitcoin-qt 0.6+?
maxcarjuzaa
Full Member
***
Offline Offline

Activity: 188
Merit: 100


View Profile
June 04, 2012, 12:38:42 AM
 #133

Hi I am running poolserverj with litecoind.

In order to test it I am running one miner (minerd) , but it had not solve any shares yet and if I connect it to my usual pool I get a share every 10 seconds or so. Do I miss any configuration? Do you have any idea?

Thank you.
Max
cablepair
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Buy this account on March-2019. New Owner here!!


View Profile WWW
June 05, 2012, 07:02:34 PM
 #134

Hi I am running poolserverj with litecoind.

In order to test it I am running one miner (minerd) , but it had not solve any shares yet and if I connect it to my usual pool I get a share every 10 seconds or so. Do I miss any configuration? Do you have any idea?

Thank you.
Max

If memory serves , I dont think lite coin compatibity was ever actually achieved
Flowz
Member
**
Offline Offline

Activity: 114
Merit: 10


Bitcoin = Money for the people, by the people.


View Profile
July 06, 2012, 11:52:38 AM
 #135

Hi,
I'm currently running PoolServerJ, and it working out great!
Getting 23Gh/s!

There is only one thing that concerns me a lot.
I've been getting a lot of 'Broken Pipe', 'EofException' and 'connection refused' errors, with a lot I mean non-stop outputting those exceptions. Everything is still working though, I just wonder why those exception are poping up in such a giant number.

~ Flowz
Flowz
Member
**
Offline Offline

Activity: 114
Merit: 10


Bitcoin = Money for the people, by the people.


View Profile
July 06, 2012, 06:13:55 PM
 #136

Furthermore I would like to point out that,
I get a error which bugs down the whole system:
java.lang.OutOfMemoryError: GC overhead limit exceeded

Temporary solution:
-XX:-UseGCOverheadLimit

(This means it won't look if the garbage collector is like using 98% of the CPU or not, which wil decrease the pool performance a lot I think)

Or I could increase the max heap size:
-Xmx1g

I have 8gig of RAM memory, what is the best heap size for that server?

~ Flowz
mich
Legendary
*
Offline Offline

Activity: 3136
Merit: 1032


#1 VIP Crypto Casino


View Profile
July 27, 2012, 04:55:45 PM
Last edit: July 27, 2012, 05:06:38 PM by mich
 #137

How to setup log rotation for poolserverj's log files? (by logrotate)

.
.BITCASINO.. 
.
#1 VIP CRYPTO CASINO

▄██████████████▄
█▄████████████▄▀▄▄▄
█████████████████▄▄▄
█████▄▄▄▄▄▄██████████████▄
███████████████████████████████
████▀█████████████▄▄██████████
██████▀██████████████████████
████████████████▀██████▌████
███████████████▀▀▄█▄▀▀█████▀
███████████████████▀▀█████▀
 ▀▀▀▀▀▀▀██████████████
          ▀▀▀████████
                ▀▀▀███

.
......PLAY......
Bit LC Inc.
Newbie
*
Offline Offline

Activity: 22
Merit: 0



View Profile WWW
September 18, 2012, 03:56:21 PM
 #138

WARNING: With the 0.7.0 release of bitcoind - getmemorypool is removed, which cases the internal work-generation to fail.
Patches for poolserverj needed.
Lomax42
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
September 21, 2012, 06:18:24 AM
 #139

Can I get the source code (Mini Http Proxy mini-proxy.tar.gz) would like to add there a separate authorization! powernet34@gmail.com Thank you!
OgStar
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile
October 04, 2012, 10:58:26 AM
 #140

Can anyone tell me which bitcoin daemon version is the best for PoolServerJ?

I know 0.7 won't work, but will anything below it work? Because I'm trying to figure out the reasons of some bugs I've been getting.

And what about namecoind? What are the patches that it needs to make getmemorypool work with it, and where to find it?

Thank you!
Pages: « 1 2 3 4 5 6 [7] 8 »  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!