From owner-freebsd-stable@FreeBSD.ORG Thu Mar 15 13:58:01 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 1779816A404 for ; Thu, 15 Mar 2007 13:58:01 +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 91B8513C44C for ; Thu, 15 Mar 2007 13:57:58 +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 l2FDvoVq000886 for ; Thu, 15 Mar 2007 15:57:50 +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 15:57:52 +0200 Message-ID: <001801c76709$ec9eb8a0$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: AcdnCTsmVi9FII1hQiSw1XhETlq45gAABxmw 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 13:58:01 -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.< The problem is that I can't kill openvpn once the spin starts. I can do very little else. Even trying to login on the console does not go any further than letting me enter a username and password and then it just sits. Even Ctrl-C on running openvpn interactively on the command line does not work. I will try some of your suggestions and post back. Regards Emile