RDM v2022.3.xx is generating tons of MSEdgeWebView processes, swallowing all the resources

Implemented

RDM v2022.3.xx is generating tons of MSEdgeWebView processes, swallowing all the resources

avatar

Hello,

On wednesday, I installed v2022.3.15.0 (upgraded from v2022.2.29.0) on 2 different PCs (Win10 and Win7), and the result is CATASTROPHIC on both !!!
As soon as launched, RDM also launches tons (more than 50 !) msedgewebview2 processes till the whole RAM (16GB !) is filled...
And of course, RDM is totally unresponsive ! Also unable to end it properply (the RDM process needs to be killed, as well as all webview processes).

This morning, I upgraded v2022.3.15 to v2022.3.16. Still the same.

With v2022.2.xx, there was also some (a dozen) msedgewebview processes, but none was swallowing RAM and processor resources...

RDM is simply now putting my computers on the knees...
Please, help !

PS: MS Edge WebView runtime v107.0.1418.35 installed

All Comments (32)

avatar

Hello,
I'm unable to reproduce or even explain why this is happening in your environment. Could you verify if you have anything strange in the application logs located in Help? You could also verify the Event Viewer and finally do you have anything special in your environment (Insider Preview, Terminal) that could help me diagnostic the problem?

Could you try to uncheck those settings to see if this reduce the number of process you get?

forum image

Regards

David Hervieux

avatar

Hello David,

I don't understand either !
I have RDM on 4 PCs, 3 under Win10, 1 under Win7, all different models of Dell PCs.

I have many administration tools installed for the management of my network.
No errors in Windows event logs.
I can't open the diagnostics logs under the help menu, because RDM becomes unresponsive quite immediately it's opened !
I've managed with grain pain to enter the options window, and went into MS Edge section to uncheck the 4 options as asked. No change after restarting RDM.
It generates exactely 52 msedgeview2 processes each time it's launched (about 15s after RDM startup, the 52 edge processes are there and it's finished, all I can do is to kill RDM and edgeview).

As RDM is an absolute necessity, I've uninstalled v2022.3 from my main Win10 PC, and reinstalled the old v2022.2.29 back instead, and everything's fine again ! Fortunately.

But I really don't know what's happening with this new v2022.3...
If the issue was happening only on 1 PC, I could say there's something wrong with that one, but actually, the issue exists on all the 4 PCs equiped with RDM !
That's why I think there's a problem with RDM.

Best regards,

avatar

Could you verify the application log but from RDM 2022.2? You might see something?

Regards

David Hervieux

avatar

Hello David,

It was a bit complicated, but I finally managed to get some logs from within RDM v2022.2.
The name of the log database also changed from v2022.2 to v2022.3 (there's a "64" at the end of the name of the file in v2022.2 with isn't there in v2022.3), so I had to cheat and swap the files so that RDM 2022.2 could open the 2022.3 log file.

I'm joining the zipped text-exported log file to the thread, so that you can analyze it, because indeed, there's a lot of errors...

Best regards,

RemoteDesktopManager.zip

avatar

Hello,
I don't understand this error:

[02-11-2022 00:59:05 - 2022.3.15.0 - 64-bit] Erreur: System.Reflection.TargetInvocationException: Une exception a été levée par la cible d'un appel. ---> System.Reflection.TargetInvocationException: Impossible d'obtenir le handle de fenêtre pour le contrôle 'EnhancedWebBrowser'. Les contrôles ActiveX sans fenêtre ne sont pas pris en charge. ---> System.ComponentModel.Win32Exception: Erreur lors de la création d'un handle de fenêtre.

It's an error with the legacy Webrowser. I've made a potential fix.

Regards

David Hervieux

avatar

Hello,

How will that fix become available ?
Through a new release (v2022.3.0.17) ?

Best regards,

avatar

Hello,

The version that contains this fix has just been released, it can be downloaded using the link below:
https://devolutions.net/remote-desktop-manager/home/thankyou/rdmsetup

Let us know if it works for you.

Best regards,

James Lafleur

avatar

Hello,

I downloaded and installed this new v2022.3.0.18 on my old Win7 PC (I now use that one for RDM tests, so I can keep a working v2022.2 on my prodution PC).
Still the same !
52 msedgewebview2 processes created just after RDM startup, and the CPU and RAM resources got totally used in a minute.
Worse: this time, the log database was not modified ! There's no entry for v2022.3.0.18 at all.

Best regards,

avatar

Hello,
That's a bad news. I will go back to the drawing board and try something else. I have another idea.

Regards

David Hervieux

avatar

David Hervieux

avatar
Could you try this build?

https://cdn.devolutions.net/download/Setup.RemoteDesktopManager.2022.3.19.0.exe

Regards


Hi, I'm having this issue as well. It persists with 2022.3.19.

avatar

Any logs?

David Hervieux

avatar
Any logs?

Hi David,

Is there a way to get the logs outside of the application? The app becomes unresponsive as soon as I launch it.

-Josh

avatar
Could you try this build?

https://cdn.devolutions.net/download/Setup.RemoteDesktopManager.2022.3.19.0.exe

Regards

Hi, I'm having this issue as well. It persists with 2022.3.19.


Hi,

The same for me !
Absolutely no change with v2022.3.19...

As for Josh, RDM is unresponsive as soon as it is launched and must be killed in order to recover a usable computer.
The msedgewebview processes must also be killed, but sometimes, killing RDM makes them stop by themselves.

avatar

Hello,
I will try to build a small application to reproduce the issue. I them meantime could you try to unzip RDM 2022.3.18 in another folder and execute it Side By Side. Just try a simple SQLite data source and let me know if you can start the application.

Regards

David Hervieux

avatar

Hello,
Could you try this test apps?

Regards

David Hervieux

webviewtest.zip

avatar

Hello,

1) The test "webviewtest" app works ! I've launched it, the Devolutions start page appears, I can navigate in it, and CPU and RAM resources are OK.

2) I've unzipped RDM 2022.3.18 in a separate folder. I've also launched it successfully with the default empty Connections.db SQLite database. No resource issue, the application is responsive...

Could our issue come from the contents of our connections database ?

Best regards

avatar

Hello,
It's interesting. Perhaps it's a setting the cause the issue. Could you try to import and export your data source configuration (not the data) in the unzipped RDM. By the way, when RDM is not installed in Program Files, the cfg and WebView cache is in the installation folder.

Regards

David Hervieux

avatar

Just chiming in to say that I too am experiencing this after upgrading from 2022.2.20.0 to 2022.3.18.0 today. Downgrading back to 2022.2.20.0 allowed me to open RDM without it freezing.

avatar

@ngagne

Could you try the side by side install of RDM 2022.3 in another folder?

Regards

David Hervieux

avatar

Could you try to delete the Edge cache located in %localappdata%\Devolutions\RemoteDesktopManager?

Any folder with "WebView2.Cache" in the name

Regards

David Hervieux

avatar
Hello,
It's interesting. Perhaps it's a setting the cause the issue. Could you try to import and export your data source configuration (not the data) in the unzipped RDM. By the way, when RDM is not installed in Program Files, the cfg and WebView cache is in the installation folder.

Regards


Hello,

Here are some results:

  • With RDM 2022.3 unzipped in a standalone folder, and an empty SQLite connection database: startup and functions are OK.
  • I then exported its original config to save it. After that, I imported the config coming from RDM 2022.3 installed by the setup and freezing. RDM unzipped is then ALSO freezing (and of course, the ton of msedgewebview processes are also present) !
  • I finally imported the originally saved config back into the unzipped RDM, and RDM works again...


Clearly, it must be something in the config that creates the issue, but what ?

I also tried deleting the RDM Egde cache folder from the setup-installed RDM.
As soon as RDM is started, the cache folder is recreated, but RDM still freezes and the edgewebview processes keep generating.
The cache folder mightn't seem to be responsible ?

PS: I managed to catch some errors from the unzipped RDM. I don't know if it can help, but here it is, post-joined...

Regards,

Errors.zip

avatar

Could you send me the working and non working cfg for a compare? Don't worry there is no sensitive data in it but you can send it as private message still.

Regards

David Hervieux

avatar

@dhervieux - can you provide me with an installer for 2022.3.14.0? Only 2022.3.16.0 is in previous versions. I'd like to test and see where the breaking change is.
e: I was able to manipulate the download link and grab it. Testing now.

avatar

I can confirm the behavior exists 2022.3.14.0 as well.

avatar
Could you send me the working and non working cfg for a compare? Don't worry there is no sensitive data in it but you can send it as private message still.

Regards


Hi,

Here are 2 config files:

  • The original v2022.3 (with a SQLite DB) working config.
  • The v2022.2 config, working in v2022.2 but not once imported in v2022.3


Regards,

CFG files.zip

avatar

Have you tried to reconfigure you DOD data source in the 2022.3 version?

Regards

David Hervieux

avatar

Hello,
I have a good news. I'm able to reproduce it with your configuration. I only have now to find out why this is happening. I will let you know.

Regards

David Hervieux

avatar

No, recreating the whole database is far too much work !
I have dozens of remote sessions defined...

Indeed, being able to reproduce the issue on your side will be helpful for you to find out what's happening...

Regards

avatar

Hello,
I have found the problem. It's happening when the Overview is hidden. TabPageChanged is invoked before the initialization of the dashboard causing a circular loop. This version has a fix for that

https://cdn.devolutions.net/download/Setup.RemoteDesktopManager.2022.3.22.0.exe

Regards

David Hervieux

avatar

Hi David,

This version is working perfectly for me, thank you! And thank you aloubert for your efforts as well. I'd hoped to help with testing but just didn't have the bandwidth over the last few days.

-Josh

avatar

Hello,

v2022.3.22 also works for me now !
Thanks David.

Regards