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

it would be nice to have a copy or move function as an archive option. #632

Closed
wants to merge 118 commits into from

Conversation

lnb2g
Copy link

@lnb2g lnb2g commented May 22, 2021

rsync is nice and would do the job, but if you plot a lot, it become a bottleneck. Please add a cp/mv between 2nd temp drive and dst. Thanks

BasilHorowt and others added 30 commits May 3, 2021 22:52
I think this is expectation for memory usage and makes the numbers line up with what the OS reports
Co-authored-by: Kyle Altendorf <[email protected]>
…ning_jobs()

the attributes retrived with argumments (that is, 'pid' and 'cmdline') is not used, and getting 'cmdline' attribute with psutil from some processes on windows is unstable and throws exceptions
it is impossible to catch exceptions from this line without abandoning the for lop
it is better to get 'cmdline' and others attributes of processes inside the for loop, where exceptions can be handled without abandoning the for loop
hackerzhuli and others added 22 commits May 17, 2021 22:05
```python-traceback
Traceback (most recent call last):
  File "/home/chia/.local/bin/plotman", line 33, in <module>
    sys.exit(load_entry_point('plotman', 'console_scripts', 'plotman')())
  File "/farm/plotman/src/plotman/plotman.py", line 179, in main
    interactive.run_interactive()
  File "/farm/plotman/src/plotman/interactive.py", line 335, in run_interactive
    curses.wrapper(curses_main)
  File "/home/chia/.pyenv/versions/3.9.2/lib/python3.9/curses/__init__.py", line 94, in wrapper
    return func(stdscr, *args, **kwds)
  File "/farm/plotman/src/plotman/interactive.py", line 262, in curses_main
    jobs_win.addstr(0, 0, reporting.status_report(jobs, n_cols, jobs_h,
  File "/farm/plotman/src/plotman/reporting.py", line 95, in status_report
    row = ['...'] + ([''] * len(headings) - 1)
TypeError: unsupported operand type(s) for -: 'list' and 'int'
```
fix: need to subtract then multiply
Display memory usage as factor of 1024 rather than 1000
@altendky
Copy link
Collaborator

Was this supposed to be an issue and not a pull request? Also, there has been a lot of rework on archiving.

@altendky
Copy link
Collaborator

altendky commented Jun 3, 2021

tmp, 2, and dst are all handled by the chia plotting process. They do not use rsync. plotman archiving is being reworked in #627 if you want to look. The OP has a couple links to in-work documentation.

@altendky altendky closed this Jun 3, 2021
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.

8 participants