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

Mill prompt shows many more open tasks than the parallelism limit #4611

Open
lihaoyi opened this issue Feb 23, 2025 · 0 comments
Open

Mill prompt shows many more open tasks than the parallelism limit #4611

lihaoyi opened this issue Feb 23, 2025 · 0 comments

Comments

@lihaoyi
Copy link
Member

lihaoyi commented Feb 23, 2025

See the image below, where I ran ./mill -k integration.__.local.server with repo the config -j0.5C and 10 cores on my laptop, and I would expect 5 ongoing tasks

Image

It's not surprising to have more than 5, because some tasks may be blocked by their child ctx.fork.async futures are running. But I wouldn't expect more than 10 (5 blocked and 5 running). Maybe our scheduling is a bit wonky and letting the blocked tasks pile up rather than clearing them promptly

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

No branches or pull requests

1 participant