Robot doesn't timeout, it get stuck and UiPath Executor in task manager shows 100% CPU Utilization

robot
bug
#1

We don’t get any exception in log messages when Robot freezes and UiPath executor is taking 100% CPU utilization.Also, the issue occurs at the same step in the workflow i.e. After Printing the message and before going to next sequence

#2

Hi @Anand_Kothari

If you could recreate the issue in a new project and share it here, it would help a lot.

If not, please provide some context (screenshots around the activities that cause the issue) and versions of any relevant software (Studio, activity package, other relevant software).

Also, can you please confirm that this happens on 18.3 version?

Thanks in advance! :slight_smile:

1 Like
#3

Hello,
we are having the same exact issue with 2018.3.3 on a customer environment: UiPath Service Host gets stuck at 100% cpu, and in the robot tray the robot is market as “unavailable” while the Orchestrator sees the robot as available, but of course any Job fails to start on the robot.

We tried to disconnect and re-configure the robot, restart the machine, restart the service, reinstall UiPath (deleting all the Uipath content in AppData), but nothing is working: consider we have 9 other robots on other VDIs, configured in the exact same way, and those are working without problems.

Looking at Windows Event Viewer we find this issue:
{“message”:“System.AggregateException: One or more errors occurred. —> UiPath.Service.Orchestrator.Clients.OrchestratorHttpException: Robot does not exist.\r\n at UiPath.Service.Orchestrator.Clients.OrchestratorClientExtensions.d__0.MoveNext() in D:\a\1\s\Robot\UiPath.Service\Orchestrator\Clients\OrchestratorClient.cs:line 554\r\n— End of stack trace from previous location where exception was thrown —\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at UiPath.Service.Orchestrator.Clients.OrchestratorClient.d__43.MoveNext() in D:\a\1\s\Robot\UiPath.Service\Orchestrator\Clients\OrchestratorClient.cs:line 300\r\n— End of stack trace from previous location where exception was thrown —\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at UiPath.Service.Licenses.LicenseManager.d__7.MoveNext() in D:\a\1\s\Robot\UiPath.Service\Licenses\LicenseManager.cs:line 66\r\n— End of stack trace from previous location where exception was thrown —\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at UiPath.Service.Impl.ExecutionManager.d__18.MoveNext() in D:\a\1\s\Robot\UiPath.Service\Impl\ExecutionManager.cs:line 341\r\n— End of stack trace from previous location where exception was thrown —\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at UiPath.Service.Messages.MessageDispatcher.d__18.MoveNext() in D:\a\1\s\Robot\UiPath.Service\Messages\MessageDispatcher.cs:line 260\r\n — End of inner exception stack trace —\r\n at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)\r\n at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)\r\n at UiPath.Service.UiPathRemote.AcquireLicensedRobot(Int32 autoReleaseProcessId) in D:\a\1\s\Robot\UiPath.Service\UiPathRemote.cs:line 120\r\n at SyncInvokeAcquireLicensedRobot(Object , Object , Object )\r\n at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object inputs, Object& outputs)\r\n at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)\r\n at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)\r\n at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage41(MessageRpc& rpc)\r\n at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc)\r\n at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)\r\n at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc& rpc)\r\n at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc)\r\n at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)\r\n at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc& rpc)\r\n at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)\r\n—> (Inner Exception #0) UiPath.Service.Orchestrator.Clients.OrchestratorHttpException: Robot does not exist.\r\n at UiPath.Service.Orchestrator.Clients.OrchestratorClientExtensions.d__0.MoveNext() in D:\a\1\s\Robot\UiPath.Service\Orchestrator\Clients\OrchestratorClient.cs:line 554\r\n— End of stack trace from previous location where exception was thrown —\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at UiPath.Service.Orchestrator.Clients.OrchestratorClient.d__43.MoveNext() in D:\a\1\s\Robot\UiPath.Service\Orchestrator\Clients\OrchestratorClient.cs:line 300\r\n— End of stack trace from previous location where exception was thrown —\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at UiPath.Service.Licenses.LicenseManager.d__7.MoveNext() in D:\a\1\s\Robot\UiPath.Service\Licenses\LicenseManager.cs:line 66\r\n— End of stack trace from previous location where exception was thrown —\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at UiPath.Service.Impl.ExecutionManager.d__18.MoveNext() in D:\a\1\s\Robot\UiPath.Service\Impl\ExecutionManager.cs:line 341\r\n— End of stack trace from previous location where exception was thrown —\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at UiPath.Service.Messages.MessageDispatcher.d__18.MoveNext() in D:\a\1\s\Robot\UiPath.Service\Messages\MessageDispatcher.cs:line 260<—\r\n, HResult -2146233088”,“level”:“Error”,“logType”:“Default”,“timeStamp”:“2019-03-15T20:14:23.6273452+01:00”,“fingerprint”:“1e526a4a-2023-4968-97c7-a3ac95014b4b”}

Any suggestions ?

#4

Hi @ghepa

Would you consider contacting our Technical Support to resolve the issue?

#5

Hello @loginerror,
I’ve done that since it is a production environment of a big customer.

If we find a shareable solution I’ll post it.

1 Like