duino-coin icon indicating copy to clipboard operation
duino-coin copied to clipboard

Node message: Too many workers

Open nigeljohnson73 opened this issue 5 years ago • 8 comments

Describe the bug Related to #374 ?

I powered all of my miners off overnight to see if things would time out, but I am seeing this error on all of my miner rigs. Possibly related is the fact that API calls are taking 40 seconds to 1 minute (where they then fail) and I'm getting high rejection rates. This is also happening across multiple accounts.

06:25:49  net0  MOTD: Welcome to the first Duino-Coin pool!
                Pool worker limit: 50
06:25:49  net0  Connected to master Duino-Coin server (v2.5, node: 149.91.88.18:6000)
06:25:49  sys0  Mining thread #0 is starting using DUCO-S1 algorithm with 95% efficiency
06:25:50  cpu0  Node message: Too many workers current limit: 50
06:25:53  net0  Error while mining - most likely a connection error - restarting in 5s. (mining err: list index out of range)

I'm running a Raspberry pi 4b+ with 4 threads using 2.56 of the miner

 ‖ Official Duino-Coin © Python Miner (v2.56) 2019-2021
 ‖ CPU: 4x ARMv7 Processor rev 3 (v7l)

nigeljohnson73 avatar Jul 26 '21 05:07 nigeljohnson73

Ah, I think I have found the 'problem' - the "pool" is related to your home IP address... not username is that right?

nigeljohnson73 avatar Jul 26 '21 07:07 nigeljohnson73

I was getting same error and only have ESPx10 Arduino x 17 and CPU x 6 cores

johnlrhodes757 avatar Jul 29 '21 22:07 johnlrhodes757

@nigeljohnson73 it looks to me like limit is also on client IP (and I think not client IP + user name) - so if someone else is mining from same network (office, dormitory) - all have 50 slots.

to be confirmed by devs ...

pankleks avatar Jul 31 '21 08:07 pankleks

It's both IP and Username. No one will need more than 50 workers, and I'm thinking of going back to 25

revoxhere avatar Jul 31 '21 08:07 revoxhere

Thanks for the clear up.

I have 20 ESP32 on a test rig, and then started testing another rig of AVR's when it popped. My daughter and brother are also 'playing' so I wasn't sure if it was related to the server issue of late or my house (over 3 accounts).

Happy to close this issue, or let it carry on if @johnlrhodes757 is still having issues.

nigeljohnson73 avatar Jul 31 '21 09:07 nigeljohnson73

@revoxhere

20 esp32 is connection x 2 -> 40 connections. I'm afraid that if you come back to 25 it will be quite limiting.

"It's both IP and Username" - then I'm pretty sure there is a problem somewhere as according to my tests - it's behaves as global limit for client IP.

Unless there are some issues at present with the server.

pankleks avatar Jul 31 '21 09:07 pankleks

I don't know how is that implemented in the pool

revoxhere avatar Jul 31 '21 09:07 revoxhere

I'm close to 100% sure that pool has limit per ip and not ip/user name. I understand reasoning behind - however for situations like described by @nigeljohnson73 or students in dormitory (or office) it will be limiting factor.

pankleks avatar Aug 03 '21 10:08 pankleks