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

Running yarn cache clean freezes with high CPU #7082

Open
iq-dot opened this issue Mar 5, 2019 · 15 comments
Open

Running yarn cache clean freezes with high CPU #7082

iq-dot opened this issue Mar 5, 2019 · 15 comments

Comments

@iq-dot
Copy link

iq-dot commented Mar 5, 2019

Do you want to request a feature or report a bug?
Bug report

What is the current behavior?

When I run yarn cache clean, it causes a high cpu node process and does not exit even after 30mins. I have upgraded to the latest version and the same issue. I have now manually deleted the cache folder and it still the same issue. I have to kill the process and can not cmd/ctrl+c out of it.

What is the expected behavior?

Not to freeze.

Please mention your node.js, yarn and operating system version.

Node 8.12
Yarn 1.13
Mac OSX Mojave

@mackenziemance
Copy link

Experiencing this same behaviour, did you find a solution?

@iq-dot
Copy link
Author

iq-dot commented Apr 9, 2019 via email

@Drew-Daniels
Copy link

Same issue in 2022

@ehanoc
Copy link

ehanoc commented Feb 10, 2023

Same issue in 2022

2023

@rokumatsumoto
Copy link

same on mac os ventura m2

@Sheepeer
Copy link

Sheepeer commented Apr 3, 2023

same on windows, now it is 2023

@RomainSF
Copy link

we really need a fix...

@onmotion
Copy link

mac M1 Ventura 13

~ % yarn cache clean
yarn cache v1.22.19
success Cleared cache.
✨ Done in 293.69s.

God...

@simoncarbajal
Copy link

I can't wait to write here 2024.... 🥳

@pedro-valentim
Copy link

yarn cache v1.22.19
success Cleared cache.
Done in 1585.80s.

@fmPeretti
Copy link

fmPeretti commented Jun 13, 2024

Still taking a stupid amount of time! JUNE 2024

@timmyjose
Copy link

timmyjose commented Jul 4, 2024

yarn v1.22.21 - still taking an insane amount of time.

Apple M3 Pro

Done in 413.73s.

@catluong101digital
Copy link

catluong101digital commented Jul 9, 2024

yarn cache v1.22.22
success Cleared cache.
✨ Done in 338.28s.

Painful to watch in M1 Pro

@CoderPEPE
Copy link

yarn cache v1.22.22
success Cleared cache.
Done in 2132.65s.

@jameseedi
Copy link

Image

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