You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Tomas Vavricka (Jira)" <ji...@apache.org> on 2022/11/11 12:22:00 UTC

[jira] [Closed] (QPID-8456) [Broker-J] Configurable shutdown timeout

     [ https://issues.apache.org/jira/browse/QPID-8456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomas Vavricka closed QPID-8456.
--------------------------------

> [Broker-J] Configurable shutdown timeout
> ----------------------------------------
>
>                 Key: QPID-8456
>                 URL: https://issues.apache.org/jira/browse/QPID-8456
>             Project: Qpid
>          Issue Type: New Feature
>          Components: Broker-J
>            Reporter: Tomas Vavricka
>            Priority: Minor
>             Fix For: qpid-java-broker-9.0.0
>
>
> Shutdown timeout could be configurable. If broker fails to stop in 30 seconds, then immediate exit could lead to corrupted store.
> {noformat}
> 2020-04-06 13:54:24,548 WARN [QpidBrokerShutdownHook] (o.a.q.s.m.AbstractSystemConfig) - Attempting to cleanly shutdown took too long, exiting immediately
> java.util.concurrent.TimeoutException: Waited 30000 milliseconds (plus 83875 nanoseconds delay) for com.google.common.util.concurrent.SettableFuture@347b074b[status=PENDING]
>  at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:494)
>  at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:97)
>  at org.apache.qpid.server.model.AbstractSystemConfig$ShutdownService$1.run(AbstractSystemConfig.java:616)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at javax.security.auth.Subject.doAs(Subject.java:360)
>  at org.apache.qpid.server.model.AbstractSystemConfig$ShutdownService.run(AbstractSystemConfig.java:606)
>  at java.lang.Thread.run(Thread.java:745)
> {noformat}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org