From owner-freebsd-bugs@freebsd.org Wed Dec 9 17:00:27 2015 Return-Path: Delivered-To: freebsd-bugs@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 D1EAD9D600C for ; Wed, 9 Dec 2015 17:00:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B673714DD for ; Wed, 9 Dec 2015 17:00:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tB9H0RRx034167 for ; Wed, 9 Dec 2015 17:00:27 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 205163] Periodic jobs triggering panics on ZFS host with jails Date: Wed, 09 Dec 2015 17:00:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dustinwenz@ebureau.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Dec 2015 17:00:28 -0000 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 svr-033-08 kernel: Dec 5 04:16:47 svr-033-08 kernel: Dec 5 04:16:47 svr-033-08 kernel: Fatal trap 18: integer divide fault while in kernel mode Dec 5 04:16:47 svr-033-08 kernel: cpuid = 19; apic id = 27 Dec 5 04:16:47 svr-033-08 kernel: instruction pointer = 0x20:0xffffffff819f54d4 Dec 5 04:16:47 svr-033-08 kernel: stack pointer = 0x28:0xfffffe085fec76f0 Dec 5 04:16:47 svr-033-08 kernel: frame pointer = 0x28:0xfffffe085fec7740 Dec 5 04:23:18 svr-033-08 syslogd: kernel boot file is /boot/kernel/kernel Dec 5 04:23:18 svr-033-08 kernel: code segment = base 0x0, limit 0xfffff, type 0x1b Dec 5 04:23:18 svr-033-08 kernel: = DPL 0, pres 1, long 1, def32 0, gran 1 Dec 5 04:23:18 svr-033-08 kernel: processor eflags = interrupt enabled, resume, IOPL = 0 Dec 5 04:23:18 svr-033-08 kernel: current process = 20355 (find) Dec 5 04:23:18 svr-033-08 kernel: trap number = 18 Dec 5 04:23:18 svr-033-08 kernel: panic: integer divide fault Dec 5 04:23:18 svr-033-08 kernel: cpuid = 19 -- You are receiving this mail because: You are the assignee for the bug.