From owner-freebsd-current@FreeBSD.ORG Thu Jul 1 00:29:55 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 498E216A4CE for ; Thu, 1 Jul 2004 00:29:55 +0000 (GMT) Received: from ozlabs.org (ozlabs.org [203.10.76.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDAB543D1F for ; Thu, 1 Jul 2004 00:29:54 +0000 (GMT) (envelope-from grog@lemis.com) Received: from blackwater.lemis.com (blackwater.lemis.com [192.109.197.80]) by ozlabs.org (Postfix) with ESMTP id ADD982BEE8 for ; Thu, 1 Jul 2004 10:29:49 +1000 (EST) Received: by blackwater.lemis.com (Postfix, from userid 1004) id EFE9F511FA; Thu, 1 Jul 2004 09:59:46 +0930 (CST) Date: Thu, 1 Jul 2004 09:59:46 +0930 From: Greg 'groggy' Lehey To: Daniel Eriksson Message-ID: <20040701002946.GO36115@wantadilla.lemis.com> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FilwpOHBrTVNlmJ3" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 cc: FreeBSD Current Subject: Re: 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:29:55 -0000 --FilwpOHBrTVNlmJ3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thursday, 1 July 2004 at 2:14:20 +0200, Daniel Eriksson wrote: > > 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? No. The symbols don't get loaded. ddb will cause extreme performance degradation if you enter the debugger, of course, but that's obvious. > Any other options I should consider? Nothing occurs to me offhand. A lot depends on the kind of debugging you want to do. Not everything requires kernel options. > The goal is to be able to do some simple investigation myself and > write fully detailed PRs. If you've been experiencing particular kinds of problems, it might be worth mentioning them here. > 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)? No. > If not, what about a situation where there's three swap areas, but > only one of them is bigger than the RAM? That's fine. Dump to the big partition. Greg -- Note: I discard all HTML mail unseen. Finger grog@FreeBSD.org for PGP public key. See complete headers for address and phone numbers. --FilwpOHBrTVNlmJ3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQFA41r6IubykFB6QiMRAm/lAJ9H9J1yab411nWR4cpR/lHYJGlecACfXsbv Z6AEUi8ZIZAyGYmu+wA0ERw= =NleL -----END PGP SIGNATURE----- --FilwpOHBrTVNlmJ3--