Skip to content

Broker can lock up due to defunct http connections #325

@gianm

Description

@gianm

HTTP connections from the broker to realtime or historical nodes can stop working but not get reset (perhaps they will be reset once something in the network stack times them out, but this could take hours). Any broker jetty threads that happen to be trying to talk to a defunct server will become stuck until the connections reset. It's apparently easy for this to happen to all jetty threads when there are a lot of concurrent queries, which locks up the broker.

We could set a default timeout on broker -> compute requests. Or for slick extra credit, abort outgoing connections when the broker's ServerView realizes that a compute has gone missing.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions