Bitcoin Forum
September 23, 2018, 05:07:41 PM *
News: ♦♦ New info! Bitcoin Core users absolutely must upgrade to previously-announced 0.16.3 [Torrent]. All Bitcoin users should temporarily trust confirmations slightly less. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: CGMiner API call 'devs' response limited to about 149 devices?  (Read 1136 times)
Bogart
Legendary
*
Offline Offline

Activity: 952
Merit: 1000


View Profile
July 08, 2013, 12:14:41 AM
 #1

I'm running some cgminer instances with a large number of devices.

I find that when I use the 'devs' API call, information is only returned for the first 149 devices on one machine (first 147 on another), although the response is a proper JSON structure, and is not truncated.

This is with cgminer 3.1.0 and 3.2.0.  I have not yet tried the latest.

Is this known behavior?

"All safe deposit boxes in banks or financial institutions have been sealed... and may only be opened in the presence of an agent of the I.R.S." - President F.D. Roosevelt, 1933
Make a difference with your Ether.
Donate Ether for the greater good.
SPRING.WETRUST.IO
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1537722461
Hero Member
*
Offline Offline

Posts: 1537722461

View Profile Personal Message (Offline)

Ignore
1537722461
Reply with quote  #2

1537722461
Report to moderator
1537722461
Hero Member
*
Offline Offline

Posts: 1537722461

View Profile Personal Message (Offline)

Ignore
1537722461
Reply with quote  #2

1537722461
Report to moderator
1537722461
Hero Member
*
Offline Offline

Posts: 1537722461

View Profile Personal Message (Offline)

Ignore
1537722461
Reply with quote  #2

1537722461
Report to moderator
kano
Legendary
*
Offline Offline

Activity: 2576
Merit: 1054


Linux since 1997 RedHat 4


View Profile
July 08, 2013, 01:39:47 AM
 #2

I'm running some cgminer instances with a large number of devices.

I find that when I use the 'devs' API call, information is only returned for the first 149 devices on one machine (first 147 on another), although the response is a proper JSON structure, and is not truncated.

This is with cgminer 3.1.0 and 3.2.0.  I have not yet tried the latest.

Is this known behavior?
You will also find if you use json it says "id":0 for truncated output
Yes it makes sure it's still at a valid point and truncates it before 65432 bytes
("id":1 for normal/full output)

Pool: https://kano.is Here on Bitcointalk: Forum BTC: 1KanoPb8cKYqNrswjaA8cRDk4FAS9eDMLU
FreeNode IRC: irc.freenode.net channel #kano.is Majority developer of the ckpool code
Help keep Bitcoin secure by mining on pools with full block verification on all blocks - and NO empty blocks!
milone
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


CGWatcher & CGRemote


View Profile WWW
July 08, 2013, 04:05:26 AM
 #3

You could use gpu|N, pga|N, and asc|N to get values for truncated devices. Not ideal for a ton of devices but it provides the same info as devs. And not using json should save you some characters and may be able to fit more devices in devs before truncating?

CGWatcher, a GUI/monitor for CGMiner & BFGMiner: http://www.cgwatcher.com
CGRemote, a remote mining dashboard for all of your miners: http://www.minerremote.com
BTC: 12TAYjmSrdDHLNpmix2MG6y3R868SMM7Fx    LTC: LM6Un6hZvPzLBggJWiAVG6E6w2GfaHukXY
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!