Return-Path: <oracle-l-bounce@freelists.org>
Delivered-To: 2-oracle-l@orafaq.com
Received: (qmail 25114 invoked from network); 19 Sep 2007 09:42:45 -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:42:45 -0500
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 550BA75D074;
 Wed, 19 Sep 2007 10:42:46 -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 15110-08; Wed, 19 Sep 2007 10:42:46 -0400 (EDT)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id B825B75D070;
 Wed, 19 Sep 2007 10:42:45 -0400 (EDT)
Received: with ECARTIS (v1.0.0; list oracle-l); Wed, 19 Sep 2007 09:57:16 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 6E67D75DB8C
 for <oracle-l@freelists.org>; Wed, 19 Sep 2007 09:57:16 -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 07152-10 for <oracle-l@freelists.org>;
 Wed, 19 Sep 2007 09:57:16 -0400 (EDT)
Received: from anchor-post-30.mail.demon.net (anchor-post-30.mail.demon.net [194.217.242.88])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 241E275DBCD
 for <oracle-l@freelists.org>; Wed, 19 Sep 2007 09:57:15 -0400 (EDT)
Received: from pr-webmail-2.demon.net ([194.159.244.50])
 by anchor-post-30.mail.demon.net with esmtp (Exim 4.67)
 id 1IY00x-000JHs-0I
 for oracle-l@freelists.org; Wed, 19 Sep 2007 13:54:51 +0000
Received: from localhost ([127.0.0.1] helo=web.mail.demon.net)
 by pr-webmail-2.demon.net with smtp (Exim 4.42)
 id 1IXzkf-000CBa-75
 for oracle-l@freelists.org; Wed, 19 Sep 2007 14:38:01 +0100
Received: from jlcomp.demon.co.uk ([12.13.1.3])
 by web.mail.demon.net with http; Wed, 19 Sep 2007 14:38:01 +0100
From: jonathan@jlcomp.demon.co.uk
To: oracle-l@freelists.org
In-Reply-To: <716f7a630709181520p7ee8f2f4m9d4bfa7207c65d47@mail.gmail.com>
Subject: Re: Weird database hanging
Date: Wed, 19 Sep 2007 14:38:01 +0100
User-Agent: Demon-WebMail/2.0
MIME-Version: 1.0
Content-Type: text/plain
Message-Id: <E1IXzkf-000CBa-75@pr-webmail-2.demon.net>
X-archive-position: 1694
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: jonathan@jlcomp.demon.co.uk
Precedence: normal
Reply-to: jonathan@jlcomp.demon.co.uk
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


All the symptoms suggest that something is shutting
you out of the shared pool - so the comments from 
other posters about web applications and creating
sessions might be highly relevant.

There's a tale of woe here:
http://www.jlcomp.demon.co.uk/kiddy_scripts.html#_Always_be_cautious_about_x$_and_v$
that might be of interest.

If this is relevant, then check the shared_pool_reserved_size.
A connection needs a continguous chunk of about 26KB for 
"session parameters" - so it is a good idea to create a 
reserve that is set to a minimum of "sessions * 26KB" (plus
a few, or few dozen, MB for whatever you currently have in there) 
so thatthese chunk eventually end up being allocated in the 
reserve rather than causing a massive flushed on the rest of the pool.

Regards
Jonathan Lewis
http://jonathanlewis.wordpress.com
http:/www.jlcomp.demon.co.uk


don@seiler.us wrote:
> I have opened an SR with Oracle, as it has hung 3 times today and
> actually crashed once.
> 
> When the database hang, Ignite is showing "latch: shared pool" and
> "latch: library cache" waits.  Otherwise I don't see these at all.
> 
> Oracle has had me up OPEN_CURSORS and SESSION_CACHED_CURSORS, but I
> did that last night (with instance restart) and, as I said, it has
> hung 3 times and crashed once since then.  Oracle's also telling me
> that this is largely due to application coding.  My problem with that
> is that the application code has been in place for a while.
> 
> To recap: we migrated to the 64-bit machine on Sep 1.  Hanging has
> occurred since Sep 13, seemingly during bulk load activity.  Our SGA
> is quite a bit larger (16 GB) than on our 32 bit box (1.5 GB).
> 
> db_cache_size                        big integer 12G
> shared_pool_size                     big integer 2G
> 
> I haven't seen the "block change tracking buffer space" wait since
> yesterday morning, thankfully.
> 
> Any tips would be appreciated.
> 
> Thanks,
> Don.
> 
> -- 
> Don Seiler
> oracle: http://ora.seiler.us
> ultimate: http://www.mufc.us
> 

--
http://www.freelists.org/webpage/oracle-l


