Project

General

Profile

Actions

Bug #1619

closed

Per-Thread Delta Stats Broken

Added by Zach Rasmor about 9 years ago. Updated almost 9 years ago.

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

Description

Per-thread delta stats appear to be broken. I believe this is a known issue as I noticed some open pull requests, but wanted to open an issue in case it wasn't being tracked.

Here's some sample output from a single thread for reference. The delta value is the same as the counter value.

# tail -5 suricata-stats.log | jq .stats.threads.AFPacketbond01.capture
{
  "kernel_packets": 388738,
  "kernel_packets_delta": 388738,
  "kernel_drops": 0,
  "kernel_drops_delta": 0
}
{
  "kernel_packets": 414996,
  "kernel_packets_delta": 414996,
  "kernel_drops": 0,
  "kernel_drops_delta": 0
}
{
  "kernel_packets": 452493,
  "kernel_packets_delta": 452493,
  "kernel_drops": 0,
  "kernel_drops_delta": 0
}
{
  "kernel_packets": 485332,
  "kernel_packets_delta": 485332,
  "kernel_drops": 0,
  "kernel_drops_delta": 0
}
{
  "kernel_packets": 536934,
  "kernel_packets_delta": 536934,
  "kernel_drops": 0,
  "kernel_drops_delta": 0
}

Actions #1

Updated by Jozef Mlich almost 9 years ago

It looks like problem described in
https://github.com/inliniac/suricata/pull/1654

Actions #2

Updated by Victor Julien almost 9 years ago

  • Status changed from New to Closed
  • Assignee set to Victor Julien
  • Target version set to 3.0.1RC1
Actions

Also available in: Atom PDF