Quantcast
Channel: Forum CRM Deployment
Viewing all articles
Browse latest Browse all 997

Crm Exception: Message: WorkloadThrottlingInformation.WaitIterations must be greater or equal to 0., ErrorCode: -2147220970

$
0
0

Hi, we get this error repeatedly in our CRM 2015 Update 0.1 on-premise environment. We migrated from CRM 4.0 to CRM 2015. How can "WorkloadThrottlingInformation.WaitIterations" be set?

The exception is thrown in "CrmAsyncService" so I thought I might be able to set this via Set-CrmSetting AsyncSettings, but there is no "WaitIterations" or something simliar. The example string for AsyncSettings.ThrottlingConfiguration also doesn't mention something like that.

Here is the full stack trace:

at WorkloadThrottler.HandleIdleOrganization(WorkloadThrottlingInformation orgPollingInfo, Int32 effectiveMinimumPriority) ilOffset = 0x0
at <>c__DisplayClass5.<AllocateWork>b__2(IServiceOperation operation) ilOffset = 0x40
at OrganizationOperation.<get_EventAction>b__0(IServiceOperation operation) ilOffset = 0x0
at FaultToleranceBehavior.Execute(ServiceOperationAction operation, IServiceOperation operationParameter) ilOffset = 0x18
at MonitoredOperation.Execute() ilOffset = 0xD
at ParallelTasksExecutionEngine.ExecuteOperation(IServiceOperation serviceOperation) ilOffset = 0x0
at <>c__DisplayClassf`1.<ForWorker>b__c() ilOffset = 0x11A
at Task.InnerInvokeWithArg(Task childTask) ilOffset = 0x6
at <>c__DisplayClass11.<ExecuteSelfReplicating>b__10(Object param0) ilOffset = 0x85
at Task.Execute() ilOffset = 0xE
at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) ilOffset = 0x70
at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) ilOffset = 0x4
at Task.ExecuteWithThreadLocal(Task& currentTaskSlot) ilOffset = 0xCD
at Task.ExecuteEntry(Boolean bPreventDoubleExecution) ilOffset = 0x96
at ThreadPoolTaskScheduler.TryExecuteTaskInline(Task task, Boolean taskWasPreviouslyQueued) ilOffset = 0x16
at TaskScheduler.TryRunInline(Task task, Boolean taskWasPreviouslyQueued) ilOffset = 0x54
at Task.InternalRunSynchronously(TaskScheduler scheduler, Boolean waitForCompletion) ilOffset = 0x83
at Parallel.ForWorker(Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally) ilOffset = 0x1D7
at Parallel.ForEachWorker(IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally) ilOffset = 0x57
at Parallel.ForEach(IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body) ilOffset = 0x38
at ParallelTasksExecutionEngine.StartOperation() ilOffset = 0x19
at WorkloadThrottler.AllocateWork(CancellationToken cancellationToken) ilOffset = 0x1B0
at OrganizationOperation.<get_EventAction>b__0(IServiceOperation operation) ilOffset = 0x0
at FaultToleranceBehavior.Execute(ServiceOperationAction operation, IServiceOperation operationParameter) ilOffset = 0x18
at MonitoredOperation.Execute() ilOffset = 0xD
at TimerBasedExecutionEngine.OnTimerEvent(Object sender, ElapsedEventArgs e) ilOffset = 0x0
at Timer.InvokeElapsedWithCancellationToken(Object state) ilOffset = 0x22
at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) ilOffset = 0x70
at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) ilOffset = 0x4
at QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() ilOffset = 0x0
at ThreadPoolWorkQueue.Dispatch() ilOffset = 0xA3
Crm Exception: Message: WorkloadThrottlingInformation.WaitIterations must be greater or equal to 0., ErrorCode: -2147220970

And this is the current AsyncSettings configuration as it has been since we migrated:

JobTimeoutLockedInterval : 30
MaxJobExecutionTime : 60
MaxRetries : 10
MaxStateStatusUpdateMaxRetryCount : 12
OrgDatabaseMaintenanceJobInterval : 5
RetryInterval : 30
SdkRootDomain :
SelectInterval : 5
ThrottlingConfiguration :
TimeoutLockedInterval : 300
ExtensionData : System.Runtime.Serialization.ExtensionDataObject

If "WorkloadThrottlingInformation.WaitIterations" can be set somehow, what is a recommended value and how does it influence the system and its performance?


Viewing all articles
Browse latest Browse all 997

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>