From owner-freebsd-net@FreeBSD.ORG Fri Apr 4 04:54:55 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2B5656F8 for ; Fri, 4 Apr 2014 04:54:55 +0000 (UTC) Received: from mail-wg0-x229.google.com (mail-wg0-x229.google.com [IPv6:2a00:1450:400c:c00::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BC5BDA3E for ; Fri, 4 Apr 2014 04:54:54 +0000 (UTC) Received: by mail-wg0-f41.google.com with SMTP id n12so2870458wgh.12 for ; Thu, 03 Apr 2014 21:54:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=syPvgC64pa0YOCQCjqc8i6kstQtYdaOaa4zRkZbuF/o=; b=SWvNdp+J/VAdwFXuYodRrW0mW+2yJpobTcqlOo8GdIR8dWdgXXgS5dbsEwLWZLmgOe CUjtT5g65Li29vB8Z9t0nVzcK5tMHCUCS9go2y60kZGfnMyrF8G0R1Wqphw0wKfaO11Y rJzFBINOeiodegnIpjQ6w6RzP1fRxYAUXGZoDCzjTskeg/Chx++soLtTIxitn8WFWg4z uFgcUTW3LeyjbZXUrOG2cRQcF9V6m5YcpYG9WjFxATJF+cUIVdnBjC+5y9EBPp7l8nNQ QvvJhiYG8tcSuOFczVPtwx+UZdD6oh0NE3+I6jEH/c0zd1+jlgqqklEdzrVSwQRXWjCJ A2XQ== MIME-Version: 1.0 X-Received: by 10.180.81.228 with SMTP id d4mr1064372wiy.49.1396587292987; Thu, 03 Apr 2014 21:54:52 -0700 (PDT) Received: by 10.216.202.1 with HTTP; Thu, 3 Apr 2014 21:54:52 -0700 (PDT) Date: Fri, 4 Apr 2014 07:54:52 +0300 Message-ID: Subject: netisr 0 : %100 and other netisr threads are waiting From: =?ISO-8859-1?Q?=D6zkan_KIRIK?= To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2014 04:54:55 -0000 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