madMAx43v3r / chia-gigahorse

220 stars 32 forks source link

2.3.0 giga36 fatal ERROR #314

Open Ferz0id opened 1 month ago

Ferz0id commented 1 month ago

2024-05-06T13:46:29.704 full_node chia.server.start_service: ERROR fatal uncaught exception: ValueError: max_workers must be <= 61 Traceback (most recent call last): File "D:\soft\Crypto\Mining\Chia\chia-gigahorse-farmer\chia\util\log_exceptions.py", line 20, in log_exceptions File "D:\soft\Crypto\Mining\Chia\chia-gigahorse-farmer\chia\server\start_service.py", line 323, in async_run File "D:\soft\Crypto\Mining\Chia\chia-gigahorse-farmer\asyncio\runners.py", line 190, in run File "D:\soft\Crypto\Mining\Chia\chia-gigahorse-farmer\asyncio\runners.py", line 118, in run File "D:\soft\Crypto\Mining\Chia\chia-gigahorse-farmer\asyncio\base_events.py", line 653, in run_until_complete File "D:\soft\Crypto\Mining\Chia\chia-gigahorse-farmer\chia_full_node.py", line 85, in async_main File "D:\soft\Crypto\Mining\Chia\chia-gigahorse-farmer\chia\server\start_service.py", line 197, in run File "D:\soft\Crypto\Mining\Chia\chia-gigahorse-farmer\contextlib.py", line 204, in aenter File "D:\soft\Crypto\Mining\Chia\chia-gigahorse-farmer\chia\server\start_service.py", line 214, in manage File "D:\soft\Crypto\Mining\Chia\chia-gigahorse-farmer\contextlib.py", line 638, in enter_async_context File "D:\soft\Crypto\Mining\Chia\chia-gigahorse-farmer\contextlib.py", line 204, in aenter File "D:\soft\Crypto\Mining\Chia\chia-gigahorse-farmer\chia\full_node\full_node.py", line 266, in manage File "D:\soft\Crypto\Mining\Chia\chia-gigahorse-farmer\chia\consensus\blockchain.py", line 146, in create File "D:\soft\Crypto\Mining\Chia\chia-gigahorse-farmer\concurrent\futures\process.py", line 666, in init ValueError: max_workers must be <= 61

Windows 11 2.3.0.giga36 Gigahorse 3.0 Node / Farmer

madMAx43v3r commented 1 month ago

Maybe some invalid value in config.yaml ?

Ferz0id commented 1 month ago

I tried it with the just-generated config and it's still the same, I have to use the old version (2.2.1). My system has two 64-core processors then mayby it's a bug point (max_workers must be <= 61)

madMAx43v3r commented 1 month ago

Yup it's a python limitation on windows. I'll limit it to 32 threads in next version, if Chia doesn't fix it themselves.

madMAx43v3r commented 1 month ago

They fixed it already: https://github.com/Chia-Network/chia-blockchain/pull/17958

Just need to wait for next version.

madMAx43v3r commented 1 month ago

Actually you can set full_node/reserved_cores to 96 in your case to fix it in current version.