-
Notifications
You must be signed in to change notification settings - Fork 254
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
vsls-agent consuming 100% cpu #355
Comments
+1, same problem here - my battery was just drained in 2h from full charge and found the same thing that you did! |
@jtokoph (and @lindskogen) Thanks for reporting this. We'll need to see if we can repro this one but clearly this should not be happening. |
Same problem, currently I have no clue what triggers this behaviour. I also have no active shared sessions when this occurs. Product and Version [VS/VSCode]: VSCode 1.23.1 |
I’ve had to completely disable the extension to avoid overheating/fan
burnout/battery drain. So unfortunately I won’t be able to provide any
further information.
I was able to repro once by putting my machine to sleep for 5 minutes and
waking it to 100% cpu. Tried 5 more times and it didn’t happen. So very hit
or miss if that’s the cause.
On Mon, May 14, 2018 at 11:34 Simon Lepla ***@***.***> wrote:
Same problem, currently I have no clue what triggers this behaviour. I
also have no active shared sessions when this occurs.
*Product and Version* [VS/VSCode]: VSCode 1.23.1
*OS Version* [macOS/Windows]: macOS 10.12.6
*Live Share Extension Version*: 0.3.98
*Target Platform or Language* [e.g. Node.js]: Go
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#355 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAVIcbeAN6gWFK_rbZOmTwiVeVOb8deVks5tyc5BgaJpZM4T6cpU>
.
--
Jason
|
Same here |
Thanks for reporting, working on fixing this. |
I have the same issue, with liveshare extension installed, while not even being logged to liveshare. |
After disabling, I now can use my computer again ... |
As an update for everyone: we've got a fix for this issue and are just finalizing some validation. We're hoping to release the fix early next week, and we'll update this bug with progress. Thanks for the patience! |
Important notes:
|
This issue has been resolved with the |
@gevorggalstyan , just updated Code Insider to It seems the reduced to one agent only across all the instances opened, but it still runs high on CPU. |
@gerhardcit I am using VS Code Version 1.23.1 (1.23.1) d0182c3417d225529c6d5ad24b7572815d0de9ac (The blue one, not the insider), and VSLS version is 0.3.198. I did not notice any issues with CPU consumption a few days already. Hope the versions info helps you to solve the issue. |
February 2019 and still have this issue. Any solution? |
March 2019 and still have this issue. Any solution:( |
Same here. Issue still exists. |
I can confirm a similar issue. In my case, running Ubuntu 18 and VS Code 1.32.1. When I open multiple instances of VS Code, and work for several hours. At some point, vsls-agent goes crazy and puts the CPU at 200%. If I don't stop the process asap, there is no alternative than power off to restart everything. Uninstalling LiveShare solved the issue. Weirdly, I can't remember when I installed it. |
This issue is still happening. I uninstalled LiveShare, but the process is STILL running! i restarted VS code, the process is still there. only killing the process manually removes it |
Still happening for me to on a MacBook Pro (Retina, 15", late 2013) on Catalina v10.15.3 using latest VS Code: Version: 1.43.0 |
Yep, happening as of today as well |
@BrunoGuardia since this issue previously assigned to you. Is there any investigation findings? . We started to get recent reports that users experience it again. cc: @fubaduba @Davsterl for info. |
no investigation results that I remember, other than the observation the agent was logging a lot of data |
Y'all lucky. For me it is very common that vsls-agent is way above 100%. Right now it is above 500%. |
500% today. Version: 1.57.0-insider (Universal) |
@toridoriv Do you mind sending attaching / sending logs? |
No problem! I have one from May 28th and the one from today. Let me know if I can be of any help. |
Same problem here... |
I've been having battery issues with my MacBook Pro 16" for the past few days. I would have it plugged in and it would be actively draining battery at a pretty fast rate. My fan was going off the wall trying to cool the laptop. I just went to Activity Monitor to see wtf is going on and found vsls-agent consuming 199% CPU. I feel like my laptop was trying to fight off covid for the last few days and I just cured it. It should be noted, there was no LiveShare session active. Before I closed the process, I double-checked to make sure. So not sure why it was even running. |
I'm seeing vsls-agent at 100% and fan running high on my macbook. I did a LiveShare session earlier today using VSCode Insiders. Now, even with VSCode shut down I'm seeing the high CPU usage. |
Same issue here, draining battery quite quickly |
vscode wasn't even running, have the same issue |
Also having this issue on a 2019 MacBook Pro and it's causing the fan to run constantly. It's got a 2.4 GHz 8-Core Intel Core i9 and 16 GB of memory, so I found this really surprising. I'm on VSCode v1.61.2 and LiveShare v1.0.5065. I was not actively using LiveShare when this was happening. Let me know if there's any additional information I can provide that might help track down this issue. |
I experience this issue with vsls-agent as well. The trigger I have found is when VSCode is open and my internet connection drops (or I reset it intentionally). I can trigger this 100% CPU issue reliably by rebooting my router while my MacBook is locked (but turned on) and VSCode is left running. |
After my last post and on the next day, Without do any changes, VSCode started to behave normally without using any abnormal CPU usage! Even while Live Share was active!! (Sorry I forget to report that!) But! Today I notice some of the VSCode plugins got updated and the problem with Live Share was raised again!! Live Share is still in the same version "v1.0.5330". and I leave the VSCode window open and after 10 min of high CPU usage, it gets back to normal again! |
I recently started to see that as soon as i started a live share session the CPU would go up to 100% and continuously was consuming more memory. On a fresh checkout of our project this didnt happen and it also didnt happen for other repos like rxjs. After further investigation I noticed some odd symbolic links in the node_module folders to their own package. This behavior was added to yarn in v3 (we recently switched to yarn 3, that is why i didnt have this problem before). It can be disabled in the .yarnrc.yml with ref: yarnpkg/berry#3206 I dont know, if this is the root cause (recursive symbolic links) for this particular issue since it only happens once you start a live share session while most of the problem descriptions in this issue do not mention explicitly when live share begins to take 100% CPU. TLDR: watch out for recursive symbolic links, live share cant handle them |
We’ve made improvements in this area since this issue was filed (i.e. the vsls-agent process and associated dependencies have been removed). We believe this may have improved your experience and are closing this issue. If this issue still persists for you, please comment on the issue and let us know. Thank you. |
vslslogs.zip
Product and Version [VS/VSCode]: VSCode 1.23.0
OS Version [macOS/Windows]: OSX 10.13.4
Live Share Extension Version: 0.3.98
Target Platform or Language [e.g. Node.js]: Ruby?
Steps to Reproduce / Scenario:
After "a while", and potentially only after waking my mac from sleep/lock, the vsls-agent process starts to consume 100% cpu.
Unfortunately I don't know the steps to reproduce, but it has happened multiple times. I'm opening the issue because I wasn't able to find anyone else reporting an issue via google/gh searches. Hopefully someone will also search and add their experience here.
I think it might be related to the computer locking/sleeping, but haven't been able to reproduce consistently. When I see the cpu usage goes to 100% I reload vscode and it all goes back to normal.
I should note that this is happening while signed into live share but I do not have an active sharing session. As far as I'm concerned the extension should be considered idle. I do usually have a debug process going within vscode for a rails server. Not sure yet if that is required for this issue to happen.
Feel free to close due to needing more info, but I thought it would be valuable to have a place for others to report if they have this issue.
The text was updated successfully, but these errors were encountered: