Return-Path: <oracle-l-bounce@freelists.org>
Delivered-To: 2-oracle-l@orafaq.com
Received: (qmail 15339 invoked from network); 19 Sep 2007 09:03:25 -0500
Received: from freelists-180.iquest.net (HELO turing.freelists.org) (206.53.239.180)
  by 69.64.49.119 with SMTP; 19 Sep 2007 09:03:24 -0500
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 9107B75DD30;
 Wed, 19 Sep 2007 10:03:23 -0400 (EDT)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 08442-01-5; Wed, 19 Sep 2007 10:03:23 -0400 (EDT)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id E8B3A75DD1C;
 Wed, 19 Sep 2007 10:03:22 -0400 (EDT)
Received: with ECARTIS (v1.0.0; list oracle-l); Wed, 19 Sep 2007 09:18:22 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 0EF1675D140
 for <oracle-l@freelists.org>; Wed, 19 Sep 2007 09:18:22 -0400 (EDT)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 32555-09 for <oracle-l@freelists.org>;
 Wed, 19 Sep 2007 09:18:21 -0400 (EDT)
Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 7A27C75D23D
 for <oracle-l@freelists.org>; Wed, 19 Sep 2007 09:18:20 -0400 (EDT)
Received: by nf-out-0910.google.com with SMTP id 4so143002nfv
        for <oracle-l@freelists.org>; Wed, 19 Sep 2007 06:18:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=beta;
        h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth;
        bh=r4gaYQK8nkcd1eotc2QYIdhXbuXBjCfTqH69v9hYO20=;
        b=iNM2/NuzEOKRrtP82hy1zJ/bH9GAoMAnhWS+em76uhZAPPctuK+EdXN9OTOgB9GR+UjelL6YKOQZHL9Ea9ok8Y9wGHopjuFIpjbzmi9CyVGvzTvAl8F27ENxuvuQUbchGxDYtK/n5/oCX1zpnZMIDVEEGgdLYDU8zj01/lWJ45g=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=beta;
        h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth;
        b=bdOYDYRpSVJ+2HbWq8Q9/MK3dtBrxz5XJhs+uC9J89kVdGf9jyO2ta5zuSLYv7YHJbWqcInmS511SHAhTTIjyxDOjE29JG4kVIazuNQhkCJr8PvK7Zvj1TpEWXNf7UcNNoj6Yu1fZ8Dq8Q3z4P3tKF/XYxmN1SP4UUuMNvCNi74=
Received: by 10.86.65.11 with SMTP id n11mr508020fga.1190207898710;
        Wed, 19 Sep 2007 06:18:18 -0700 (PDT)
Received: by 10.86.82.4 with HTTP; Wed, 19 Sep 2007 06:18:18 -0700 (PDT)
Message-ID: <716f7a630709190618q12674act7642b29577659d22@mail.gmail.com>
Date: Wed, 19 Sep 2007 08:18:18 -0500
From: "Don Seiler" <don@seiler.us>
To: "Alex Gorbachev" <ag@oracloid.com>
Subject: Re: Weird database hanging
Cc: oracle-l@freelists.org
In-Reply-To: <c2213f680709181942l79088c71x7d4140109a584509@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline
References: <20070915071419.33C63743CB5@turing.freelists.org>
	 <009601c7f773$0d30f340$0200a8c0@Primary>
	 <716f7a630709170850w66347a8fr6f1099fbb1bda3e5@mail.gmail.com>
	 <716f7a630709170938h3403bb0dv32110c5893cf998@mail.gmail.com>
	 <716f7a630709181520p7ee8f2f4m9d4bfa7207c65d47@mail.gmail.com>
	 <c2213f680709181650y4b982fe7n2d3375a2379b0efb@mail.gmail.com>
	 <716f7a630709181902t73b910a1re2b516e9186101ca@mail.gmail.com>
	 <c2213f680709181942l79088c71x7d4140109a584509@mail.gmail.com>
X-Google-Sender-Auth: 95dd23e1a9c71273
X-archive-position: 1693
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: don@seiler.us
Precedence: normal
Reply-to: don@seiler.us
List-help: <mailto:ecartis@freelists.org?Subject=help>
List-unsubscribe: <oracle-l-request@freelists.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: oracle-l <oracle-l.freelists.org>
X-List-ID: oracle-l <oracle-l.freelists.org>
List-subscribe: <oracle-l-request@freelists.org?Subject=subscribe>
List-owner: <mailto:steve.adams@ixora.com.au>
List-post: <mailto:oracle-l@freelists.org>
List-archive: <http://www.freelists.org/archives/oracle-l>
X-list: oracle-l
X-Virus-Scanned: Debian amavisd-new at localhost.localdomain

On 9/18/07, Alex Gorbachev <ag@oracloid.com> wrote:
> Could you paste content of /proc/meminfo?

# cat /proc/meminfo
MemTotal:     65907748 kB
MemFree:      35313952 kB
Buffers:        246220 kB
Cached:       25186036 kB
SwapCached:          0 kB
Active:       26538432 kB
Inactive:       886364 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:     65907748 kB
LowFree:      35313952 kB
SwapTotal:    33551744 kB
SwapFree:     33551744 kB
Dirty:             128 kB
Writeback:           0 kB
Mapped:       14456204 kB
Slab:           673304 kB
CommitLimit:  66505616 kB
Committed_AS: 23846764 kB
PageTables:    1554896 kB
VmallocTotal: 536870911 kB
VmallocUsed:    393092 kB
VmallocChunk: 536477779 kB
HugePages_Total:     0
HugePages_Free:      0
Hugepagesize:     2048 kB

>
> I'm not sure not using huge pages can cause such behavior but 16 GB
> SGA without huge pages on Linux is a killer. Normally, memory is
> managed in small 4k blocks. Each process has it's own page table where
> for each page it has location, permissions, and etc. For shared
> memory, each process will have its own entry in page table but only
> when it first accesses it. What can happen with large SGA, default
> page size and many Oracle processes - page table can actually occupy
> more space than SGA in addition to overhead of on-the-fly allocation
> of entries in page table.
>
> That being said, I'm not sure if that's relevant to your case.
> If you get qualified support engineer than s/he could hopefully see a
> clue there.

My SA said he didn't think it would be an issue.  We aren't swapping
at all.  However at this point we're willing to try ANYTHING.

>
> Another option could be to OS trace the processes with high activity
> during the hang but I'd be careful on production. On the other hand -
> it's not working anyway at those times. :)

You mean like a gdb attach?  Oracle Support also asked for this due to
my system state dumps being incomplete.

Don.

>
>
> On 9/18/07, Don Seiler <don@seiler.us> wrote:
> > 5. We are not using huge pages.  My SA says he'll set it up, since it
> > can't hurt now.  I'm reading the Puschitz tuning page about it now.  I
> > suppose shrinking the SGA or shared pool is always an option.
> >
> > One other difference between old and new servers is that I have
> > enabled the default degree of parallelism on our "warehouse" tables
> > and indexes, and set NOPARALLEL on our frontend objects.  On our old
> > hardware it was kind of random which tables or indexes had it enabled
> > and what degree was set.  Also our parallel_max_servers is 32, where
> > before it was 8.  I don't think it would hurt to bring it down again.
>
>
> --
> Alex Gorbachev, Oracle DBA Brewer, The Pythian Group
> http://www.pythian.com/blogs/author/alex http://www.oracloid.com
> BAAG party - www.BattleAgainstAnyGuess.com
>


-- 
Don Seiler
oracle: http://ora.seiler.us
ultimate: http://www.mufc.us
--
http://www.freelists.org/webpage/oracle-l


