From owner-freebsd-current@FreeBSD.ORG Thu Jul 1 00:14:39 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C23716A4CE for ; Thu, 1 Jul 2004 00:14:39 +0000 (GMT) Received: from av7-1-sn4.m-sp.skanova.net (av7-1-sn4.m-sp.skanova.net [81.228.10.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98A5343D41 for ; Thu, 1 Jul 2004 00:14:38 +0000 (GMT) (envelope-from daniel_k_eriksson@telia.com) Received: by av7-1-sn4.m-sp.skanova.net (Postfix, from userid 502) id 1639F37E6D; Thu, 1 Jul 2004 02:14:31 +0200 (CEST) Received: from smtp2-1-sn4.m-sp.skanova.net (smtp2-1-sn4.m-sp.skanova.net [81.228.10.183]) by av7-1-sn4.m-sp.skanova.net (Postfix) with ESMTP id 0799037E43 for ; Thu, 1 Jul 2004 02:14:31 +0200 (CEST) Received: from gadget (h130n1fls11o822.telia.com [213.64.66.130]) by smtp2-1-sn4.m-sp.skanova.net (Postfix) with ESMTP id E177337E44 for ; Thu, 1 Jul 2004 02:14:30 +0200 (CEST) From: "Daniel Eriksson" To: "'FreeBSD Current'" Date: Thu, 1 Jul 2004 02:14:20 +0200 Organization: Home Message-ID: MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Debugging a production server? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jul 2004 00:14:39 -0000 =20 What can I do to optimize my debugging ability on a production server = (where no slowdown during normal operation is acceptable)? Will compiling the kernel with debug symbols and DDB cause any performance degradation? Any other options I should consider? The goal is to be able to do some = simple investigation myself and write fully detailed PRs. =20 Also, how clever is the core dumping code? Will it be able to handle = swap spread out over two discs (as long as total size is larger than my RAM)? = If not, what about a situation where there's three swap areas, but only one = of them is bigger than the RAM? =20 /Daniel Eriksson