Constant CPU Usage

PHP Tools [?] extends Visual Studio with set of advanced features to work more efficiently with PHP code.

Re: Constant CPU Usage

Postby metal450 » July 24th, 2018, 8:15 am

I use Visual Studio full-time for C# development, always with the firewall up. I've literally got it running 8hrs+/day, every day, and never turn off my firewall. This issue has never arisen. It unquestionably only happens when I have a PHP project opened. (I'm working in Visual Studio as we speak, and have been all day - never any issues, until I open PHP).
metal450
 
Posts: 21
Joined: July 9th, 2016, 5:53 am

Re: Constant CPU Usage

Postby maros.beno » July 25th, 2018, 8:51 am

Hi, maybe I have encountered different problem than you. There seems to be a lot of problems with high CPU usage in VS2017 https://developercommunity.visualstudio ... s2017.html . I guess I could add this to their long list.
Maroš Beňo
User avatar
maros.beno
 
Posts: 34
Joined: October 12th, 2016, 12:11 pm

Re: Constant CPU Usage

Postby metal450 » July 25th, 2018, 3:57 pm

Yeah - it looks like none of the ones listed there are this one though. This one is only when using PHP projects with Firewall active. (Not otherwise with Firewall active, not with PHP projects without Firewall).
metal450
 
Posts: 21
Joined: July 9th, 2016, 5:53 am

Re: Constant CPU Usage

Postby metal450 » July 28th, 2018, 6:42 am

Here's proof that this only affects PHP projects.

Two Visual Studio instances open, one of a C# project, one of a PHP project. One has high CPU usage, one doesn't: http://take.ms/yZdCX

Quit the PHP instance. High CPU usage issue disappears: http://take.ms/ZjSxO
metal450
 
Posts: 21
Joined: July 9th, 2016, 5:53 am

Re: Constant CPU Usage

Postby Miloslav Beno » August 6th, 2018, 12:47 pm

Hello,

Could we schedule a teamviewer session? We could try to attach to the busy VS, break it and see what's on stack of various threads. I hope it will help us to find the sucker.

Thanks again for your patience,
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1220
Joined: January 7th, 2012, 8:36 pm

Re: Constant CPU Usage

Postby metal450 » August 6th, 2018, 5:54 pm

Perhaps as an easier alternative to a live session, is there a way you could just instruct me to capture the information you need, the next time it happens?
metal450
 
Posts: 21
Joined: July 9th, 2016, 5:53 am

Previous

Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 6 guests

cron

User Control Panel

Login

Who is online

In total there are 6 users online :: 0 registered, 0 hidden and 6 guests (based on users active over the past 5 minutes)
Most users ever online was 77 on September 4th, 2018, 9:46 pm

Users browsing this forum: No registered users and 6 guests
Phalanger