Skip to content

Use link file to associate processes with works#738

Open
bladeJumper wants to merge 2 commits into
swar:developmentfrom
bladeJumper:process_association_fix
Open

Use link file to associate processes with works#738
bladeJumper wants to merge 2 commits into
swar:developmentfrom
bladeJumper:process_association_fix

Conversation

@bladeJumper

@bladeJumper bladeJumper commented May 22, 2021

Copy link
Copy Markdown
Contributor

Workaround for #730 #726 #715

@bladeJumper bladeJumper reopened this May 22, 2021
@bladeJumper

bladeJumper commented May 22, 2021

Copy link
Copy Markdown
Contributor Author

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

mauver commented May 27, 2021

Copy link
Copy Markdown

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.

2 participants