Thanks for giving it a try - am somewhat surprised that you had a disconnect/crash/exit after ~20mins. Can you clarify what you mean by "over-often reconnect of V3.2"? Is this a case of needing "NOHUP"?
From the console, it appears that v3.2 tries to reconnect when no new blocks had been detected for a while. This is very welcome when the miner hangs there spending 100% CPU and perhaps getting no new work which I am facing. But I guess many people felt the reconnection was too often -- it perhaps happened when there was no real disconnection, too -- especially the reconnection also came with a 30 seconds pause. I remember that the v3.3 release note said one of the improvement was that the over-zealous reconnection feature was removed. So I am hoping the feature is still available.
I have tried to use a script to kill the miner automatically after an hour and restart it. As it turned out somehow the performance of the miner was severely affected. So that route was out.
Also, if you're interested, v4f can be used to solo off the wallet via GetBlockTemplate
There may still be a scaling issue when trying to have hundreds of cores mine off a single wallet.. but for smaller setups it seems to work well..
Is there documentation to descrie how it is done?
I'll look back over the 3.2/3.3 changes to refresh my memory, but I do not recall any specific reconnection amendments. The primary changes were with the thread watchdog which too often felt a thread had "died" even though it was actively processing.. If you were seeing loads of network related messages with 30sec messages, it implies you were being disconnected from the pool and very often - something that is also strange in its own right.. The underlying network code has not changed from v3.3 to v4.0, so you should be able to test on v3.3 and see if you get the messages you are refering too.
As for the solo mining, you first need to enable the RPC server in the wallet, and setup all the RPC user/password/port/ipallow options to allow network RPC mining requests.. this thread should help with the principles behind doing that:
https://bitcointalksearch.org/topic/solo-mining-with-wallet-miner-323859Once that is working, start the miner with the following syntax (substituting values to match your setup)
jhPrimeMiner.exe -o
http://YourServer:rpcport -u rpcusername -p rpcpassword -xpm payoutAddress
You can also add primorial / sieve size / primes arguments as per normal pool mining.. Personally, I'd only add the primorial -m option with your favourite primorial..