这是indexloc提供的服务,不要输入任何密码
Skip to content

turborepo --parallel consumes 100% CPU on one thread #521

@VanTanev

Description

@VanTanev

What version of Turborepo are you using?

1.0.24

What package manager are you using / does the bug impact?

npm

What operating system are you using?

Linux

Describe the Bug

Creating an application with npx create-turbo and npm package manager and running npm run dev results in 1 CPU thread spinning at 100%

image

➜  node -v
v16.13.1
➜  npm -v
8.1.2
➜  turbo -v
1.0.24
➜  cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.3 LTS"

Running inside VMWare, but that should make no difference as no other programs show anomalous behavior.

Expected Behavior

No 100% CPU usage when turbo is ran with --parallel

To Reproduce

Creating an application with npx create-turbo and npm package manager and run npm run dev.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions