We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When akka.coordinated-shutdown.exit-clr is enabled, task terminate-system in actor-system-terminate phase of coordinated shutdown times out.
akka.coordinated-shutdown.exit-clr
I expect following program to shutdown in near immediate time:
using System; using Akka.Actor; using Akka.Configuration; namespace HelloAkka { class Program { static void Main(string[] args) { var system = ActorSystem.Create("MySystem", ConfigurationFactory.ParseString(@" akka { stdout-loglevel = DEBUG loglevel = DEBUG coordinated-shutdown.exit-clr = on }")); var result = CoordinatedShutdown.Get(system) .Run(CoordinatedShutdown.ClrExitReason.Instance).Result; } } }
instead, last phase of coordinated shutdown times out
[DEBUG][04.06.2019 14:09:40][Thread 0001][EventStream] StandardOutLogger started [DEBUG][04.06.2019 14:09:40][Thread 0001][EventStream(MySystem)] Logger log1-DefaultLogger [DefaultLogger] started [DEBUG][04.06.2019 14:09:40][Thread 0001][EventStream(MySystem)] StandardOutLogger being removed [DEBUG][04.06.2019 14:09:40][Thread 0001][EventStream(MySystem)] Logger log1-DefaultLogger [DefaultLogger] started [DEBUG][04.06.2019 14:09:40][Thread 0001][EventStream(MySystem)] StandardOutLogger being removed [DEBUG][04.06.2019 14:09:40][Thread 0001][EventStream(MySystem)] Default Loggers started [DEBUG][04.06.2019 14:09:40][Thread 0001][Akka.Actor.CoordinatedShutdown] Performing phase [before-service-unbind] with [0] tasks. [DEBUG][04.06.2019 14:09:40][Thread 0005][Akka.Actor.CoordinatedShutdown] Performing phase [service-unbind] with [0] tasks. [DEBUG][04.06.2019 14:09:40][Thread 0005][Akka.Actor.CoordinatedShutdown] Performing phase [service-requests-done] with [0] tasks. [DEBUG][04.06.2019 14:09:40][Thread 0004][Akka.Actor.CoordinatedShutdown] Performing phase [service-stop] with [0] tasks. [DEBUG][04.06.2019 14:09:40][Thread 0004][Akka.Actor.CoordinatedShutdown] Performing phase [before-cluster-shutdown] with [0] tasks. [DEBUG][04.06.2019 14:09:40][Thread 0004][Akka.Actor.CoordinatedShutdown] Performing phase [cluster-sharding-shutdown-region] with [0] tasks. [DEBUG][04.06.2019 14:09:40][Thread 0004][Akka.Actor.CoordinatedShutdown] Performing phase [cluster-leave] with [0] tasks. [DEBUG][04.06.2019 14:09:40][Thread 0004][Akka.Actor.CoordinatedShutdown] Performing phase [cluster-exiting] with [0] tasks. [DEBUG][04.06.2019 14:09:40][Thread 0004][Akka.Actor.CoordinatedShutdown] Performing phase [cluster-exiting-done] with [0] tasks. [DEBUG][04.06.2019 14:09:40][Thread 0004][Akka.Actor.CoordinatedShutdown] Performing phase [cluster-shutdown] with [0] tasks. [DEBUG][04.06.2019 14:09:40][Thread 0004][Akka.Actor.CoordinatedShutdown] Performing phase [before-actor-system-terminate] with [0] tasks. [DEBUG][04.06.2019 14:09:40][Thread 0004][Akka.Actor.CoordinatedShutdown] Performing phase [actor-system-terminate] with [1] tasks: [terminate-system] [INFO][04.06.2019 14:09:50][Thread 0004][Akka.Actor.CoordinatedShutdown] Starting coordinated shutdown from CLR termination hook. [WARNING][04.06.2019 14:09:50][Thread 0008][Akka.Actor.CoordinatedShutdown] Coordinated shutdown phase [actor-system-terminate] timed out after 00:00:10 Press any key to continue . . .
The text was updated successfully, but these errors were encountered:
Removed return of force exit task in coordinated shutdown, which caus…
78fd223
…ed timeout akkadotnet#3815
f4a768c
…ed timeout #3815 (#3816)
9ba8c87
…ed timeout akkadotnet#3815 (akkadotnet#3816)
bd436ba
271f6f4
Successfully merging a pull request may close this issue.
When
akka.coordinated-shutdown.exit-clr
is enabled, task terminate-system in actor-system-terminate phase of coordinated shutdown times out.Steps to reproduce
I expect following program to shutdown in near immediate time:
instead, last phase of coordinated shutdown times out
The text was updated successfully, but these errors were encountered: