Skip to content

ecs deployment mode network deadlock with cycles #3086

Description

@luckyworkama

It's possible in the ecs deployment mode if there are cross-network cycles for the system to deadlock or perform strangely. This happens when tcp sockets fill up and the dfir graph is unable to write to them, this causes execution of the dfir graph to block, which might prevent it from pulling in data from the same tcp socket. This can cause the other node on the other side of the cycle to block while writing to it's tcp socket. Thereby deadlocking the system.

This can be mitigated by using extremely large tcp socket buffers or by introduced an additional queue between the dfir graph and the tcp sockets which has unbounded growth. Neither of these are good solutions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugdeployHydro Deploy, or other deployment

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions