kano
Legendary
Offline
Activity: 4676
Merit: 1858
Linux since 1997 RedHat 4
|
 |
March 15, 2017, 09:20:08 PM Last edit: March 15, 2017, 09:32:38 PM by kano |
|
... Is there a way to prevent this switch from happening on a pool restart?
It's more a problem of knowing at what commit the ckpool programs are tested and working ... As far as I know that is some time last year ... The last tag is v0.9.4 2016-08-23 (for standard ckpool I run ded126d5 which is the same thing since there's no ckpool changes in between them and there's a deadlock some point after that and the workinfo changes after that can break ckdb shift processing and payouts) The problem is that there's a collection of ckpool programs in there and they aren't all tested properly or at all (and at what version/commit): Mining pool, standard proxy, passthru proxy, proxy node, remote node, redirector, bitmain's hidden ckpool api to manage ckpool programs directly.
|
|
|
|
dogedood
Newbie
Offline
Activity: 7
Merit: 0
|
 |
March 22, 2017, 05:30:23 PM |
|
... Is there a way to prevent this switch from happening on a pool restart?
It's more a problem of knowing at what commit the ckpool programs are tested and working ... As far as I know that is some time last year ... The last tag is v0.9.4 2016-08-23 (for standard ckpool I run ded126d5 which is the same thing since there's no ckpool changes in between them and there's a deadlock some point after that and the workinfo changes after that can break ckdb shift processing and payouts) The problem is that there's a collection of ckpool programs in there and they aren't all tested properly or at all (and at what version/commit): Mining pool, standard proxy, passthru proxy, proxy node, remote node, redirector, bitmain's hidden ckpool api to manage ckpool programs directly. This deadlock you mention, can you provide more info?
|
|
|
|
kano
Legendary
Offline
Activity: 4676
Merit: 1858
Linux since 1997 RedHat 4
|
 |
March 23, 2017, 09:02:57 PM |
|
... Is there a way to prevent this switch from happening on a pool restart?
It's more a problem of knowing at what commit the ckpool programs are tested and working ... As far as I know that is some time last year ... The last tag is v0.9.4 2016-08-23 (for standard ckpool I run ded126d5 which is the same thing since there's no ckpool changes in between them and there's a deadlock some point after that and the workinfo changes after that can break ckdb shift processing and payouts) The problem is that there's a collection of ckpool programs in there and they aren't all tested properly or at all (and at what version/commit): Mining pool, standard proxy, passthru proxy, proxy node, remote node, redirector, bitmain's hidden ckpool api to manage ckpool programs directly. This deadlock you mention, can you provide more info? It's no longer relevant. ckpool deadlocks talking to ckdb, he doesn't test his changes with ckdb ... i.e. Bitmain pays him to break ckdb ... often. ... and he doesn't even test the effects of his changes on all the other ckpool modules 
|
|
|
|
agentcash
Newbie
Offline
Activity: 49
Merit: 0
|
 |
March 29, 2017, 01:04:10 AM |
|
Might have a memory leak when running ckproxy. Had a Pi start acting up this morning after running fine for about 3 weeks. Turned out it ran out of free memory and the watchdog had trouble killing it and killed some system processes instead. Checked the other Pis and the ckproxy process was using high amounts of memory. Percentage-wise the memory on most of them had gone over 60%, where on a fresh start it's more around 6-7%.
Edit: To note the Pi that locked up was also the one handling the highest hashrate, so that may be related. Since it ran out of memory while the lower hashrate Pis still had some free.
|
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4396
Merit: 1652
Ruu \o/
|
 |
March 29, 2017, 01:09:33 AM |
|
Might have a memory leak when running ckproxy. Had a Pi start acting up this morning after running fine for about 3 weeks. Turned out it ran out of free memory and the watchdog had trouble killing it and killed some system processes instead. Checked the other Pis and the ckproxy process was using high amounts of memory. Percentage-wise the memory on most of them had gone over 60%, where on a fresh start it's more around 6-7%.
There could well be, especially if you're running older code. Try running latest git if you haven't upgraded lately as the code has been dramatically updated. When time permits I'll do a more extensive search for memleaks with the proxy code.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
JanAndre
Newbie
Offline
Activity: 20
Merit: 0
|
 |
March 29, 2017, 12:42:24 PM |
|
Hi guys, I hope this is the right thread to submit a question. We have successfully installed, and started CKpool, but only in Standalone mode. It doesn't seems like we are receving any blocks, so i want to start the pool in regular mode. we have installed DB, so that should be ok. The problem is when we start with just ckpool, we can connect any workers. I know im a noob in this, so Im hoping to get some tips of what could be wrong. Im helping out a freind in Asia, that have 70 units of Antminer S9 ready. Any input would be helpful. Im not sure about the directory permissions and also the correct syntax to startup the pool. There are so little information about CKpool and how to run it. Please help! 
|
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4396
Merit: 1652
Ruu \o/
|
 |
March 29, 2017, 10:24:16 PM |
|
Hi guys, I hope this is the right thread to submit a question. We have successfully installed, and started CKpool, but only in Standalone mode. It doesn't seems like we are receving any blocks, so i want to start the pool in regular mode. we have installed DB, so that should be ok. The problem is when we start with just ckpool, we can connect any workers. I know im a noob in this, so Im hoping to get some tips of what could be wrong. Im helping out a freind in Asia, that have 70 units of Antminer S9 ready. Any input would be helpful. Im not sure about the directory permissions and also the correct syntax to startup the pool.
There are so little information about CKpool and how to run it.
The documentation is all in the ckpool readme for running it in standalone mode and it is well documented. If that is not clear enough then can I suggest you're probably not skilled enough to run a pool? If you're not finding blocks then you're not finding blocks; perhaps you don't even understand that 70 Antminer S9s is an extremely small hashrate to find blocks by today's standards.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
JanAndre
Newbie
Offline
Activity: 20
Merit: 0
|
 |
March 30, 2017, 12:21:25 PM Last edit: March 30, 2017, 12:33:22 PM by JanAndre |
|
Thank you for your answer.. I found it a bit arrogant, but a answer anyway. I'm not running the pool, I'm trying to help out friends in Asia, that dont understand English to good.
I would find your answer more helpful if it actually contained some info about the problem.
The only good information i got from your post, is that its maybe not a good idea to run CKpool with 'just' 70 units of Antminer S9. I will let the right persons know.
I know they are waiting to get a confirmation that the CKpool works, and they will purchase another 1000 units.
Have a nice day, regards Jan.
|
|
|
|
Hannu
|
 |
May 18, 2017, 03:36:42 PM Last edit: May 18, 2017, 03:53:19 PM by Hannu |
|
Oh no did i lost you on technical problems? "Cannot send to channel #ckpool" Nou! What is wrong with it? I use data cloud. I dont have purpose to trolling or anything like that  Technical data is important to me and if you need ask something. 
|
BTC: 3Qnnx4cu45Gx4WcksNCnBPu3TaUZ5sKkLo LTC: LYX1ZH7f4qcXq52AzA6grUYDfDngVz7BEi XRP: rLrbZMJDdL8eQd7HsW314bCtvE16LTLYkM?dt=1113
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4396
Merit: 1652
Ruu \o/
|
 |
May 18, 2017, 09:20:04 PM |
|
Oh no did i lost you on technical problems? "Cannot send to channel #ckpool" Nou! What is wrong with it? I use data cloud. I dont have purpose to trolling or anything like that  Technical data is important to me and if you need ask something.  The IRC channel was under attack and moderation of the whole channel had to be turned on to manage it. This has been rectified now.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
makkotech
Newbie
Offline
Activity: 2
Merit: 0
|
 |
May 31, 2017, 04:27:06 AM |
|
Awesome, Thank you, guys!!! Full Node running !!!, I am a Happy Panda lol, Guys I need a recommendation, what is the best option to run this like a behind process and close my terminal without killing the process, I try it using:
- screen, Forever, pm2, & option, etc .. etc ..
But every time that I use one of those the process was broken, I need help to apply the best practice doing this last step.
Thank you in advance.
|
|
|
|
o_solo_miner
Legendary
Offline
Activity: 2525
Merit: 1515
-> morgen, ist heute, schon gestern <-
|
 |
May 31, 2017, 08:11:02 AM Last edit: May 31, 2017, 05:39:57 PM by o_solo_miner |
|
If you use screen, you have to start screen first and then your bitcoind in daemon mode with blocknotify: bitcoind -daemon -blocknotify=/usr/bin/notify.sh then you must start ckpool with your wanted option like this: ckpool -A -s /opt/ckpool and optional the Relaynetworkclient: ./relaynetworkclient 127.0.0.1 8333 or you use the Fibrenetwork in conjunction with bitcoind 14.1 and a propper bitcoin.conf Some Help for Screen: screen [ENTER] CTRL A followed by CTRL C to open another Screen console CTRL A followed by CTRL K to kill a Screen console to switch between screen console CTRL A followed by N for next screen CTRL A followed by P for previous screen If you want to return to main console, without stopping screen and all running processes: CTRL A followed by D to detach from screen and return to main console ( ckpool and all other stuff you started is still running in the background, you can check that with top or htop if you have it installed ) to reconnect later to a running screen just type: screen -r [ENTER] sometimes that is not possible and a message appears telling you allready connected so you type screen -d -r [ENTER] thats all But every time that I use one of those the process was broken is not very helpfull, please include the complete message for fault finding next time EDIT: like allways typo
|
|
|
|
makkotech
Newbie
Offline
Activity: 2
Merit: 0
|
 |
May 31, 2017, 05:15:43 PM |
|
If you use screen, you have to start screen first and then your bitcoind in daemon mode with blocknotify: bitcoind -daemon -blocknotify=/usr/bin/notify.sh then you must start ckpool with your wanted option like this: ckpool -A -s /opt/ckpool and optional the Relaynetworkclient: ./relaynetworkclient 127.0.0.1 8333 or you use the Fibrenetwork in conjunction with bitcoind 14.1 and a propper bintcoin.conf Some Help for Screen: screen [ENTER] CTRL A followed by CTRL C to open another Screen console CTRL A followed by CTRL K to kill a Screen console to switch between screen console CTRL A followed by N for next screen CTRL A followed by P for previous screen If you want to return to main console, without stopping screen and all running processes: CTRL A followed by D to detach from screen and return to main console ( ckpool and all other stuff you started is still running in the background, you can check that with top or htop if you have it installed ) to reconnect later to a running screen just type: screen -r [ENTER] sometimes that is not possible and a message appears telling you allready connected so you type screen -d -r [ENTER] thats all But every time that I use one of those the process was broken is not very helpfull, please include the complete message for fault finding next time EDIT: like allways Awesome thank you for your response now my ckpool is running behind using screen, I am so Happy guys, all of you are amazing, I´ll keep you posted!! Next Goal: Implement a new node using ckdb !!!
|
|
|
|
kano
Legendary
Offline
Activity: 4676
Merit: 1858
Linux since 1997 RedHat 4
|
 |
August 09, 2017, 09:45:09 PM |
|
My setup has slush, kano, & solo.ckpool as proxies 0,1, & 2 respectively. Kano lost connectivity or restarted the pool a few hours ago and the proxies switched to it and stayed there for a few hours until I noticed and restarted them. [2017-03-15 18:11:57.400] Proxy:{"current": 0, "active": 3, "total": 3} [2017-03-15 18:12:34.834] Proxy 1:0 stratum+tcp://stratum.kano.is:3333 failed to read_socket_line in proxy_recv [2017-03-15 18:12:34.834] Proxy 1:0 stratum+tcp://stratum.kano.is:3333 epoll hangup in proxy_recv [2017-03-15 18:12:34.834] Proxy 1:stratum+tcp://stratum.kano.is:3333 failed, attempting reconnect [2017-03-15 18:12:39.010] Found notify for new proxy 1:0 with enonce 159c0d5d nonce2len 8 [2017-03-15 18:12:39.010] Got updated subscribe for proxy 1 [2017-03-15 18:12:39.010] Upstream pool stratum+tcp://stratum.kano.is:3333 1 extranonce2 length 8, max proxy clients 4294967296 [2017-03-15 18:12:39.010] Stratifier setting active proxy to 1
Slush was still up and running fine the whole time judging by the logs. Is there a way to prevent this switch from happening on a pool restart? agentcash, there's a recent commit in the public git many months later that may (or may not) have to do with your problem: https://bitbucket.org/ckolivas/ckpool/commits/e7f36cbe4081ec9f419891aecb41c6f73e0aac2fThe commit says "Various proxy updates." so, to be blunt, is down right vague, and I've no idea why it's so vague  In the code it's to do with keeping proxy connections alive and may well be related, but I don't know. It may help you mine less on my pool, and more on slush's pool, and thus get paid less  (Yes the last 6 months, while you were waiting for a bug fix, on my pool have averaged 127% PPS due to luck ... https://kano.is/index.php?k=pblocks )
|
|
|
|
Rheachan1425
Member

Offline
Activity: 116
Merit: 100
|
 |
August 28, 2017, 12:24:39 PM |
|
Can i ask a question, i don't know if its ok to you that i posted here. But i just want to ask if KanoCkpool.com is a legit cloud mining site? Thankyou.
|
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4396
Merit: 1652
Ruu \o/
|
 |
August 28, 2017, 12:26:48 PM |
|
Can i ask a question, i don't know if its ok to you that i posted here. But i just want to ask if KanoCkpool.com is a legit cloud mining site? Thankyou.
Never heard of it. Quite sure it'll be a scam, like most cloud mining is.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
Rheachan1425
Member

Offline
Activity: 116
Merit: 100
|
 |
August 29, 2017, 12:14:57 AM |
|
Can i ask a question, i don't know if its ok to you that i posted here. But i just want to ask if KanoCkpool.com is a legit cloud mining site? Thankyou.
Never heard of it. Quite sure it'll be a scam, like most cloud mining is. Thank you for the advice and answering my question.
|
|
|
|
|
chillfactr
|
 |
October 03, 2017, 07:33:35 AM |
|
HEY -ck,
Why wont my s-9 connect through ckproxy? i set up same as my s-7's and s-4+, but i put s-9's and they will never connect>? what am i missing?
|
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4396
Merit: 1652
Ruu \o/
|
 |
October 03, 2017, 08:09:14 PM |
|
HEY -ck,
Why wont my s-9 connect through ckproxy? i set up same as my s-7's and s-4+, but i put s-9's and they will never connect>? what am i missing?
I'm not aware of anything stopping the S9s connecting. I know people with thousands of S9s connected via ckproxy.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
|