dotnet / dotnet/orleans

Latency goes up sometimes

Open
#8,541 8 comments 0 reactions 0 assignees View on GitHub
Needs: triage :mag:
Dominant language
C#
Stars
10.9k
Forks
2.1k
Avg merge
15h 1m
Merged PRs (30d)
345

Description

Hi ,
We have very strange problem as you can see most of the time latency is blew 500ms but suddenly it goes up to 60s ( option.ResponseTimeout = 60 ) , so obviously silo throw "I have been told I am dead, so this silo will stop! ..." error and k8 restart it.

![1](https://github.com/dotnet/orleans/assets/29861230/6582a57e-a447-4eb9-9bd9-d9fa64e610b9)

All grains have [stateless(200)]
There is no blocking code , all calling uses await

There is many "Response did not arrive on time in 00:01:00 for message" but error does not contains information about "Total Enqueued=x; Total processed=x; ..."

Interesting point is when this error start total activation on grains is about 50 60 , so there is room for make new grains.

We also get these errors
"This silo has not received a probe request since ..."
"SiloHealthMonitor timer should have fired at .., which is 00:00:14.8624508 ago"

Sometimes it takes more than 2-3 seconds from the start of the request from the api to the execution of grain

![orleans](https://github.com/dotnet/orleans/assets/29861230/a0f0f9a9-0b06-4f04-9fc3-3c30756a3ae0)

Internal orleans trace
![2](https://github.com/dotnet/orleans/assets/29861230/540c8cae-fe61-4adf-a29d-c093c4faab06)

We use Orleans 3.5.0 and Kubernetes

I have no idea how figure out problem because it is on k8 pod will replace and I can not get memory dump.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.