Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] After updating to version 2.3.0, the restart program is stuck in the process of continuously starting the service #18035

Closed
Michael121318 opened this issue May 16, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Michael121318
Copy link

What happened?

After updating to version 2.3.0, the res
Uploading 微信截图_20240516234532.png…
tart program is stuck in the process of continuously starting the service

Version

2.3.0

What platform are you using?

Windows

What ui mode are you using?

GUI

Relevant log output

No response

@Michael121318 Michael121318 added the bug Something isn't working label May 16, 2024
@BrandtH22
Copy link
Contributor

Hey @Michael121318 , please refer to the comment in the discussion:
#18034

@SlightlyNoobish
Copy link

SlightlyNoobish commented May 22, 2024

I am getting this error, same issue.
No 18034 isn't a solution, i am already on v2 DB

had to roll back to 2.2, works no problem

2024-05-21T20:15:20.222 full_node chia.server.start_service: ERROR fatal uncaught exception: ValueError: max_workers must be <= 61
Traceback (most recent call last):
File "chia\util\log_exceptions.py", line 20, in log_exceptions
File "chia\server\start_service.py", line 323, in async_run
File "asyncio\runners.py", line 44, in run
File "asyncio\base_events.py", line 649, in run_until_complete
File "chia\server\start_full_node.py", line 85, in async_main
File "chia\server\start_service.py", line 197, in run
File "contextlib.py", line 199, in aenter
File "chia\server\start_service.py", line 214, in manage
File "contextlib.py", line 619, in enter_async_context
File "contextlib.py", line 199, in aenter
File "chia\full_node\full_node.py", line 266, in manage
File "chia\consensus\blockchain.py", line 146, in create
File "concurrent\futures\process.py", line 614, in init
ValueError: max_workers must be <= 61

@wjblanke
Copy link
Contributor

How many CPU cores do you have? Python only can do multiprocessing with 61 cores. A workaround for this is to use the reserved_cores config.yaml setting to remove some of those cores from the multiprocessing pool. For example if you have 64 cores can you change

reserved_cores: 0

to

reserved_cores: 10

And that should allow things to run. This is a regression as you noted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants