From owner-freebsd-questions@FreeBSD.ORG Sun Sep 14 11:55:07 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6CBA1065676 for ; Sun, 14 Sep 2008 11:55:07 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 5E8948FC12 for ; Sun, 14 Sep 2008 11:55:07 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1KeqBy-00050C-HC for freebsd-questions@freebsd.org; Sun, 14 Sep 2008 11:55:02 +0000 Received: from 89-172-50-143.adsl.net.t-com.hr ([89.172.50.143]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 14 Sep 2008 11:55:02 +0000 Received: from ivoras by 89-172-50-143.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 14 Sep 2008 11:55:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Sun, 14 Sep 2008 13:50:48 +0200 Lines: 76 Message-ID: References: <152402.4340.qm@web45308.mail.sp1.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigA9EE61F561D5C3C83995E28B" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 89-172-50-143.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: <152402.4340.qm@web45308.mail.sp1.yahoo.com> X-Enigmail-Version: 0.95.7 Sender: news Subject: Re: server is crashing constantly X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Sep 2008 11:55:08 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigA9EE61F561D5C3C83995E28B Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Jonathan Horne wrote: > I have a new web server for a moderately high traffic website that i ha= ve recently deployed for a friend. it has apache22, php5, and mysql50 on= it (latest from ports). this server is crashing 2-3 times a day, and th= us far i have no idea where to start troubleshooting this. >=20 > That is what im getting in the /var/log/messages. >=20 > Sep 13 20:09:25 rps savecore: reboot after panic: page fault > Sep 13 20:09:25 rps savecore: writing core to vmcore.0 >=20 >=20 > Here is the uname: > FreeBSD rps.rangerpowersports.com 7.0-RELEASE-p4 FreeBSD 7.0-RELEASE-p4= #0: Fri Sep 5 01:58:09 CDT 2008 root@rangerpowersports:/usr/obj/usr= /src/sys/RPS i386 >=20 > Any ideas or recommendations about where to start looking to track this= down would really be appreciated. Enable dumpdev and dumpdir in rc.conf, here's the manual excerpt: dumpdev (str) Indicates the device (usually a swap partition) to= which a crash dump should be written in the event of a system crash. If the value of this variable is ``AUTO'', the first suitable swap device listed in /etc/fstab will be used a= s dump device. Otherwise, the value of this variable is passed as the argument to dumpon(8). To disable crash dumps, s= et this variable to ``NO''. dumpdir (str) When the system reboots after a crash and a crash dump is found on the device specified by the dumpdev variable= , savecore(8) will save that crash dump and a copy of the ker- nel to the directory specified by the dumpdir variable. The default value is /var/crash. Set to ``NO'' to not run savecore(8) at boot time when dumpdir is set. Then, when it crashes, inspect the dump. See here: http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-gdb.h= tml If you suspect it's a FreeBSD problem and not a hardware problem, you'll need to send debugging data similar to that in the example in handbook. --------------enigA9EE61F561D5C3C83995E28B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkjM+pgACgkQldnAQVacBchpwwCeMz9Dx0b8H2G8yo4sDpFFPie+ Gd4AoObQWu29qJIge8y2hWQZUKkB4Jvb =r/MD -----END PGP SIGNATURE----- --------------enigA9EE61F561D5C3C83995E28B--