From owner-freebsd-current@FreeBSD.ORG Thu Sep 12 09:27:51 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7D54E761 for ; Thu, 12 Sep 2013 09:27:51 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 09EF72138 for ; Thu, 12 Sep 2013 09:27:50 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.7/8.14.7) with ESMTP id r8C9Rbcs055703; Thu, 12 Sep 2013 13:27:37 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.7/8.14.7/Submit) id r8C9RbaV055702; Thu, 12 Sep 2013 13:27:37 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Thu, 12 Sep 2013 13:27:37 +0400 From: Gleb Smirnoff To: hiren panchasara Subject: Re: Intermittent hangs in vmem_periodic() Message-ID: <20130912092737.GC4574@FreeBSD.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Sep 2013 09:27:51 -0000 On Wed, Sep 11, 2013 at 09:51:16PM -0700, hiren panchasara wrote: h> I am seeing really weird system freeze for 2-3 seconds every minute or so. h> h> % uname -a h> FreeBSD flymockour-l7.corp.yahoo.com 10.0-CURRENT FreeBSD 10.0-CURRENT #2 h> r255423M: Mon Sep 9 12:29:22 PDT 2013 root@flymocko h> ur-l7.corp.yahoo.com:/usr/obj/usr/home/hirenp/head/sys/GENERIC amd64 h> h> Simple comands like "man top" hangs and this is what I see in ctrl+T h> % man top h> load: 1.59 cmd: zcat 76574 [*kmem arena] 2.16r 0.00u 1.82s 16% 2000k h> load: 1.70 cmd: zcat 76574 [*kmem arena] 7.19r 0.00u 1.82s 7% 2000k h> load: 1.89 cmd: zcat 76574 [*kmem arena] 12.58r 0.00u 1.82s 3% 2000k h> load: 1.90 cmd: zcat 76574 [*kmem arena] 14.58r 0.00u 1.82s 2% 2000k h> h> I see similar things while trying to "exit" a terminal window. h> h> I see following in pmcstat: h> h> PMC: [INSTR_RETIRED_ANY] Samples: 117647 (100.0%) , 6885 unresolved h> h> %SAMP CALLTREE h> 75.9 fork_exit@kernel taskqueue_thread_loop taskqueue_run_locked h> vmem_periodic(75.9%) You probably got DIAGNOSTIC in your kernel config. -- Totus tuus, Glebius.