From owner-freebsd-stable@FreeBSD.ORG Thu Oct 12 21:11:29 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48ECD16A416 for ; Thu, 12 Oct 2006 21:11:29 +0000 (UTC) (envelope-from sullrich@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF0E743D79 for ; Thu, 12 Oct 2006 21:11:25 +0000 (GMT) (envelope-from sullrich@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so337932uge for ; Thu, 12 Oct 2006 14:11:24 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ChSbTeNWWTS59CajdUdGJmfcb8i9+q3n1v0vyq6Yx4lk7bd3fF8TZ3d2c0xgBPT/OvPn6RQKLOuG21jeBT+ThjhEohRhtxWL/k+lFjuKeQymdjNio6hTBEvWnzy48LA4cY1l74Ezv78fY0D/iZ8BTu9qdPtEkoCiPkumHyn0Qrw= Received: by 10.67.93.7 with SMTP id v7mr3349903ugl; Thu, 12 Oct 2006 14:11:24 -0700 (PDT) Received: by 10.67.28.14 with HTTP; Thu, 12 Oct 2006 14:11:24 -0700 (PDT) Message-ID: Date: Thu, 12 Oct 2006 17:11:24 -0400 From: "Scott Ullrich" To: freebsd-stable MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Userland freezes during heavy packet forwarding workloads X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Oct 2006 21:11:29 -0000 Hello! We (pfSense developers) have noticed an interesting problem where userland stops functioning under high packet forwarding workloads. Userland applications such as sshd and lighttpd freeze but userland resumes after the network load eases. We tested with both PF enabled and disabled and the problem remains in either case so chances are that its not a firewalling / pfil issue. Machines tested so far: PC Engines WRAP 266 mhz, 3 sis nics Soekris Engineering 4801 266 mhz, 3 sis nics AMD K6-2 450MHZ, 384 MB ram, 5 XL nics (3c905c) FreeBSD versions tested and are affected: FreeBSD 6.1-RELEASE as of October 10th, 2006 FreeBSD 6.2-PRERELEASE as of October 10th, 2006 FreeBSD versions tested and are not affected: FreeBSD 4.11-RELEASE Kernel configuration file: [http://cvs.pfsense.com/cgi-bin/cvsweb.cgi/tools/builder_scripts/conf/pfSense_wrap.6?rev=1.36;content-type=text%2Fplain] Copy of /etc/sysctl.conf in use: [http://www.pfsense.com/~sullrich/logs/sysctl.conf] Is there anything we can do to prevent userland from stopping completely when under heavy load? Is this a bug? Unfortunately, I cannot reproduce this behavior in FreeBSD 4.X. Thanks in advance! Scott