Project

General

Profile

Actions

Bug #6024

closed

detect: reload rules now takes forever on a rather idle env after #5969

Added by tug tugtug over 1 year ago. Updated over 1 year ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
-
Affected Versions:
Effort:
Difficulty:
Label:

Description

As a side effect of #5969, now the switching to the new context takes forever to complete when there isn't frequent new traffic to activate all detection threads (by setting the so_far_used_by_detect flag).

This is especially problematic when suricata is used with a receiver that doesn't support PktAcqBreakLoop.

This change causes the command to reload rules (wait_done = true) to timeout or block the caller for a long time, which essentially would result in liveness check failures.


Related issues 1 (0 open1 closed)

Related to Suricata - Bug #6021: af-packet: reload not occurring until packets are seenClosedJason IshActions
Actions

Also available in: Atom PDF