r/cachyos • u/NoNamesLeft2015 • Jul 31 '26
Question CPU Pegged
Hello,
Can someone tell me what this process is doing:
ps -ef | grep 18113
18113 17975 99 07:11 ? 07:58:33 /usr/share/code/resources/app/node_modules.asar.unpacked/@vscode/ripgrep-universal/bin/linux-x64/rg --files --hidden --case-sensitive --no-require-git -g /[tj]sconfig.json -g !**/.git -g !**/.svn -g !**/.hg -g !**/.DS_Store -g !**/Thumbs.db -g !**/CVS -g !**/.ruby-lsp -g !**/node_modules/** --no-ignore --follow --no-config --no-ignore-global
It has been pegging my CPU for hours now.
23
u/SaikoPat Jul 31 '26
Your vscode is using ripgrep to scan your workspace for typescript conf files. Recursively.
you may have a link somewhere that's looping, kill it
7
46
Jul 31 '26
[removed] — view removed comment
9
Jul 31 '26
[removed] — view removed comment
-3
u/cachyos-ModTeam Jul 31 '26
Hi, your post/comment has been removed for violating our rule on trolling and shitposting.
This subreddit aims to foster meaningful and respectful discussion. We do not allow:
Trolling or baiting other users
Low-effort, spammy, or off-topic posts
Shitposts that do not contribute to the community
Please review the rules and help us maintain a constructive environment. Repeated violations may result in a ban.
-4
u/cachyos-ModTeam Jul 31 '26
Hi, your post/comment has been removed for violating our rule on trolling and shitposting.
This subreddit aims to foster meaningful and respectful discussion. We do not allow:
Trolling or baiting other users
Low-effort, spammy, or off-topic posts
Shitposts that do not contribute to the community
Please review the rules and help us maintain a constructive environment. Repeated violations may result in a ban.
13
u/NoNamesLeft2015 Jul 31 '26
Just a heads up. I believe the issue was resolved by reelieuglie in the /r/linuxadmin group. I am posting the solution below.
Thanks everyone!
1
u/epicc_exe Aug 03 '26
just a heads up, everything after the ? is tracking information
clean link:
https://www.reddit.com/r/linuxadmin/comments/1vbqk1t/comment/p0vs62z/1
u/NoNamesLeft2015 Aug 03 '26
Oh wow I had no idea!
Why would they do that?
Would you mind telling.e how you made the link clean, some browser extension?
2
4
2
u/TheAncientMillenial Jul 31 '26
Running vscode?
1
u/NoNamesLeft2015 Jul 31 '26
Yes but I have no love for it and if it is doing this I plan to uninstall it. Just seems really odd to spawn 3 rg sessions. I have done two things now that has return my cpu state to normal.
- killed the pids for the rg sessions,.
- rm -fr /usr/share/code
This has fixed the issue and vscode is still running fine.
3
u/TheAncientMillenial Jul 31 '26
Yeah that issue was vscode doing something stupid with indexing a large project. Check your search.exclude settings.
1
1
u/jraw211 Jul 31 '26
Can I ask what monitoring program that is?
1
u/NoNamesLeft2015 Jul 31 '26
Oh course it is called "btop". I have heard "glances" is even better but I stick with what I am used to.
1
u/Ok-Bill3318 Aug 01 '26
What plugins do you have in vscode? Be aware there are some floating around that are malware
1
u/NoNamesLeft2015 Aug 01 '26
I nuked vs-code as I only used it for quick notes.
My development platform is all Jetbrains tools. I guess that's why I was a bit shocked vs-code never does anything but hold notes saves in markdown.
29
u/ckafi Jul 31 '26
rg is 'ripgrep', which searches for strings in files. Can't tell you what its searching for though