Suricata uses 100% of CPU on some virtual system
|Assignee:||Eric Leblond||% Done:|
|Category:||-||Estimated time:||8.00 hours|
Due to some call to usleep with low value, suricata causes an important load on some virtual system.
The attached patch fixes the issue but should have some severe implication on performance. Thus it only indicate where to look at.
#3 Updated by Eric Leblond over 2 years ago
- File 0001-Flow-use-condition-system-instead-of-short-sleep.patch added
- Status changed from New to Assigned
- % Done changed from 0 to 80
The problem can be reproduced on a VirtualBox system (Host is a debian sid).
This is linked with a usleep(10) call in the flow manager. I've proposed a patch to Victor and Anoop which are currently reviewing it. The patch is attached to this comment.