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

Scheduler deadlocking #3460

Closed
hyunmoon opened this issue Sep 1, 2020 · 3 comments · Fixed by #3489
Closed

Scheduler deadlocking #3460

hyunmoon opened this issue Sep 1, 2020 · 3 comments · Fixed by #3489

Comments

@hyunmoon
Copy link

hyunmoon commented Sep 1, 2020

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Connect all workers to lotus-miner (200+ of them)
  2. Run lotus-miner sectors pledge
  3. Find out all workers stay idle.
  4. Run lotus-miner sealing sched-diag.
  5. Process hangs indefinitely
  6. I press ctrl+z.
  7. There are 2 PIDs for lotus-miner.
  8. lotus-miner does nothing no matter how long I wait.
  9. lotus-miner stop doesn't work either. The processes have to be killed.

Expected behavior
NO JAMMING when calling sealing jobs list, sealing workers list, and sealing sched-diag. Please!
Jamming after running these commands seems to be the byproduct of sched deadlocking not the cause.

Screenshots
report

Version (run lotus version):
0.5.7+git.b8bbbf3e
(Compiled on latest mater and applied PR #3445.

Additional context
Sched has never been reliable from testnet phase 2 (when I started mining).
I've suffered from deadlocking issue for a long long time. Version 0.5.7 is bad enough to finally make me file a bug report.
The most reliable one I've tried was version 0.5.3. 0.5.7 is worst I've ever used.

@hyunmoon hyunmoon changed the title Scheduler deadlocking very badly Scheduler deadlocking Sep 1, 2020
@jennijuju
Copy link
Member

comment from another miner that is related to this issue

@magik6k
Copy link
Contributor

magik6k commented Sep 1, 2020

Can you get a goroutine dump when this happens (lotus-miner pprof goroutines > goroutines), and send it here?

@hyunmoon
Copy link
Author

hyunmoon commented Sep 1, 2020

@magik6k
goroutines.log

I'll collect more dumps whenever I experience it from now on.

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 a pull request may close this issue.

3 participants