Project

General

Profile

Actions

Bug #5619

closed

dpdk/ips: crash at shutdown with mlx

Added by Victor Julien over 1 year ago. Updated 9 months ago.

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

Description

I consistently see this crash when using this NIC

0000:85:00.0 'MT27710 Family [ConnectX-4 Lx] 1015' if=ens3f0np0 drv=mlx5_core unused=vfio-pci 
0000:85:00.1 'MT27710 Family [ConnectX-4 Lx] 1015' if=ens3f1np1 drv=mlx5_core unused=vfio-pci 

It needs to see some traffic. A start and stop when no traffic is received works fine.

victor@z840:~/dev/suricata$ sudo ./src/suricata -c suricata-ips-mlx-25G-profile-nsm-full.yaml -l /home/victor/vm/logs/ --disable-detection --set flow.memcap=32gb --set stream.memcap=16gb --set stream.reassembly.memcap=64gb --dpdk -v
27/10/2022 -- 13:49:17 - <Notice> - This is Suricata version 7.0.0-beta1 RELEASE running in SYSTEM mode
27/10/2022 -- 13:49:17 - <Info> - CPUs/cores online: 56
27/10/2022 -- 13:49:17 - <Info> - Shortening device name to: 0000..00.0
27/10/2022 -- 13:49:17 - <Info> - Shortening device name to: 0000..00.1
27/10/2022 -- 13:49:17 - <Info> - eve-log output device (regular) initialized: /dev/null
27/10/2022 -- 13:49:17 - <Info> - stats output device (regular) initialized: stats.log
EAL: No available hugepages reported in hugepages-1048576kB
27/10/2022 -- 13:49:18 - <Info> - DPDK IPS mode activated between 0000:85:00.0 and 0000:85:00.1
27/10/2022 -- 13:49:18 - <Info> - Creating a packet mbuf pool mempool_0000:85:00.0 of size 262143, cache size 511, mbuf size 2176
27/10/2022 -- 13:49:18 - <Info> - DPDK IPS mode activated between 0000:85:00.1 and 0000:85:00.0
27/10/2022 -- 13:49:18 - <Info> - Going to use 27 thread(s) for device 0000:85:00.0
27/10/2022 -- 13:49:18 - <Warning> - [ERRCODE: SC_WARN_DPDK_CONF(344)] - NIC on NUMA 1 but thread on NUMA 0. Decreased performance expected
27/10/2022 -- 13:49:18 - <Warning> - [ERRCODE: SC_WARN_DPDK_CONF(344)] - NIC on NUMA 1 but thread on NUMA 0. Decreased performance expected
27/10/2022 -- 13:49:18 - <Warning> - [ERRCODE: SC_WARN_DPDK_CONF(344)] - NIC on NUMA 1 but thread on NUMA 0. Decreased performance expected
27/10/2022 -- 13:49:18 - <Warning> - [ERRCODE: SC_WARN_DPDK_CONF(344)] - NIC on NUMA 1 but thread on NUMA 0. Decreased performance expected
27/10/2022 -- 13:49:18 - <Warning> - [ERRCODE: SC_WARN_DPDK_CONF(344)] - NIC on NUMA 1 but thread on NUMA 0. Decreased performance expected
27/10/2022 -- 13:49:18 - <Warning> - [ERRCODE: SC_WARN_DPDK_CONF(344)] - NIC on NUMA 1 but thread on NUMA 0. Decreased performance expected
27/10/2022 -- 13:49:18 - <Warning> - [ERRCODE: SC_WARN_DPDK_CONF(344)] - NIC on NUMA 1 but thread on NUMA 0. Decreased performance expected
27/10/2022 -- 13:49:18 - <Warning> - [ERRCODE: SC_WARN_DPDK_CONF(344)] - NIC on NUMA 1 but thread on NUMA 0. Decreased performance expected
27/10/2022 -- 13:49:18 - <Warning> - [ERRCODE: SC_WARN_DPDK_CONF(344)] - NIC on NUMA 1 but thread on NUMA 0. Decreased performance expected
27/10/2022 -- 13:49:18 - <Warning> - [ERRCODE: SC_WARN_DPDK_CONF(344)] - NIC on NUMA 1 but thread on NUMA 0. Decreased performance expected
27/10/2022 -- 13:49:18 - <Warning> - [ERRCODE: SC_WARN_DPDK_CONF(344)] - NIC on NUMA 1 but thread on NUMA 0. Decreased performance expected
27/10/2022 -- 13:49:18 - <Warning> - [ERRCODE: SC_WARN_DPDK_CONF(344)] - NIC on NUMA 1 but thread on NUMA 0. Decreased performance expected
27/10/2022 -- 13:49:18 - <Warning> - [ERRCODE: SC_WARN_DPDK_CONF(344)] - NIC on NUMA 1 but thread on NUMA 0. Decreased performance expected
27/10/2022 -- 13:49:19 - <Warning> - [ERRCODE: SC_WARN_DPDK_CONF(344)] - NIC on NUMA 1 but thread on NUMA 0. Decreased performance expected
27/10/2022 -- 13:49:19 - <Info> - DPDK IPS mode activated between 0000:85:00.1 and 0000:85:00.0
27/10/2022 -- 13:49:19 - <Info> - Creating a packet mbuf pool mempool_0000:85:00.1 of size 262143, cache size 511, mbuf size 2176
27/10/2022 -- 13:49:20 - <Info> - DPDK IPS mode activated between 0000:85:00.0 and 0000:85:00.1
27/10/2022 -- 13:49:20 - <Info> - Going to use 27 thread(s) for device 0000:85:00.1
27/10/2022 -- 13:49:20 - <Warning> - [ERRCODE: SC_WARN_DPDK_CONF(344)] - NIC on NUMA 1 but thread on NUMA 0. Decreased performance expected
27/10/2022 -- 13:49:20 - <Warning> - [ERRCODE: SC_WARN_DPDK_CONF(344)] - NIC on NUMA 1 but thread on NUMA 0. Decreased performance expected
27/10/2022 -- 13:49:20 - <Warning> - [ERRCODE: SC_WARN_DPDK_CONF(344)] - NIC on NUMA 1 but thread on NUMA 0. Decreased performance expected
27/10/2022 -- 13:49:20 - <Warning> - [ERRCODE: SC_WARN_DPDK_CONF(344)] - NIC on NUMA 1 but thread on NUMA 0. Decreased performance expected
27/10/2022 -- 13:49:20 - <Warning> - [ERRCODE: SC_WARN_DPDK_CONF(344)] - NIC on NUMA 1 but thread on NUMA 0. Decreased performance expected
27/10/2022 -- 13:49:20 - <Warning> - [ERRCODE: SC_WARN_DPDK_CONF(344)] - NIC on NUMA 1 but thread on NUMA 0. Decreased performance expected
27/10/2022 -- 13:49:20 - <Warning> - [ERRCODE: SC_WARN_DPDK_CONF(344)] - NIC on NUMA 1 but thread on NUMA 0. Decreased performance expected
27/10/2022 -- 13:49:20 - <Warning> - [ERRCODE: SC_WARN_DPDK_CONF(344)] - NIC on NUMA 1 but thread on NUMA 0. Decreased performance expected
27/10/2022 -- 13:49:20 - <Warning> - [ERRCODE: SC_WARN_DPDK_CONF(344)] - NIC on NUMA 1 but thread on NUMA 0. Decreased performance expected
27/10/2022 -- 13:49:20 - <Warning> - [ERRCODE: SC_WARN_DPDK_CONF(344)] - NIC on NUMA 1 but thread on NUMA 0. Decreased performance expected
27/10/2022 -- 13:49:20 - <Warning> - [ERRCODE: SC_WARN_DPDK_CONF(344)] - NIC on NUMA 1 but thread on NUMA 0. Decreased performance expected
27/10/2022 -- 13:49:20 - <Warning> - [ERRCODE: SC_WARN_DPDK_CONF(344)] - NIC on NUMA 1 but thread on NUMA 0. Decreased performance expected
27/10/2022 -- 13:49:20 - <Warning> - [ERRCODE: SC_WARN_DPDK_CONF(344)] - NIC on NUMA 1 but thread on NUMA 0. Decreased performance expected
27/10/2022 -- 13:49:21 - <Info> - Running in live mode, activating unix socket
27/10/2022 -- 13:49:21 - <Info> - Using unix socket file '/var/run/suricata/suricata-command.socket'
27/10/2022 -- 13:49:21 - <Notice> - Threads created -> W: 54 FM: 1 FR: 1   Engine started.
^C27/10/2022 -- 13:49:36 - <Notice> - Signal Received.  Stopping engine.
27/10/2022 -- 13:49:36 - <Info> - time elapsed 18.715s
27/10/2022 -- 13:49:40 - <Info> - Alerts: 0
27/10/2022 -- 13:49:40 - <Notice> - Stats for '0000:85:00.0':  pkts: 7077119, drop: 5858965 (82.79%), invalid chksum: 0
27/10/2022 -- 13:49:40 - <Info> - Closing device 0000:85:00.0
Segmentation fault
Actions

Also available in: Atom PDF