[Bro-Dev] [JIRA] (BIT-1522) Broker listener takes a long time to shut down on cluster stop/restart
Stephen Hosom (JIRA)
jira at bro-tracker.atlassian.net
Thu Jan 14 11:18:00 PST 2016
Stephen Hosom created BIT-1522:
Summary: Broker listener takes a long time to shut down on cluster stop/restart
Project: Bro Issue Tracker
Issue Type: Problem
Affects Versions: 2.4
Environment: Ubuntu 14.04, Bro 2.4.1 with Broker
Reporter: Stephen Hosom
It looks like when shutting down Broker, the listener sticks around for an exceptionally long time (as much as a minute or more). Because of this, Broker's listener actually fails to re-bind to the port on the next cluster start silently. All Broker communication then fails to work silently. It can take a while to notice this failure, since nothing really complains.
The listener should probably shut down faster than 1 minute... but it might also make sense to add options to have the listener retry to start, or generate a failure message when it doesn't start. Maybe listener starts in bro_init should actually cause Bro to stop, so that the user sees the failure immediately?
This message was sent by Atlassian JIRA
More information about the bro-dev