orleans icon indicating copy to clipboard operation
orleans copied to clipboard

Management Grain took to long

Open mohamedhammad opened this issue 8 years ago • 8 comments

i had this warning on a silo that was running using sql server liveness, WARNING 101215 Scheduler.WorkItemGroup 10.1.0.6:22222] Task [Id=-1500906100, Status=RanToCompletion] in WorkGroup [Activation: S10.1.0.6:22222:265810487grn/7483D9D2/00000000@b4f381b7 #GrainType=Orleans.Runtime.Management.ManagementGrain Placement=RandomPlacement State=Valid] took elapsed time 0:00:08.6929183 for execution, which is longer than 00:00:00.2000000. Running on thread <Runtime.Scheduler.WorkerPoolThread/3, ManagedThreadId=10, Executing Task Id=-1500906100 Status=RanToCompletion for 00:00:08.6914987 on WorkItem=WorkItemGroup:Name=[Activation: S10.1.0.6:22222:265810487grn/7483D9D2/00000000@b4f381b7 #GrainType=Orleans.Runtime.Management.ManagementGrain Placement=RandomPlacement],WorkGroupStatus=Running Executing for 00:00:08.6914987. .>

it is stating that the management grain took 8 seconds, i am using orleans 1.4.2 after that i got a callbackdata took 30 seconds error. what would cause such behaviour ?

mohamedhammad avatar Jun 17 '18 20:06 mohamedhammad

Looks like a duplicate of https://github.com/dotnet/orleans/issues/4505.

veikkoeeva avatar Jun 18 '18 16:06 veikkoeeva

@mohamedhammad I might've been too quick in linking, do you use Orleans Dashboard?

ADO.NET shouldn't affect management grain otherwise than if it blocked calls.

veikkoeeva avatar Jun 18 '18 16:06 veikkoeeva

yes i use orleans dashboard

mohamedhammad avatar Jun 18 '18 17:06 mohamedhammad

Hi @mohamedhammad, do you still experience this issue after removing the dashboard? The version of the dashboard which is compatible with 1.4.2 has blocking code which can cause issues

ReubenBond avatar Jun 21 '18 21:06 ReubenBond

yes still,but less frequent, now i am in the process of upgrading to 2.0. 3 dot net framework,because in another post i got information that there is some improvement, and even better a new scheduler that will be part of 2.1,so i am heading to the new 2.X. thank you. will update here.

mohamedhammad avatar Jun 22 '18 12:06 mohamedhammad

@mohamedhammad Do you mind if we close this one in favor of #4505 to consolidate?

sergeybykov avatar Jun 22 '18 16:06 sergeybykov

yes sir,we can,that would make it much easier to follow.thank you.

mohamedhammad avatar Jun 22 '18 18:06 mohamedhammad

Thank you. Closing in favor of #4505.

sergeybykov avatar Jun 22 '18 21:06 sergeybykov