DO液滴RG和节点使用大量资源

发布于 2025-01-30 20:12:39 字数 1044 浏览 2 评论 0 原文

当我尝试使用VSCODE管理Ubuntu液滴时,我注意到它运行速度非常缓慢,并且永远需要打开任何东西。我正在使用它来学习概念,不到一周前就把它旋转了。

看看 top ,当我首次打开VSCODE的服务器时,我看到RG的CPU约为180%,我在SnAPD,Node和KSWAPD0上也有很多吨。我不确定所有这些。我进行了一些挖掘,RG与VSCODE有关吗?

我想在Linux上使用VSCODE,但如果它一直崩溃并使用我的所有资源,则不会使用VSCODE。

我不完全确定节点是什么。我没有部署任何节点应用程序。我目前仅使用MySQL,Docker,Spring,Nginx,Certbot。

我注意到它正在崩溃,所以我更新到每月18美元2VCPU和2GB内存,并且它一直持续100%。这是因为Docker和Spring是资源密集型吗?

编辑:我已禁用内置TS/JS功能扩展。它仍然很高。 我也残疾了collysymlinks <

​=“ https://i.sstatic.net/chyci.png” rel =“ nofollow noreferrer”>

184“

When I try to use vscode to manage my ubuntu droplet, I notice it's running really slowly and takes forever to open anything. I'm using it to learn concepts and just spun this up less than a week ago.

Taking a look at top, when I first open the server in vscode I see rg is at like 180%CPU, I also have a ton on snapd, node, and kswapd0. I'm not entirely sure what all these are. I did a bit of digging and rg is something to do with vscode?

I'd like to use vscode on linux but not if it crashes my server all the time and uses all my resource.

I'm not entirely sure what the nodes are. I don't have any node apps deployed. I'm only using mysql, docker, spring, nginx, certbot at the moment.

I noticed it was crashing so I updated to $18 a month 2vCPU and 2GB Memory, and it's still hitting 100% all the time. Is this because docker and spring is that resource intensive?

Edit: I have disabled built-in TS/JS feature extension. It's still pretty high. https://medium.com/good-robot/use-visual-studio-code-remote-ssh-sftp-without-crashing-your-server-a1dc2ef0936d
I have also disabled followSymLinks
https://github.com/microsoft/vscode/issues/98594

Resource

184

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文