[jboss-jira] [JBoss JIRA] (AS7-4314) Timeout for management request clearing before channel shutdown is too short
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Wed Mar 28 15:00:47 EDT 2012
Brian Stansberry created AS7-4314:
-------------------------------------
Summary: Timeout for management request clearing before channel shutdown is too short
Key: AS7-4314
URL: https://issues.jboss.org/browse/AS7-4314
Project: Application Server 7
Issue Type: Bug
Reporter: Brian Stansberry
ModelControllerClientOperationHandlerFactoryService and MasterDomainControllerOperationHandlerService add a bit of graceful shutdown handling to the management channel close process by waiting a bit for in-process requests to push out their response before closing the channel. This was meant to be helpful for cases like :reload or :shutdown requests which asynchronously trigger stop of the management channel service and then try to respond to the caller indicating the async request was made. Theres a race between getting the response out and the channel closing.
Problem is the timeout is only 100 ms, which isn't particularly useful and leads to noticeable variability in whether those ops get their responses sent in time.
This JIRA will bump that timeout to 15000 ms and making it configurable via system property "jboss.as.management.channel.close.timeout". The latter isn't very important; I just don't like hard coded things like this with no way to tweak them if an unexpected need arises.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list