bitHopper icon indicating copy to clipboard operation
bitHopper copied to clipboard

BUG: UPSTREAM: CGMINER w/ Multiple Coins Crashes

Open Endeavour79 opened this issue 14 years ago • 50 comments

EDIT: So cgminer crashes if it tries to mine multiple coin types. Use a different miner if you are doing that. The dev's refuse to fix it. I may.

Hi..this will be the most weird bug report I've ever done..

I did not touch BH since 2.4.4 which worked pretty good. It was the last version without the new bh.cfg (just to give you an idea) and plugins. Since this version, every newer version till bleeding edge simply don't work for me. I always get issues with RPC getwork flooding, connection refused errors, plugin errors or simply BH hangs after a while. Also there is a error about already imported stuff directly when starting BH. (peak init.py) I am using 3 clients all on cgminer (tried 1.6.1 and 1.6.2) and Win7 64bit.

I can't really provide a detailed bug report but maybe you know already, whats wrong.

Hope the next version will be stable again.

Cheers End

Endeavour79 avatar Sep 06 '11 02:09 Endeavour79

Getwork flooding may be related to LP/announces from digbtc...something to look into.

itstooez avatar Sep 06 '11 02:09 itstooez

http://pastebin.com/DYAsfF3J

have commented out digbtc

Endeavour79 avatar Sep 06 '11 02:09 Endeavour79

I'm still running cgminer 1.5.6 as that's the only version that seems to work. All versions after that cause stalls in my miners. Maybe try 1.5.6.

simonk83 avatar Sep 06 '11 02:09 simonk83

Hmm..is was using 1.6.2 with 2.4.4 for a while without issues.. No stales here..

Endeavour79 avatar Sep 06 '11 02:09 Endeavour79

Works better with cgminer 2.0.0

Endeavour79 avatar Sep 06 '11 05:09 Endeavour79

Also having the getwork spam issue. Phoenix 1.6.2 Phatk 2.2 Win7 64. Edit: 2.4.4 also having issues for me.

macboy80 avatar Sep 06 '11 07:09 macboy80

Ok, with cgminer 1.5.6, everything's fine, no getwork spam

With cgminer 2.0, LOT'S of getwork spam almost immediately.

No other changes other than the cgminer version. Someone mentioned that 1.5.6. uses phatk2 whereas 2.0 uses phatk2.2. Not sure if that's a place to start looking for the problem.

simonk83 avatar Sep 06 '11 08:09 simonk83

I am having the same issue. Commenting out digBTC (all versions - BTC i0C, SDC) didn't help. Tried phoenix 1.6.1 and phoenix 1.6.2, ubuntu 11.04 and BAMT, phatk 2.0 and 2.2

I believe it is not miner related.

vcaxx avatar Sep 07 '11 10:09 vcaxx

Try the latest version. I turned the timeout way down so miners don't keep retrying our proxy and causing us to completely flood a server.

c00w avatar Sep 07 '11 18:09 c00w

Thanks. I'm still out at work on an emergency call... I'll let you know first thing in the morning. On Sep 7, 2011 2:31 PM, "c00w" < [email protected]> wrote:

Try the latest version. I turned the timeout way down so miners don't keep retrying our proxy and causing us to completely flood a server.

Reply to this email directly or view it on GitHub: https://github.com/c00w/bitHopper/issues/343#issuecomment-2032001

macboy80 avatar Sep 08 '11 03:09 macboy80

The problem is still there. It seems even worse. Previously it would work for 30mins to few hours. Now it seems to get into getwork flooding faster.

vcaxx avatar Sep 08 '11 09:09 vcaxx

Update. It seems that the problem starts when a new block is announced, I am not positive about it though. A restart of the bitHopper does not solve the problem. However restart of the miners after the restart of the hopper helps. I guess this may shed some light on the source of the problem.

The flooding getworks are empty "[]" opposed to valid ones "[32adfsjf023784...many chars...23751sfds]".

It seems that my IP is getting banned on some of the pools because of the empty "getwork" flooding. So I would rate this as a priority.

vcaxx avatar Sep 08 '11 10:09 vcaxx

vcaxx, if you haven't already, disable digbtc. That should "fix" it.

simonk83 avatar Sep 08 '11 10:09 simonk83

simonk83,

How exactly you disable digbtc? I deleted it in user.cfg. I also deleted digbtc in pools.cfg, though I did not do it in the latest version. But in both cases I am still getting their block announcements in the bitHopper output.

Is there some more that I should do?

vcaxx avatar Sep 08 '11 10:09 vcaxx

Hi there, no that's fine. What you're seeing is just other people's announces from IRC. Sort of. If you've removed them from the configs then you should hopefully be fine. Hopefully you won't see any more spam.

simonk83 avatar Sep 08 '11 10:09 simonk83

OK,

After removing digbtc from pools.cfg in the latest version it seems to be working for now, before it would get into flooding within few minutes. I'll update if it starts again.

ozco and eligius are still lagging - I guess they blocked me. Is there a mechanism that hopper retries them after some time?

Thanks!

vcaxx avatar Sep 08 '11 10:09 vcaxx

Yes there is a delagger.

c00w avatar Sep 08 '11 12:09 c00w

Crap. This just started reoccuring this morning, but as joules suggested it seems it might be related to cgminer 2.0.0. With cgminer 1.5.6 it seems fine, but 2.0.0 causes the spam.

I spoke to the cgminer dev and he (quite rightly) pointed out that this problem doesn't exist when just mining "normally" so it's obviously BH related. Any idea what it could be c00w?

simonk83 avatar Sep 09 '11 02:09 simonk83

I'll take a look.

c00w avatar Sep 09 '11 10:09 c00w

Thanks mate

simonk83 avatar Sep 09 '11 11:09 simonk83

I tested on my dev machine with 2.0.1. It worked fine. No obvious spam. I couldn't get it to work on my actual miner though.

c00w avatar Sep 09 '11 16:09 c00w

I don't get any getwork spam. I do get issues with pool 0 not providing work fast enough. Which may be causing spam in older versions if it doesn't work correctly. But there appears to be no effect on hashrate.

c00w avatar Sep 09 '11 17:09 c00w

Hi c00w. I tried 2.0.1 this morning. It ran fine for about 1.5 to 2 hours, then the getwork spam started. The only reason I noticed was because the fans quietened down :D Unfortunately it seems pretty random, but it should happen eventually.

simonk83 avatar Sep 09 '11 23:09 simonk83

Do any output messages come from cgminer? Like pool being slow etc...?

c00w avatar Sep 10 '11 02:09 c00w

Doesn't seem to be, no. It just sort of sits on Accepted [blah blah]

simonk83 avatar Sep 10 '11 04:09 simonk83

Still happening with 2.0.2 :(

simonk83 avatar Sep 14 '11 07:09 simonk83

This time I got "Pool 0 is not accepting work fast enough"

simonk83 avatar Sep 14 '11 07:09 simonk83

Is it not doing work submission in parallel?

c00w avatar Sep 14 '11 14:09 c00w

Not 100% sure what you mean by that but basically:

Suddenly heaps of getwork spam will occur Cgminer reports "Pool 0 can't provide work fast enough " All gpus stop working This continues until a new vote happens in bh (or maybe just a pool change) at which point it all starts working again. rinse and repeat

simonk83 avatar Sep 14 '11 21:09 simonk83

I can second that, but with phoenix 1.6.2 ... I do think it has to do with phatk. i switched to poclbm on my rig, and the problems with getwork disappeared.

macboy80 avatar Sep 14 '11 21:09 macboy80

Ok, trying poclbm now but its a good 150mh slower :(

simonk83 avatar Sep 14 '11 21:09 simonk83

I tried poclbm R6950 OC - Cat 11.7 - SDK 2.5 - Win7 x64 and went from ~360 down to ~358 still faster than phatk 1.x Also of note... Phoenix 1.5 and some phatk before 2.2, maybe diaplo, on R5750 has no getwork issues.

I am getting the irc disconnect/connect again, though (Off topic)

macboy80 avatar Sep 14 '11 22:09 macboy80

Yes c00w.. it does not submit work when the error occurs

Endeavour79 avatar Sep 14 '11 22:09 Endeavour79

Is there any sort of watchdog feature that can be added where, for example, if it sees say 20 getworks in a row without a submit then it does ? :)

simonk83 avatar Sep 14 '11 22:09 simonk83

Ok, poclbm gives the same problem. I also tried an older pharmacy version from cgminer 1.5.6 but that gives the same problem. Probably not phatk related then.

simonk83 avatar Sep 14 '11 23:09 simonk83

^ phatk, not pharmacy ;)

simonk83 avatar Sep 14 '11 23:09 simonk83

um, dunno if this bh.cfg option acts as a getwork watchdog but here it is

  • connection timeout for work requests

work_request_timeout = 2.5

paraipan avatar Sep 15 '11 00:09 paraipan

@simonk83: Did you get rid of all 3 of the digbtc's in both pools and users?

macboy80 avatar Sep 15 '11 00:09 macboy80

Does making the timeout be abut 30 seconds help?

c00w avatar Sep 15 '11 02:09 c00w

So work_request_timeout = 30?

Just driving back from the snow now, I'll try when I get home.

simonk83 avatar Sep 15 '11 02:09 simonk83

I think so macboy, I'll double check

simonk83 avatar Sep 15 '11 02:09 simonk83

Simon: Try this kernel. It's the one that is working with phoenix 1.6.2 and bH. I just applied this kernel to the phatk folder and dumped phatk2 from phoenix, and I'm up without getwork spam... bout 2 hrs so far :-) Going to run all night. Will update during lunch...

http://sourceforge.net/projects/phatk/files/phatk-2.2.zip/download

EDIT: My current config actually has all 3 digbtc's and still working...

macboy80 avatar Sep 15 '11 05:09 macboy80

Hi all,

Removed all the digbtc's - no help Changed the work request timeout to 30 - no help Macboy, I tried your kernel but as I'm using cgminer it spits the dummy and won't work. I tried renaming kernel.cl to match the cgminer version, but there must be more to it than that unfortunately.

simonk83 avatar Sep 15 '11 07:09 simonk83

Hmmmm. Try a timeout of like 0.3.

c00w avatar Sep 15 '11 11:09 c00w

Just an update... Dumping phatk2 did work for me. Simon: Try phoenix with the above kernel... Should keep your hashrate the same. That's all I got.

macboy80 avatar Sep 15 '11 13:09 macboy80

CGminer can't handle multiple coins. We're seeing if we can convince the dev to give us an option to disable it.

c00w avatar Sep 17 '11 01:09 c00w

No luck with the dev. But it looks like if we do a LP to the client every time we switch coin types it might work.

c00w avatar Sep 17 '11 13:09 c00w

great, i surely didn't like cgminer dev attitude bout this

paraipan avatar Sep 17 '11 13:09 paraipan

I think its fixed. I'm going to wait a little then close the issue. We needed to do an LP every time we switched coin types.

c00w avatar Sep 17 '11 16:09 c00w

Its not fixed. However its an upstream bug that they won't fix. I forked cgminer but I haven't gotten around to implementing different cointypes.

c00w avatar Sep 20 '11 18:09 c00w