darwin icon indicating copy to clipboard operation
darwin copied to clipboard

[BUG] Manager filter startup timeout is too short

Open frikilax opened this issue 4 years ago • 0 comments

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

frikilax avatar Oct 26 '20 09:10 frikilax