Return-Path: <oracle-l-bounce@freelists.org>
Delivered-To: 2-oracle-l@orafaq.com
Received: (qmail 5022 invoked from network); 18 Sep 2007 22:28:11 -0500
Received: from freelists-180.iquest.net (HELO turing.freelists.org) (206.53.239.180)
  by 69.64.49.119 with SMTP; 18 Sep 2007 22:28:10 -0500
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 0311A75C9B6;
 Tue, 18 Sep 2007 23:28:11 -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 11815-10; Tue, 18 Sep 2007 23:28:10 -0400 (EDT)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 7135C75C59F;
 Tue, 18 Sep 2007 23:28:10 -0400 (EDT)
Received: with ECARTIS (v1.0.0; list oracle-l); Tue, 18 Sep 2007 22:42:40 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 3F3B275CE59
 for <oracle-l@freelists.org>; Tue, 18 Sep 2007 22:42:40 -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 06301-08 for <oracle-l@freelists.org>;
 Tue, 18 Sep 2007 22:42:40 -0400 (EDT)
Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.187])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 58EBC75D162
 for <oracle-l@freelists.org>; Tue, 18 Sep 2007 22:42:38 -0400 (EDT)
Received: by rv-out-0910.google.com with SMTP id b22so52599rvf
        for <oracle-l@freelists.org>; Tue, 18 Sep 2007 19:42:38 -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=XPA+oBf1ZJYJtuwlBhubV/+c6yQh88M0DKp5DyS9Xw0=;
        b=X+lykEDD1dMGr5un7MAF39vsuJbsNmIxMAvxc/J/wdG9UDNO7CqvZQDR7rJ2W6Tjj3HDevRC1za+nNJSaEPh8ytJTDjQMTVPDYrObbiq5ObmPRd7pme2Ke+rpbv7cxbpVQq+lbNJ6U6jH22FULGHQ3lbFwzaoEPNqONHvLGBreg=
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=ga0jxuNijgcdCizCHOQOD3eKOAB9PAN9xvnmtp3Q3i/tt7ZxohmSLAjBxvh4XS3/Wt75WnnldvhbWEO5kf66GywKyljiSxgCewLigmpP2VwIOV4o9xDNY9G9vxXl7N37UMXKb89cC5Rx3M8rJB1xW6jBlSIAaCkSp4d84XQdlFs=
Received: by 10.141.18.14 with SMTP id v14mr43498rvi.1190169757997;
        Tue, 18 Sep 2007 19:42:37 -0700 (PDT)
Received: by 10.140.131.9 with HTTP; Tue, 18 Sep 2007 19:42:37 -0700 (PDT)
Message-ID: <c2213f680709181942l79088c71x7d4140109a584509@mail.gmail.com>
Date: Tue, 18 Sep 2007 22:42:37 -0400
From: "Alex Gorbachev" <ag@oracloid.com>
To: "Don Seiler" <don@seiler.us>
Subject: Re: Weird database hanging
Cc: oracle-l@freelists.org
In-Reply-To: <716f7a630709181902t73b910a1re2b516e9186101ca@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>
X-Google-Sender-Auth: a81b9c6c2e6402ea
X-archive-position: 1673
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: ag@oracloid.com
Precedence: normal
Reply-to: ag@oracloid.com
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

Could you paste content of /proc/meminfo?

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.

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. :)


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
--
http://www.freelists.org/webpage/oracle-l


