Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network Security Monitoring engine developed by the OISF and the Suricata community.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Victor Julien eb09118d64 detect: create loader threads
To speed up startup with many tenants, tenant loading will be parallelized.
As no tempary threads should be used for these memory allocation heavy
tasks, this patch adds new type of 'command' thread that can be used to
load and reload tenants.

This patch hardcodes the number of loaders to 4. Future work will make it
dynamic.

The loader thread essentially sleeps constantly. When a tasks is sent to
it, it will wake up and execute it.
11 years ago
benches
contrib
doc
lua
m4
qa
rules decode: add ERSPANv1 decoder 11 years ago
scripts multi-detect: implement reload tenant in suricatasc 11 years ago
src detect: create loader threads 11 years ago
.gitignore
.travis.yml
COPYING
ChangeLog
LICENSE
Makefile.am
Makefile.cvs
acsite.m4
autogen.sh
classification.config
config.rpath
configure.ac af-packet: sync header with latest features 11 years ago
doxygen.cfg
reference.config
suricata.yaml.in af-packet: implement rollover option 11 years ago
threshold.config