Open S1m0nP1 opened 3 years ago
Does plotman detect that the processes are running and report them? Such as via plotman interactive
or plotman status
. Also, what is the output of ps aux | grep 'plots create'
when one or more of the plot processes have launched?
plotman interactive shows jobs as zero but reports and creates multiple log files (one for each job)
output of ps aux | grep 'plots create' is:
Last login: Tue Jul 13 14:09:23 on ttys000
simons-MBP:~ simonperfitt$ ps aux | grep 'plots create'
simonperfitt 530 187.2 30.1 8025816 2528588 ?? RNs 2:02pm 85:26.12 chia plots create -k 32 -r 2 -u 128 -b 3389 -t /Volumes/ssd/plots -d /Volumes/new/plots -c xch1pn3qnu8jw8ma99s734n3qxr4rqyfda7t80gvv0c78e27mef428sqqgg0xj
simonperfitt 951 0.0 0.0 4268040 792 s000 S+ 3:04pm 0:00.00 grep plots create
simons-MBP:~ simonperfitt$
In the above example, I killed all running chia instances except one (otherwise my machine would crash before I could get to the terminal)
It looks like maybe there's a regression on handling chia installations done with the binary installer. I'll dig into it later.
Ok, thanks!
I think I've got a fix over in https://github.com/ericaltendorf/plotman/pull/865. This was also reported over in https://github.com/ericaltendorf/plotman/discussions/849. If you want to try it out you can use the regular installation instructions but with altendky/plotman@fix_chia_binary_process_detection
instead of ericaltendorf/plotman@main
. (in case someone passes by later, this branch will be deleted once merged)
reinstalled using: altendky/plotman@fix_chia_binary_process_detection. plotman status returns this error:
simons-MBP:~ simonperfitt$ plotman status
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.9/bin/plotman", line 8, in <module>
sys.exit(main())
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/plotman/plotman.py", line 219, in main
jobs = Job.get_running_jobs(cfg.logging.plots)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/plotman/job.py", line 227, in get_running_jobs
parsed_command = parse_chia_plots_create_command_line(
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/plotman/job.py", line 86, in parse_chia_plots_create_command_line
for argument in all_command_arguments
UnboundLocalError: local variable 'all_command_arguments' referenced before assignment
For what it's worth, in another PR I'm rewriting all this and adding decent test coverage so hopefully in the future we can avoid these regressions...
Go ahead and try installing again. I have added some more changes to that branch. Thanks for your time working through this.
yes!, that's fixed it. thanks for dealing with it so promptly
Upgraded to v0.5 on macOS Mojave in order to to add 'pool_contract_address:' to plots.
Previous version worked fine. Now starting the plot loop results in a new plot (and therefore new chia instances) being generated every 20 seconds until my machine runs out of resources and grinds to a halt!