Skip to content

[BUG] Manager filter startup timeout is too short #209

@frikilax

Description

@frikilax

Describe the bug
During tests on Vulture, activation of DGA filter failed several times due to the manager considering the filter did not daemonize soon enough.

Plateform:

  • OS (version): HBSD 12.2
  • Darwin version: 1.4

To Reproduce
Steps to reproduce the behavior:

  1. Install darwin and proprietary dga filter
  2. add dga to the list of filters to run (either through GUI, or directly in darwin.conf)
  3. try hot starting the filter (update command on manager)
  4. sometimes, the manager canfail launching the filter, as it does not daemonize within 1 second

Expected behavior
The manager should successfully start the DGA filter

Screenshots/logs
image
image

Additional context
DGA is one of the filter that could take the longest time loading at startup, as it has to load all Tensorflow environnment, the hard-coded timeout of 1 in manager filter start sequence is probably too short, and could be incremented by some amout

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions