Project

General

Profile

Actions

Bug #382

closed
EL EL

Suricata uses 100% of CPU on some virtual system

Bug #382: Suricata uses 100% of CPU on some virtual system

Added by Eric Leblond over 14 years ago. Updated over 14 years ago.

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

Description

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.


Files

EL Updated by Eric Leblond over 14 years ago Actions #1

  • Assignee set to Eric Leblond

PM Updated by Peter Manev over 14 years ago Actions #2

Eric,

When does this occur? Any specific situation ?
What is your VM setup ? (mem,cpu,os).

Thanks

EL Updated by Eric Leblond over 14 years ago Actions #3

Peter,

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.

AS Updated by Anoop Saldanha over 14 years ago Actions #4

has the current master fixed this issue?

EL Updated by Eric Leblond over 14 years ago Actions #5

  • % Done changed from 80 to 90

Current master does not show the issue on my VM.

VJ Updated by Victor Julien over 14 years ago Actions #6

  • Status changed from Assigned to Closed
  • Target version set to 1.2beta1
  • % Done changed from 90 to 100
Actions

Also available in: PDF Atom