rodneymo / rig-monitor

monitoring solution for mining rigs
https://randomcryptostuff.blogspot.nl/2017/08/monitoring-ethereum-mining-farm-using.html
GNU General Public License v3.0
30 stars 12 forks source link

/usr/bin/curl: Argument list too long #31

Closed rodneymo closed 6 years ago

rodneymo commented 6 years ago

Curl cannot handle large amounts of data passed as argument e.g. hundreds of workers or initial payment processing

rodneymo commented 6 years ago

Solution is to use a file: curl -i -XPOST 'http://localhost:8086/write?db=rigdata' --data-binary @list.txt

rodneymo commented 6 years ago

Fixed in all pool scripts