From owner-freebsd-questions@freebsd.org Tue Apr 18 12:16:59 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BC697D4297C for ; Tue, 18 Apr 2017 12:16:59 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46E4D869 for ; Tue, 18 Apr 2017 12:16:59 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from ox-dell39.ox.adestra.com (unknown [85.199.232.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id A81403110 for ; Tue, 18 Apr 2017 12:16:53 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/A81403110; dkim=none; dkim-atps=neutral Subject: Re: 10.3-stable random server reboots - finding the reason To: freebsd-questions@freebsd.org References: From: Matthew Seaman Message-ID: Date: Tue, 18 Apr 2017 13:16:38 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="VDMkrWlIhlaqUk0wonncUMKKcwgooPNNO" X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,RDNS_NONE, SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on smtp.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Apr 2017 12:16:59 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --VDMkrWlIhlaqUk0wonncUMKKcwgooPNNO Content-Type: multipart/mixed; boundary="oQ4DSJfBI8LrqdwLd5hX5MT2AX70VV4o0"; protected-headers="v1" From: Matthew Seaman To: freebsd-questions@freebsd.org Message-ID: Subject: Re: 10.3-stable random server reboots - finding the reason References: In-Reply-To: --oQ4DSJfBI8LrqdwLd5hX5MT2AX70VV4o0 Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 04/18/17 12:59, tech-lists wrote: > I have an up-to-date 10.3 server that is randomly rebooting, after bein= g > up for days. Previously it had been up for many months. The problem is,= > nothing seems to be left in the logs to indicate why it's doing this. I= > have all.log and console.log enabled. >=20 > So, what I'm asking is, how can I capture its last gasp? >=20 Well, probably the most effective way to do that is to hook up a serial cable and make a continuous log of the system console onto another machine. That's not guaranteed to get you good diagnostics though. A server that spontaneously becomes unstable is often suffering from hardware problems. It could be all sorts of things -- one of the fans died so it's overheating; the power supply is flaking out; capacitors on the motherboard are giving up; memory has gone bad. Many of these sort of problems will result in an instant system crash with nothing in any log files or on the console. Start by trying out some hardware diagnostics, like running memtest86 for 24h or so. Cheers, Matthew --oQ4DSJfBI8LrqdwLd5hX5MT2AX70VV4o0-- --VDMkrWlIhlaqUk0wonncUMKKcwgooPNNO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEGfFU7L8RLlBUTj8wAFE/EOCp5OcFAlj2A60ACgkQAFE/EOCp 5OetihAAsig8BO2dQPZ1VpvXPYcocySZESnGIqPofGSTLi9DG/XpV+UbsuPBRMiY ZYHPejRZRWPCs3bX82ljrbB9KympVueXCTdbVO6yGDul54kYUanfrvbvTUKNsybq AuUS8x/mopjQ3PBP3z7tPg41ULBOtKXEbP52vfqfRXr1qYlshFkYdyQNScmGLOBX swN8THrr1x8Nc4YjHSr/9njpWL+29PKOWABVkw6OH6ZTm9QA890vqz/BhZHU8inj YVWOlq14uQPU6VVPs3tjHAfT3ufjpQGSlYNNkxhawKy8/iBTjshfEjzMNgO9+Rmf KQ9YTzfZqCwKU1QMTnc6tpSrYVU69xeaFXcs2JothH8cKagLCh1t3nf3uJ0FWD00 FcgL6LcTXZWoKs/YJJeOC4wmCysQDQU43BLgJUihSUEpTWA3uUWnHKR6pbIQ44H2 BhyrkTjkiK6wbP4VhiOPCXhj/vLBdhIjfTSTQ2omBSNwRDnwl5oTHgcTV9AZ4vVI 0rCROQusC8IthcwhMzOPC7OXr/GWGDv9NCWYacpS4sfZ+Qfm1kJOQcKA5fSKvOL1 Bykmm8NtXB5jEFm5yLqqgS/mQ0Meuz9H6EeDN4cv9kebABl89oE6EO9SYB95NcUr 4xueeF95kYJsTJx9kw7a3pll8m/1+MBs3zHjuT/7Z07MeFwddUE= =qUYX -----END PGP SIGNATURE----- --VDMkrWlIhlaqUk0wonncUMKKcwgooPNNO--