From owner-freebsd-bugs@FreeBSD.ORG Tue Feb 28 04:50:09 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1542F106566B for ; Tue, 28 Feb 2012 04:50:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C91C88FC15 for ; Tue, 28 Feb 2012 04:50:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1S4o8OI088375 for ; Tue, 28 Feb 2012 04:50:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q1S4o87i088374; Tue, 28 Feb 2012 04:50:08 GMT (envelope-from gnats) Resent-Date: Tue, 28 Feb 2012 04:50:08 GMT Resent-Message-Id: <201202280450.q1S4o87i088374@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Eugene M. Zheganin" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59462106566B for ; Tue, 28 Feb 2012 04:49:39 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 447458FC18 for ; Tue, 28 Feb 2012 04:49:39 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q1S4ncss057767 for ; Tue, 28 Feb 2012 04:49:38 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q1S4ncG2057766; Tue, 28 Feb 2012 04:49:38 GMT (envelope-from nobody) Message-Id: <201202280449.q1S4ncG2057766@red.freebsd.org> Date: Tue, 28 Feb 2012 04:49:38 GMT From: "Eugene M. Zheganin" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/165521: livelock on 1 Gig of RAM with zfs when 310.locate is run X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Feb 2012 04:50:09 -0000 >Number: 165521 >Category: misc >Synopsis: livelock on 1 Gig of RAM with zfs when 310.locate is run >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Feb 28 04:50:08 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Eugene M. Zheganin >Release: 8.2-RELEASE >Organization: RealService LLC >Environment: FreeBSD moscow-omega 8.2-RELEASE FreeBSD 8.2-RELEASE #2: Wed Jan 25 11:30:58 YEKT 2012 emz@moscow-omega:/usr/obj/usr/src/sys/MOSCOW amd64 >Description: Every saturday this server hangs around 4:15 in the morning. 4:15 in the morning is the time when periodic weekly is run. After some investigations it looks like 310.locate is the critical script. This is reproduceable. Simply launching this script also makes server hang. Other servers with similar hardware configuraton and use also hang. loader.conf: zfs_load="YES" vfs.root.mountfrom="zfs:zfsroot" ng_iface_load="YES" ng_ether_load="YES" vm.kmem_size="330M" vm.kmem_size_max="330M" vfs.zfs.arc_max="30M" Console is responsive, but the machine doesn't allow to log in and doesn't respond to network. >How-To-Repeat: Get a FreeBSD, use zfs for system, use 1 Gig of RAM, run 310.locate from weekly set of periodic scripts. >Fix: Turn of periodic runs. Add more RAM (problem disappears on 4 Gigs of RAM with the same config set). >Release-Note: >Audit-Trail: >Unformatted: