From owner-freebsd-current@FreeBSD.ORG Thu Sep 12 16:31:19 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C34FF3D2; Thu, 12 Sep 2013 16:31:19 +0000 (UTC) (envelope-from hiren.panchasara@gmail.com) Received: from mail-ea0-x231.google.com (mail-ea0-x231.google.com [IPv6:2a00:1450:4013:c01::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 37D9B2EE4; Thu, 12 Sep 2013 16:31:19 +0000 (UTC) Received: by mail-ea0-f177.google.com with SMTP id f15so15722eak.36 for ; Thu, 12 Sep 2013 09:31:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=PsNkMXVh+w5Ots7CC99sAlCg7du+4X6Ht3jaPgCVtA0=; b=bSTn73TIMgOrnTcKZ4Va0EcCaFUiMWMTrg/7c1NmXeNBKJNuXBH3EzZZmYQABvBZoK 6V5bteiGeiWjCWKFeHRHIVMHyvDnZwTg44eW3BeqRo7ZCabRlDRBEZGEKR/4ZqAlNAfv vxu3FDFses20UWiRssInwu4f4bkWuJZPrDyRXmSNtdDjArd51JnTFJWr6ZlhLQ0PuaYY WYMsNo8xkZJGElqomgw7pAupYBcEidfZAdl10OO7dcIRExZOXzGhFI6A5z+Y3Lxmj+fK DeqUc8B+EPuKR3zkBRDEe04sAEl9+PGpRfIqYagIzs95be6zZkrG6Iydu1SSeyqXiLKA x27g== MIME-Version: 1.0 X-Received: by 10.14.211.195 with SMTP id w43mr3424042eeo.57.1379003477672; Thu, 12 Sep 2013 09:31:17 -0700 (PDT) Received: by 10.14.105.137 with HTTP; Thu, 12 Sep 2013 09:31:17 -0700 (PDT) In-Reply-To: References: <20130912092737.GC4574@FreeBSD.org> Date: Thu, 12 Sep 2013 09:31:17 -0700 Message-ID: Subject: Re: Intermittent hangs in vmem_periodic() From: hiren panchasara To: Gleb Smirnoff Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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 16:31:19 -0000 On Thu, Sep 12, 2013 at 8:16 AM, hiren panchasara < hiren.panchasara@gmail.com> wrote: > > On Sep 12, 2013 2:27 AM, "Gleb Smirnoff" wrote: > > > > 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. > > Yes. And I've always had that. Never been a problem before. What has > changed? > Thanks Gleb. I've removed DIAGNOSTIC and the problem is gone now. But the way system was behaving with DIAGNOSTIC, its unusable. Thanks again, Hiren