Actions
Bug #2831
closedStats interval are 1 second too early each tick (4.0.x)
Affected Versions:
Effort:
Difficulty:
Label:
Description
From what I can tell when I have measured the update frequencies of stats.log it's always ticks one second too early. We are using 30 sec interval but it's updated after 29 seconds. It's lagging behind 2 seconds for each minute.
This might be important in some cases such as when you are reading statistics using statsd and when you need to know the update interval.
[root@rd-cts-akb02 /]# suricata --build-info This is Suricata version 4.1.0 RELEASE Features: PCAP_SET_BUFF AF_PACKET HAVE_PACKET_FANOUT LIBCAP_NG LIBNET1.1 HAVE_HTP_URI_NORMALIZE_HOOK PCRE_JIT HAVE_LUA HAVE_LUAJIT HAVE_LIBJANSSON TLS MAGIC RUST SIMD support: SSE_4_2 SSE_4_1 SSE_3 Atomic intrisics: 1 2 4 8 16 byte(s) 64-bits, Little-endian architecture GCC version 7.3.1 20180303 (Red Hat 7.3.1-5), C version 199901 compiled with _FORTIFY_SOURCE=0 L1 cache line size (CLS)=64 thread local storage method: __thread compiled with LibHTP v0.5.28, linked against LibHTP v0.5.28 Suricata Configuration: AF_PACKET support: yes eBPF support: no XDP support: no PF_RING support: no NFQueue support: no NFLOG support: no IPFW support: no Netmap support: no DAG enabled: no Napatech enabled: no WinDivert enabled: no Unix socket enabled: yes Detection enabled: yes Libmagic support: yes libnss support: no libnspr support: no libjansson support: yes liblzma support: yes hiredis support: yes hiredis async with libevent: yes Prelude support: no PCRE jit: yes LUA support: yes, through luajit libluajit: yes libgeoip: yes Non-bundled htp: no Old barnyard2 support: no Hyperscan support: yes Libnet support: yes liblz4 support: yes Rust support: yes Rust strict mode: no Rust debug mode: no Rust compiler: rustc 1.29.1 Rust cargo: cargo 1.29.0 Suricatasc install: yes Profiling enabled: no Profiling locks enabled: no Development settings: Coccinelle / spatch: no Unit tests enabled: no Debug output enabled: no Debug validation enabled: no Generic build parameters: Installation prefix: /usr Configuration directory: /etc/suricata/ Log directory: /var/log/suricata/ --prefix /usr --sysconfdir /etc --localstatedir /var Host: x86_64-pc-linux-gnu Compiler: gcc (exec name) / gcc (real) GCC Protect enabled: no GCC march native enabled: no GCC Profile enabled: no Position Independent Executable enabled: no CFLAGS -march=nehalem -flto -I${srcdir}/../rust/gen/c-headers PCAP_CFLAGS SECCFLAGS
Updated by Victor Julien almost 6 years ago
- Copied from Bug #2716: Stats interval are 1 second too early each tick added
Updated by Victor Julien almost 6 years ago
- Status changed from Assigned to Closed
Actions