Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Dec 2015 17:00:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 205163] Periodic jobs triggering panics on ZFS host with jails
Message-ID:  <bug-205163-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205163

            Bug ID: 205163
           Summary: Periodic jobs triggering panics on ZFS host with jails
           Product: Base System
           Version: 10.2-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: dustinwenz@ebureau.com

I have multiple machines that have had occasional panics occur while the daily
and weekly periodic scripts run. The panic is always "Fatal trap 18: integer
divide fault while in kernel mode".

A notable common factor is that all affected systems have zfs-based startup
disks, and 20-40 jails. Each jail has it's own filesystem that was created by
cloning the boot filesystem. I suspect this is a zfs bug that is triggered by
the access patterns in the periodic scripts. There is significant load on the
system when the scheduled processes start, because all jails execute the same
scripts at the same time.

I've been able to alleviate this problem by disabling the security scans within
the jails, but leave it enabled on the root host.


This is the message logged related to the panic:

Dec  5 04:16:47 <kern.crit> svr-033-08 kernel: 
Dec  5 04:16:47 <kern.crit> svr-033-08 kernel: 
Dec  5 04:16:47 <kern.crit> svr-033-08 kernel: Fatal trap 18: integer divide
fault while in kernel mode
Dec  5 04:16:47 <kern.crit> svr-033-08 kernel: cpuid = 19; apic id = 27
Dec  5 04:16:47 <kern.crit> svr-033-08 kernel: instruction pointer    =
0x20:0xffffffff819f54d4
Dec  5 04:16:47 <kern.crit> svr-033-08 kernel: stack pointer            =
0x28:0xfffffe085fec76f0
Dec  5 04:16:47 <kern.crit> svr-033-08 kernel: frame pointer            =
0x28:0xfffffe085fec7740
Dec  5 04:23:18 <kern.info> svr-033-08 syslogd: kernel boot file is
/boot/kernel/kernel
Dec  5 04:23:18 <kern.crit> svr-033-08 kernel: code segment        = base 0x0,
limit 0xfffff, type 0x1b
Dec  5 04:23:18 <kern.crit> svr-033-08 kernel: = DPL 0, pres 1, long 1, def32
0, gran 1
Dec  5 04:23:18 <kern.crit> svr-033-08 kernel: processor eflags    = interrupt
enabled, resume, IOPL = 0
Dec  5 04:23:18 <kern.crit> svr-033-08 kernel: current process        = 20355
(find)
Dec  5 04:23:18 <kern.crit> svr-033-08 kernel: trap number        = 18
Dec  5 04:23:18 <kern.crit> svr-033-08 kernel: panic: integer divide fault
Dec  5 04:23:18 <kern.crit> svr-033-08 kernel: cpuid = 19

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205163-8>