Project

General

Profile

Actions

Bug #928

closed

Bug #914: Having a high number of pickup queues (216+) makes suricata crash

Max number of threads

Added by Peter Manev over 10 years ago. Updated over 10 years ago.

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

Description

This is Suricata version 2.0beta1 RELEASE and latest git

On a two core system:

  detect-thread-ratio: 107

After start - 215 threads and 3 management threads are started and Suricata starts successfully.

If we increase the number by one more:

  detect-thread-ratio: 108

We get an err:
Error: Queue "picku" doesn't have a reader

This is independently confirmed on another 4 core system:

  detect-thread-ratio: 53

Suricata spawns 213 processing threads and 3 management.

If increased by one:

  detect-thread-ratio: 54

we get the same err:
Error: Queue "picku" doesn't have a reader

It seems there is a hard coded limit of the number of threads spawning? (around 218).
If so the limit should be increased because there are systems with more than 256 cores available on the market.

Actions

Also available in: Atom PDF