Author

Topic: KNCMINER Jupiter - Anyway to Pause mining? (Read 4765 times)

legendary
Activity: 910
Merit: 1000
August 31, 2016, 05:33:20 AM
#10
As far as the API output is telling me, it only shows one PGA for each chip/module i.e. one for each Neptune cube. So if it's a single Jupiter you should have to disable 6 PGAs. If disabling all the pools works out that would be easier, but I've not tried it.
hero member
Activity: 662
Merit: 500
Looking at the cgminer API perhaps you could send the pgadisable command to keep cgminer running without mining - I haven't tried it though!

https://github.com/ckolivas/cgminer/blob/master/API-README

IME I've found disabling the pools to be simpler than disabling the PGAs. On some of the KNC devices AFAIK there are thousands of "processors" so you may end up needing to call that command 10s or 100s or 1000s of times to "disable" the device.

As far as the API output is telling me, it only shows one PGA for each chip/module i.e. one for each Neptune cube. So if it's a single Jupiter you should have to disable 6 PGAs. If disabling all the pools works out that would be easier, but I've not tried it.
legendary
Activity: 3808
Merit: 1723
Looking at the cgminer API perhaps you could send the pgadisable command to keep cgminer running without mining - I haven't tried it though!

https://github.com/ckolivas/cgminer/blob/master/API-README

IME I've found disabling the pools to be simpler than disabling the PGAs. On some of the KNC devices AFAIK there are thousands of "processors" so you may end up needing to call that command 10s or 100s or 1000s of times to "disable" the device.

You can't disable all the pools, one needs to always be active.

Is it CGMiner or BFGMiner? You can disable all pools on the CGMiner-powered network devices I have.

Edit: Just tried an S3 with CGMiner 3.12 and a Raspberry Pi with CGMiner 4.9 and had no problem disabling all pools on both via the RPC API. I do see the code in Github that should prevent this (with an error saying the last pool cannot be disabled) but again not having any problems actually doing it. Maybe it's a bug and not by-design.

I tried both and you can't. I use CGminer 4.2.3 and BFGMiner 5

When you hit (D) to disable it says "CANNOT DISABLE LAST POOL"
hero member
Activity: 840
Merit: 1002
Looking at the cgminer API perhaps you could send the pgadisable command to keep cgminer running without mining - I haven't tried it though!

https://github.com/ckolivas/cgminer/blob/master/API-README

IME I've found disabling the pools to be simpler than disabling the PGAs. On some of the KNC devices AFAIK there are thousands of "processors" so you may end up needing to call that command 10s or 100s or 1000s of times to "disable" the device.

You can't disable all the pools, one needs to always be active.

Is it CGMiner or BFGMiner? You can disable all pools on the CGMiner-powered network devices I have.

Edit: Just tried an S3 with CGMiner 3.12 and a Raspberry Pi with CGMiner 4.9 and had no problem disabling all pools on both via the RPC API. I do see the code in Github that should prevent this (with an error saying the last pool cannot be disabled) but again not having any problems actually doing it. Maybe it's a bug and not by-design.
legendary
Activity: 3808
Merit: 1723
Looking at the cgminer API perhaps you could send the pgadisable command to keep cgminer running without mining - I haven't tried it though!

https://github.com/ckolivas/cgminer/blob/master/API-README

IME I've found disabling the pools to be simpler than disabling the PGAs. On some of the KNC devices AFAIK there are thousands of "processors" so you may end up needing to call that command 10s or 100s or 1000s of times to "disable" the device.

You can't disable all the pools, one needs to always be active.
hero member
Activity: 840
Merit: 1002
Looking at the cgminer API perhaps you could send the pgadisable command to keep cgminer running without mining - I haven't tried it though!

https://github.com/ckolivas/cgminer/blob/master/API-README

IME I've found disabling the pools to be simpler than disabling the PGAs. On some of the KNC devices AFAIK there are thousands of "processors" so you may end up needing to call that command 10s or 100s or 1000s of times to "disable" the device.
hero member
Activity: 662
Merit: 500
Looking at the cgminer API perhaps you could send the pgadisable command to keep cgminer running without mining - I haven't tried it though!

https://github.com/ckolivas/cgminer/blob/master/API-README
legendary
Activity: 3808
Merit: 1723
February 27, 2015, 02:41:22 PM
#3
Any method out there

Basically the only way I can find is using a command like this which stops mining ever 15 seconds

Quote
/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;/etc/init.d/cgminer.sh stop; sleep 15;
legendary
Activity: 1015
Merit: 1000
February 26, 2015, 04:05:36 AM
#2
I got a KNC Juptier and from time to time I want to stop or pause mining, is there anyway to do this from SSH?

I tried

/etc/init.d/cgminer.sh stop

but it start mining after 1 minute

There is a cron job running every minute, it checks if cgminer is running and it starts it if it isn't, so you should comment that line in the cron job file (it could be in different locations I don't know where is in a KNC).
legendary
Activity: 3808
Merit: 1723
February 25, 2015, 10:43:28 PM
#1
I got a KNC Juptier and from time to time I want to stop or pause mining, is there anyway to do this from SSH?

I tried

/etc/init.d/cgminer.sh stop

but it start mining after 1 minute
Jump to: