Post
Topic
Board Mining (Altcoins)
Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
by
icaros
on 09/03/2014, 20:15:01 UTC
Quote
did you also copied the 1.3.1 rpc client to the debian-server system? I had the 100% issue too, but with my changes it run's now for days without any 100% actions.

Yes i did copy 1.3.1 rpc client to the debian-server system. It's 100% cpu usage on all rigs with 1.3.1

Code:
/* * ********* CONFIG ***************** */

// Service IP.
// This address is used to bind the service.
// If you provide 0.0.0.0 all interface are bound, this means that the api is connectable at any ip-address on this machine.
// Provide 127.0.0.1 to only allow localhost.
// If your rig is within your local network, provide the ip address which you eather configurated by your self or got from your router per DHCP.
$config['ip'] = '0.0.0.0';

// Service port, change it to your needs, please keep in mind, in Linux ports lower 1000 can only be created by user root.
$config['port'] = 11111;

// Miner, can be cgminer or sgminer
$config['miner'] = 'cgminer';

// The miner api ip
$config['miner_api_ip'] = '127.0.0.1';

// The port of the miner api
$config['miner_api_port'] = 4028;

// Miner binary, this can be left empty if the binary is the same as the miner. For example miner = cgminer, miner_binary = cgminer or on windows cgminer.exe
$config['miner_binary'] = '';

// RPC Secret key.
$config['rpc_key'] = 'xxxx';

// The path + file where the cgminer.conf is.
// Please make sure that the user which run's this script has the permission to edit this file.
$config['cgminer_config_path'] = 'C://Program Files (x86)//CGWatcher-1.3.2//cgminer-kalroth-api-patched//cgminer.conf';

// The path where the cgminer executable is.
// Please make sure that the user which run's this script has the permission to start cgminer.
$config['cgminer_path'] = 'C://Program Files (x86)//CGWatcher-1.3.2//cgminer-kalroth-api-patched//';

// Path to AMD SDK if available (Normally this is only needed within Linux)
$config['amd_sdk'] = '';

/* * ********* CONFIG END ************* */

This conf worked with earlier versions. It's most likely something with this new rpc talking to cgminer code.
It won't crash if you have no cgminer running.