Bitcoin Forum
December 04, 2016, 06:33:25 PM *
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]
  Print  
Author Topic: blkmond dies after a minute or so  (Read 2047 times)
froggy
Full Member
***
Offline Offline

Activity: 127


View Profile WWW
June 15, 2011, 12:45:05 AM
 #1

I'm trying to set up long polling on a new pool but for some reason blkmond stops after it has only been running for a minute or two.  This is happening both on testnet and mainnet.  Everything else is working fine.  To start blkmond I'm using:
Code:
./blkmond blkmon.cfg &
where blkmon.cfg contains (when bitcoind is running against mainnet):
Code:
host=127.0.0.1
port=8333
pid=/MYPATH-TO/pushpoold.pid

and when testing against testnet
Code:
host=127.0.0.1
port=18333
pid=/MYPATH-TO/pushpoold.pid

(In the above examples I've replaced the actual path to the pushpool.pid with MYPATH-TO ).


This is the output that I'm getting (from testnet as an example):
Code:
send msg_version(nVersion=312 nServices=1 nTime=Wed Jun 15 00:32:43 2011 addrTo=CAddress(nServices=1 ip=127.0.0.1 port=18333) addrFrom=CAddress(nServices=1 ip=0.0.0.0 port=0) nNonce=0xC6AB017501B82BD9 strSubVer=.4 nStartingHeight=-1)
connecting
connected
close
close

Has anyone experienced this or have any ideas?
1480876405
Hero Member
*
Offline Offline

Posts: 1480876405

View Profile Personal Message (Offline)

Ignore
1480876405
Reply with quote  #2

1480876405
Report to moderator
1480876405
Hero Member
*
Offline Offline

Posts: 1480876405

View Profile Personal Message (Offline)

Ignore
1480876405
Reply with quote  #2

1480876405
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480876405
Hero Member
*
Offline Offline

Posts: 1480876405

View Profile Personal Message (Offline)

Ignore
1480876405
Reply with quote  #2

1480876405
Report to moderator
1480876405
Hero Member
*
Offline Offline

Posts: 1480876405

View Profile Personal Message (Offline)

Ignore
1480876405
Reply with quote  #2

1480876405
Report to moderator
Bullethead21
Jr. Member
*
Offline Offline

Activity: 43



View Profile
June 30, 2011, 11:01:13 AM
 #2

I have gotton this same error.....good luck getting help here...might want to try another forum......all questions on this forum and no answers.....

froggy
Full Member
***
Offline Offline

Activity: 127


View Profile WWW
July 16, 2011, 01:18:02 PM
 #3

Bullethead21 and anyone else with similar problems with blkmond, it seems JoelKatz's patch for bitcoind should get long poling working for us.
JoelKatz
Legendary
*
Offline Offline

Activity: 1386


Democracy is vulnerable to a 51% attack.


View Profile WWW
July 17, 2011, 02:26:50 AM
 #4

Bullethead21 and anyone else with similar problems with blkmond, it seems JoelKatz's patch for bitcoind should get long poling working for us.
Yep. That patch eliminates the need for blkmond. If you want the full patch set, including a variety of other performance improvements specifically aimed at pooled mining controllers, see this link:
http://davids.webmaster.com/~davids/bitcoin-4diff.txt
(This is based against 0.3.24 now and includes a few more micro-optimizations.)

I am an employee of Ripple.
1Joe1Katzci1rFcsr9HH7SLuHVnDy2aihZ BM-NBM3FRExVJSJJamV9ccgyWvQfratUHgN
DavinciJ15
Hero Member
*****
Offline Offline

Activity: 750


Bitcoin - helping to end bankster enslavement.


View Profile WWW
August 06, 2011, 11:21:07 PM
 #5

I'm trying to set up long polling on a new pool but for some reason blkmond stops after it has only been running for a minute or two.  This is happening both on testnet and mainnet.  Everything else is working fine.  To start blkmond I'm using:
Code:
./blkmond blkmon.cfg &
where blkmon.cfg contains (when bitcoind is running against mainnet):
Code:
host=127.0.0.1
port=8333
pid=/MYPATH-TO/pushpoold.pid

and when testing against testnet
Code:
host=127.0.0.1
port=18333
pid=/MYPATH-TO/pushpoold.pid

(In the above examples I've replaced the actual path to the pushpool.pid with MYPATH-TO ).


This is the output that I'm getting (from testnet as an example):
Code:
send msg_version(nVersion=312 nServices=1 nTime=Wed Jun 15 00:32:43 2011 addrTo=CAddress(nServices=1 ip=127.0.0.1 port=18333) addrFrom=CAddress(nServices=1 ip=0.0.0.0 port=0) nNonce=0xC6AB017501B82BD9 strSubVer=.4 nStartingHeight=-1)
connecting
connected
close
close

Has anyone experienced this or have any ideas?


To make it work set the port from 18333 to 8332 or whatever port is set in bitcoin.conf as the RPC port for JONS

It worked for me.  Only figured that out after reading the source code.
ThiagoCMC
Legendary
*
Offline Offline

Activity: 1190


฿itcoin: Currency of Resistance!


View Profile WWW
November 06, 2011, 08:33:04 AM
 #6

Hi!

 I'm trying to setup my own Bitcoin / Litecoin pool...

 Same problem here... But, with bitcoind (0.4.0), no problems. This problem appear when I run blkmon with Litecoin.

 Does anybody knows it I need blkmon to make a pool with longpool support enabled using pushpool / litecoin?

Best!
Thiago

Mercado Forex acessível para todos os Brasileiros que tenham Bitcoins! Cadastre-se hoje mesmo! Bastar acessar aqui: https://1broker.com/m/r.php?i=8879
shads
Full Member
***
Offline Offline

Activity: 224


View Profile WWW
November 06, 2011, 09:44:48 AM
 #7

try poolserverj... it uses a combination of prev_blcok_hash comparisons and getblocknumber polling which works perfectly well (yes it might cost you a few ms but it's a hell of a lot more reliable and you make up the loss with much faster LP delivery anyway) so no need for blockmond.  It also has an alpha native LP implementation you can use JK patched bitcoind.  Will be working on stabilising that a bit more shortly but from reports I've heard it's working well.

PoolServerJ Home Page - High performance java mining pool engine

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

Quote from: Matthew N. Wright
Stop wasting the internet.
ThiagoCMC
Legendary
*
Offline Offline

Activity: 1190


฿itcoin: Currency of Resistance!


View Profile WWW
November 06, 2011, 10:43:17 PM
 #8

try poolserverj... it uses a combination of prev_blcok_hash comparisons and getblocknumber polling which works perfectly well (yes it might cost you a few ms but it's a hell of a lot more reliable and you make up the loss with much faster LP delivery anyway) so no need for blockmond.  It also has an alpha native LP implementation you can use JK patched bitcoind.  Will be working on stabilising that a bit more shortly but from reports I've heard it's working well.

Mmm... Sounds great! I'll give it a try.

Weel, I'll start my own Litecoin pool, based on PoolServerJ but, what Web Interface do you recommends?! mmcFE, SimpleCoin, MiningFarm or Coinmines?

I like mmcFE and the Litecoin pool http://pool-x.eu/ is based on it plus pushpool... I don't know how they did it (litecoin + longpool / pushpool + mmcFE) because blkmond does not work with Litecoin...

Anyway, time to go to PoolServerJ now.

Best!
Thiago

Mercado Forex acessível para todos os Brasileiros que tenham Bitcoins! Cadastre-se hoje mesmo! Bastar acessar aqui: https://1broker.com/m/r.php?i=8879
Pages: [1]
  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!