From owner-freebsd-stable@FreeBSD.ORG Thu Mar 15 15:03:43 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 78E4D16A400 for ; Thu, 15 Mar 2007 15:03:43 +0000 (UTC) (envelope-from freebsd-stable@clarotech.co.za) Received: from proxy.clarotech.co.za (proxy.clarotech.co.za [196.211.62.90]) by mx1.freebsd.org (Postfix) with ESMTP id F1DB613C4CC for ; Thu, 15 Mar 2007 15:03:41 +0000 (UTC) (envelope-from freebsd-stable@clarotech.co.za) X-Virus-Scanned: amavisd-new at clarotech.co.za Received: from B52 (b52.clarotech.co.za [192.168.250.126]) by proxy.clarotech.co.za (8.13.8/8.13.8) with ESMTP id l2FF3XrT005235 for ; Thu, 15 Mar 2007 17:03:33 +0200 (SAST) (envelope-from freebsd-stable@clarotech.co.za) From: "Emile Coetzee" To: References: <001101c76707$6e796530$7efaa8c0@clarotech.co.za> <45F94FA8.5020403@FreeBSD.org> Date: Thu, 15 Mar 2007 17:03:36 +0200 Message-ID: <001901c76713$1b46e8e0$7efaa8c0@clarotech.co.za> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcdnCTsmVi9FII1hQiSw1XhETlq45gACboMw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 In-Reply-To: <45F94FA8.5020403@FreeBSD.org> Subject: RE: Openvpn tap uses 99% cpu time X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: emilec@clarotech.co.za List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Mar 2007 15:03:43 -0000 >Still no diagnostic info I'm afraid. What is needed is for the problem to be reproduced, with the openvpn process which is spinning under ktrace. You might need to hack your script to do this i.e. run openvpn directly from ktrace. Let it run for a bit, let it spin, then kill it. Check that you have kdump output from the openvpn process itself. Use the -T switch of kdump to get absolute timestamps, watch the wallclock time on your system when the spin happens, and post an excerpt of the kdump output at that time, which should tell us where openvpn is spinning.< Okay I finally have a ktrace of the offending process. You can view it here: http://www.clarotech.co.za/dump/openvpn2.txt Regards Emile