Jonathan Horne wrote:
> I have a new web server for a moderately high traffic website that i have 
> 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 thus far i 
> have no idea where to start troubleshooting this.
> That is what im getting in the /var/log/messages.
> Sep 13 20:09:25 rps savecore: reboot after panic: page fault
> Sep 13 20:09:25 rps savecore: writing core to vmcore.0
> Here is the uname:
> FreeBSD 7.0-RELEASE-p4 FreeBSD 7.0-RELEASE-p4 #0: 
> Fri Sep  5 01:58:09 CDT 2008     [EMAIL PROTECTED]:/usr/obj/usr/src/sys/RPS  
> i386
> 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
                 crash.  If the value of this variable is ``AUTO'', the
                 suitable swap device listed in /etc/fstab will be used as
                 dump device.  Otherwise, the value of this variable is
                 as the argument to dumpon(8).  To disable crash dumps, set
                 this variable to ``NO''.

     dumpdir     (str) When the system reboots after a crash and a crash
                 is found on the device specified by the dumpdev variable,
                 savecore(8) will save that crash dump and a copy of the
                 nel to the directory specified by the dumpdir variable.
                 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:

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.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to