kernel crash ... httpd process ??

Vincent Blondel vincent at xtra-net.org
Sun Mar 25 08:02:01 UTC 2007


Hello,

This morning, I found my web server rebooted after a kernel crash. You
can find below a debug of the kernel but I do not see anything special
except it seems there was a problem with httpd process.

This machine is hosting 16 jails machines, all of them running with
Apache-1.3.37 or Apache-2.059 with a FreeBSD-6.2 on an SMP athlon-mp
host with 2Go ECC Registered memory.

Thanks to help me.

Vincent.

---

kgdb kernel.debug /var/crash/vmcore.0
[GDB will not be able to debug user-mode
threads: /usr/lib/libthread_db.so: Undefined symbol "ps_
pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-marcel-freebsd".

Unread portion of the kernel message buffer:


Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 00
fault virtual address   = 0x0
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0x0
stack pointer           = 0x28:0xece02a48
frame pointer           = 0x28:0xece02a58
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 25063 (httpd)
trap number             = 12
panic: page fault
cpuid = 1
Uptime: 9d4h35m19s
Dumping 2047 MB (3 chunks)
  chunk 0: 1MB (159 pages) ... ok
  chunk 1: 2046MB (523760 pages) 2030 2014 1998 1982 1966 1950 1934 1918
1902 1886 1870 1854 1838
1822 1806 1790 1774 1758 1742 1726 1710 1694 1678 1662 1646 1630 1614
1598 1582 1566 1550 1534 1
518 1502 1486 1470 1454 1438 1422 1406 1390 1374 1358 1342 1326 1310
1294 1278 1262 1246 1230 121
4 1198 1182 1166 1150 1134 1118 1102 1086 1070 1054 1038 1022 1006 990
974 958 942 926 910 894 87
8 862 846 830 814 798 782 766 750 734 718 702 686 670 654 638 622 606
590 574 558 542 526 510 494
478 462 446 430 414 398 382 366 350 334 318 302 286 270 254 238 222 206
190 174 158 142 126 110
94 78 62 46 30 14 ... ok
  chunk 2: 1MB (128 pages)

#0  doadump () at pcpu.h:165
165     pcpu.h: No such file or directory.
        in pcpu.h
(kgdb)
(kgdb)
(kgdb) list *0x20:0x0
A syntax error in expression, near `:0x0'.
(kgdb) list *0x20
No source file for address 0x20.
(kgdb) backtrace
#0  doadump () at pcpu.h:165
#1  0xc0549dc2 in boot (howto=260)
at /usr/src/sys/kern/kern_shutdown.c:409
#2  0xc054a0e9 in panic (fmt=0xc06ee065 "%s")
at /usr/src/sys/kern/kern_shutdown.c:565
#3  0xc06c9a00 in trap_fatal (frame=0xece02a08, eva=0)
at /usr/src/sys/i386/i386/trap.c:837
#4  0xc06c973f in trap_pfault (frame=0xece02a08, usermode=0, eva=0)
    at /usr/src/sys/i386/i386/trap.c:745
#5  0xc06c9399 in trap (frame=
      {tf_fs = 8, tf_es = 40, tf_ds = 40, tf_edi = -951789624, tf_esi =
-962362032, tf_ebp = -320853416, tf_isp = -320853452, tf_ebx = 4, tf_edx
= -965622128, tf_ecx = 4, tf_eax = -949792768, tf_trapno = 12, tf_err =
0, tf_eip = 0, tf_cs = 32, tf_eflags = 2163202, tf_esp = -951269120,
tf_ss = 0}) at /usr/src/sys/i386/i386/trap.c:435
#6  0xc06b5dda in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#7  0x00000000 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb) quit



More information about the freebsd-stable mailing list