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

Use link file to associate processes with works #738

Open
wants to merge 2 commits into
base: development
Choose a base branch
from

Conversation

bladeJumper
Copy link
Contributor

@bladeJumper bladeJumper commented May 22, 2021

Workaround for #730 #726 #715

@bladeJumper bladeJumper reopened this May 22, 2021
@bladeJumper
Copy link
Contributor Author

bladeJumper commented May 22, 2021

After 1.16 update of chia, in windows, progress does not show up after plotting for a while.

I find the runtime error RuntimeError('SystemExtendedHandleInformation buffer too big') in process.py, line 216, which could be the rootcause.

Manager could not get the file list used by chia processes, thus it could not find the corresponding log file.

I have no idea how to fix it as the error is raised from psutil.

So here I develop a temporary work around, an link file would be created on creating plotting works, with no content and named # to store the association from log files to processes.

This could act as a workaround, for existing plottings, you would need to create an association file mannually.
image

The issue happens in windows, I guess linux is fine but did not test.

@mauver
Copy link

mauver commented May 27, 2021

looks good your solution. I am using your method in my forked project. thanks. i suggest use open function instead of os.mknod for windows user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants