I just found all of my phoenix 2.0.0 miners at 0 Khash/s, and this was on multiple machines.
They were mining Eligius with p2pool as fallback. Here is a sample of the log output. Restarting the program fixed the problem. Could this be a bug in Phoenix?
In Windows this happens:
[18:48:43] [cl:0:0] Result 00000000d3149da4... REJECTED
[18:48:43] LP: New work pushed
[18:48:43] Server gave new work; passing to WorkQueue
[18:48:43] [cl:0:0] Result 00000000cf3ee5c4... REJECTED
[18:48:46] Reject reason: bad-prevblk
[18:48:46] [cl:0:0] Result 00000000606afd88... REJECTED
[18:53:46] Warning: work queue empty, miner is idle
[18:58:33] [cl:0:0] Result 000000002a9c5347... REJECTED
[18:58:33] [cl:0:0] Result 000000009d0e76a8... REJECTED
[18:58:42] [cl:0:0] Result 0000000025bc2abc... REJECTED
[18:58:43] Reject reason: bad-prevblk
[18:58:43] [cl:0:0] Result 0000000041eb0e5c... REJECTED
[18:58:44] [cl:0:0] Result 00000000a3622a2f... REJECTED
[19:08:34] [cl:0:0] Result 00000000ebf906a8... REJECTED
[19:08:42] [cl:0:0] Result 000000005abb5555... REJECTED
[19:08:45] Reject reason: bad-prevblk
[19:08:45] [cl:0:0] Result 000000000a14e39e... REJECTED
[19:08:46] [cl:0:0] Result 0000000030b3bc31... REJECTED
[19:18:05] Disconnected from server
[0 Khash/s] [122136 Accepted] [469 Rejected] [DISCONNECTED]
It's a bit different in Linux, I actually get a stack trace:
[03:55:27] [cl:0:2] Result 0000000071f774c9... ACCEPTED
[03:55:36] LP: New work pushed
[03:55:36] Server gave new work; passing to WorkQueue
[03:55:36] New block (WorkQueue)
[03:55:37] LP: New work pushed
[03:55:37] Server gave new work; passing to WorkQueue
[03:55:37] Server gave work from the previous block, ignoring.
[03:55:38] Server gave new work; passing to WorkQueue
[03:55:38] Server gave work from the previous block, ignoring.
[03:55:40] Server gave new work; passing to WorkQueue
[03:55:40] Server gave work from the previous block, ignoring.
[03:55:42] Server gave new work; passing to WorkQueue
[03:55:42] Server gave work from the previous block, ignoring.
[03:55:44] Server gave new work; passing to WorkQueue
[03:55:44] Server gave work from the previous block, ignoring.
[03:55:49] Disconnected from server
[03:55:51] [cl:0:2] Result 00000000be43fc34... REJECTED
[03:55:59] Warning: work queue empty, miner is idle
[03:56:00] Connected to server
[03:56:00] Server gave new work; passing to WorkQueue
[03:56:00] Server gave work from the previous block, ignoring.
[03:56:00] Server gave new work; passing to WorkQueue
[03:56:00] Server gave work from the previous block, ignoring.
[03:56:01] Server gave new work; passing to WorkQueue
[03:56:01] Server gave work from the previous block, ignoring.
[03:56:02] Server gave new work; passing to WorkQueue
[03:56:02] Server gave work from the previous block, ignoring.
[03:56:07] Disconnected from server
[03:56:22] Couldn't connect to server, switching backend...
[0 Khash/s] [1033 Accepted] [71 Rejected] [DISCONNECTED]Unhandled error in Deferred:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1076, in gotResult
_inlineCallbacks(r, g, deferred)
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1066, in _inlineCallbacks
deferred.errback()
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 388, in errback
self._startRunCallbacks(fail)
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 455, in _startRunCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 542, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/home/bitcoin/bitcoin/phoenix-2.0.0/phoenix2/backend/RPCProtocol.py", line 149, in errback
self.root._failure()
File "/home/bitcoin/bitcoin/phoenix-2.0.0/phoenix2/backend/RPCProtocol.py", line 483, in _failure
self.runCallback('failure')
File "/home/bitcoin/bitcoin/phoenix-2.0.0/phoenix2/backend/ClientBase.py", line 51, in runCallback
func(*args)
File "/home/bitcoin/bitcoin/phoenix-2.0.0/phoenix2/core/PhoenixCore.py", line 449, in onFailure
self.switchURL(nextBackend)
File "/home/bitcoin/bitcoin/phoenix-2.0.0/phoenix2/core/PhoenixCore.py", line 266, in switchURL
self.connection.disconnect()
File "/home/bitcoin/bitcoin/phoenix-2.0.0/phoenix2/backend/RPCProtocol.py", line 321, in disconnect
self.poller.closeConnection()
File "/home/bitcoin/bitcoin/phoenix-2.0.0/phoenix2/backend/RPCProtocol.py", line 56, in closeConnection
self.connection.sock._sock.shutdown(socket.SHUT_RDWR)
socket.error: [Errno 107] Transport endpoint is not connected
^CTraceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1158, in run
self.mainLoop()
File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1167, in mainLoop
self.runUntilCurrent()
File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 811, in runUntilCurrent
self.fireSystemEvent("shutdown")
File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 628, in fireSystemEvent
event.fireEvent()
--- <exception caught here> ---
File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 407, in fireEvent
result = callable(*args, **kwargs)
File "/home/bitcoin/bitcoin/phoenix-2.0.0/phoenix2/core/PhoenixCore.py", line 106, in _shutdown
self.switchURL(None)
File "/home/bitcoin/bitcoin/phoenix-2.0.0/phoenix2/core/PhoenixCore.py", line 266, in switchURL
self.connection.disconnect()
File "/home/bitcoin/bitcoin/phoenix-2.0.0/phoenix2/backend/RPCProtocol.py", line 321, in disconnect
self.poller.closeConnection()
File "/home/bitcoin/bitcoin/phoenix-2.0.0/phoenix2/backend/RPCProtocol.py", line 56, in closeConnection
self.connection.sock._sock.shutdown(socket.SHUT_RDWR)
socket.error: [Errno 107] Transport endpoint is not connected
^\Quit