Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Apr 2014 07:54:52 +0300
From:      =?ISO-8859-1?Q?=D6zkan_KIRIK?= <ozkan.kirik@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   netisr 0 : %100 and other netisr threads are waiting
Message-ID:  <CAAcX-AFDqwG0xJ8_qcaG_K0-TC8xE4EfKLR0GURkMGQiZOKCpQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

I am trying to use suricata on FreeBSD 10 amd64.
FreeBSD behaves as a VLAN router and NAT Box.

Traffic is about 400Mbps.
When i diverted traffic to suricata, swi: netisr 0 thread gets %100 cpu.
other netisr threads are %0. And Even I remove the divert rule, netisr
still eats %100 cpu.  I think that something looping :)
And after 1-2 minutes, one of igb0 and igb1 stops working.
Only reboot solves problem.

Hardware has 8 cores, 24GB Ram

My loader.conf :

hw.igb.txd="4096"
hw.igb.rxd="4096"
hw.igb.rx_process_limit=1024
hw.igb.num_queues=3
net.isr.maxthreads=3
net.isr.bindthreads=1
net.isr.defaultqlimit=4096
net.isr.maxqlimit=20480
net.link.ifqmaxlen=10240

How can I debug this situation?
Any suggestions?

Best regards



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAcX-AFDqwG0xJ8_qcaG_K0-TC8xE4EfKLR0GURkMGQiZOKCpQ>