From owner-freebsd-stable@FreeBSD.ORG Thu Mar 15 13:52:42 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 4AF9D16A402 for ; Thu, 15 Mar 2007 13:52:42 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from out5.smtp.messagingengine.com (out5.smtp.messagingengine.com [66.111.4.29]) by mx1.freebsd.org (Postfix) with ESMTP id 21FA413C459 for ; Thu, 15 Mar 2007 13:52:42 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from out1.internal (unknown [10.202.2.149]) by out1.messagingengine.com (Postfix) with ESMTP id 7F2151F8B19; Thu, 15 Mar 2007 09:52:41 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by out1.internal (MEProxy); Thu, 15 Mar 2007 09:52:41 -0400 X-Sasl-enc: YsXlSqpIxpd6Z0JnOVy++rVqjCRfWJnP6507zIYRIhZB 1173966762 Received: from [192.168.123.18] (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTP id B8353112C; Thu, 15 Mar 2007 09:52:41 -0400 (EDT) Message-ID: <45F94FA8.5020403@FreeBSD.org> Date: Thu, 15 Mar 2007 13:52:40 +0000 From: "Bruce M. Simpson" User-Agent: Thunderbird 1.5.0.9 (X11/20070125) MIME-Version: 1.0 To: emilec@clarotech.co.za References: <001101c76707$6e796530$7efaa8c0@clarotech.co.za> In-Reply-To: <001101c76707$6e796530$7efaa8c0@clarotech.co.za> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Openvpn tap uses 99% cpu time 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, 15 Mar 2007 13:52:42 -0000 Emile Coetzee wrote: > No worries below is the last part of the first ktrace. I have dropped a full > copy on our webserver: http://www.clarotech.co.za/dump/openvpn.txt > Hi, 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. Thanks, BMS