UnrealDeploymentServerLauncher high CPU on Windows 10

Windows task manager reports UnrealDeploymentServerLauncher with high CPU usage. Every few seconds, the load increases as shown below, then goes down and up again after a few seconds, so that my CPU fan does run permanently.

274345-unreal-engine-deploymentserver-high-cpu.png

From sourcecode, it looks like this UnrealDeploymentServerLauncher tries to start DeploymentServer.exe. So checking logfile of this:

[deploy] Created deployment server.
Deployment Server listening to port 41000
Deployment Server inactivity timeout 30000
Deployment Server starting from "E:\Programs\Epic Games\UE_4.22\Engine\Binaries\DotNET\IOS"
---------------------------------------------------------
Client [0] IP:127.0.0.1 connected.
Client [0] disconnected (listdevices).

And with each of the “CPU bursts” new connected/disconnected entries appear in the log. This repeats endlessly, until the UE4 Editor is closed. As the log mentions listdevices, I tried to manually call this on the commandline.

E:\Programs\Epic Games\UE_4.22\Engine\Binaries\DotNET\IOS>DeploymentServer listdevices
[DD] Trying to connect to mobile device running iOS ...
[DD] Error: Timed out while trying to connect to a mobile device.  Make sure one is connected.


E:\Programs\Epic Games\UE_4.22\Engine\Binaries\DotNET\IOS>

CPU goes up while connected, and goes down when disconnecting. Sure, makes sense, because I do not have any IOS devices. So the scan process for IOS devices seems to be quite expensive. After the manual call, the log shows:

[deploy] Created deployment server.
Deployment Server listening to port 41000
Deployment Server inactivity timeout 30000
Deployment Server starting from “E:\Programs\Epic Games\UE_4.22\Engine\Binaries\DotNET\IOS”

Client [0] IP:127.0.0.1 connected.
Client [0] disconnected (listdevices).
Deployment Server inactivity timeout.
Deployment Server Stopped.

Here, the server stops after an inactivity period.

Running the UnrealDeploymentServerLauncher.exe manually runs that “assembly” stuff, as I would expect from source code - no exception thrown. Not sure, what it does here, but CPU remains low.

E:\Programs\Epic Games\UE_4.22\Engine\Binaries\DotNET\IOS>DeploymentServerLauncher.exe
Executing assembly

E:\Programs\Epic Games\UE_4.22\Engine\Binaries\DotNET\IOS>

I would expect UE4 to do that “listdevices” stuff only once at startup, and maybe if needed when doing builds for IOS. But in the current state, that scan is repeated endlessly and this eats up my system resources for nothing. With 4.21, this problem was not present.

For now, I just did a very very ugly and bad “workaround” to be able to use 4.22 with a silent system: Just copied over the DeploymentServer.exe from 4.21 into my 4.22 directory - this keeps the system quiet and as I do not build any IOS code, this does help me for now. Sure, I know, that’s really bad :slight_smile:

Running on Windows 10 Pro, version 1809 on a Quad Core i7 on a Fujitsu Celsius H910 notebook. My .NET Framework Version is 4.7.2, I did check as follows via regedit and hope, this is ok.

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://epicsupport.force.com/unrealengine/s/

Thanks

Was a bug report opened for this? I can’t find one. Also having this issue and it’s very annoying.

Awesome thanks! Yeah, the project I’m working on is 4.22 and it’s still a thing there. I used your “workaround” to stop myself going crazy with CPU fan constantly whirring up and down.

Yes, I did raise Issue UE-73418 for this. For 4.23, this seems actually be fixed, at least on my machine, DeploymentServerLauncher only runs for a short time, then load goes down and system is quiet.

Actually it is still in 4.23.1 (4.23.1-9631420+++UE4+Release-4.23), rising to 25% cpu on Win10

The issue for this lists it as fixed in 4.23 buy I have just started a new 4.23 project today and as far as I can tell am having the same issue I was having on 4.22. Namely, UnrealDeploymentServer goes through cycles of having high cpu usage.

I think we posted at almost exactly the same time! See my comment to the question above.

It looks like it is raising in 1 minute intervals for very short time in 4.23, too short for my CPU fans going crazy. Before the fix, it was every few seconds, so that CPU fans were running permanently. So it’s definitely an improvement.
I did not yet check for any parameters in ini files, would be nice, if this interval could be a configurable parameter.

Lol, true!
To my mind 4.23 is not so stable compare to some old versions, bugs here and there in basic stuff, don’t want to complain but…

For me it’s exactly the same as before. Process uses ~15% CPU (one core) and fans on max for ~5seconds every 10 seconds or so. I’ve swapped out the executable as I did for 4.22 as you mentioned in your original post.

Also seeing this issue om 4.23. Periodic churns of 15-25% every few seconds.

In 4.23 it looks like the “evil exe” is called around every 71 seconds, giving it a rise in CPU for a few seconds. At least, that’s what happening on my system on 4.23.1. My initial workaround now just causes the old exe to run at that interval, but not getting the system calm. It’s not that bad, but to even make this disappear, I decided to rename the DeploymentServerLauncher.exe to something else. Now this results in file not found errors in the log, but this does not cause any CPU load to happen. Log examples:

[2019.11.14-11.40.44:057][296]LogWindows: Warning: CreateProc failed: The system cannot find the file specified. (0x00000002)
[2019.11.14-11.40.44:058][296]LogWindows: Warning: URL: E:/Programs/Epic Games/UE_4.23/Engine/Binaries/DotNET/IOS/DeploymentServerLauncher.exe 
[2019.11.14-11.41.55:300][583]LogWindows: Warning: CreateProc failed: The system cannot find the file specified. (0x00000002)
[2019.11.14-11.41.55:300][583]LogWindows: Warning: URL: E:/Programs/Epic Games/UE_4.23/Engine/Binaries/DotNET/IOS/DeploymentServerLauncher.exe 
[2019.11.14-11.43.06:621][932]LogWindows: Warning: CreateProc failed: The system cannot find the file specified. (0x00000002)
[2019.11.14-11.43.06:621][932]LogWindows: Warning: URL: E:/Programs/Epic Games/UE_4.23/Engine/Binaries/DotNET/IOS/DeploymentServerLauncher.exe 

Again, ugly, but it might help some of you experiencing the problem. At least, you should also be able to see that strange 71 seconds interval.