Return-Path: <root@fatcity.cts.com>
Received: from newsfeed.cts.com (newsfeed.cts.com [209.68.248.164])
 by naude.co.za (8.11.2/8.11.2) with SMTP id g1ICNhO01441
 for <oracle-l@naude.co.za>; Mon, 18 Feb 2002 07:23:43 -0500
Received: from fatcity.UUCP (uucp@localhost)
 by newsfeed.cts.com (8.9.3/8.9.3) with UUCP id EAA69273;
 Mon, 18 Feb 2002 04:23:10 -0800 (PST)
Received: by fatcity.com (26-Feb-2001/v1.0g-b70/bab) via UUCP id 00412293; Mon, 18 Feb 2002 03:58:22 -0800
Message-ID: <F001.00412293.20020218035822@fatcity.com>
Date: Mon, 18 Feb 2002 03:58:22 -0800
To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
X-Comment: Oracle RDBMS Community Forum
X-Sender: cjgait@earthlink.net
Sender: root@fatcity.com
Reply-To: ORACLE-L@fatcity.com
Errors-To: ML-ERRORS@fatcity.com
From: cjgait@earthlink.net
Subject: Re: ERR:  ORA-04031 unable to allocate
Organization: Fat City Network Services, San Diego, California
X-ListServer: v1.0g, build 70; ListGuru (c) 1996-2001 Bruce A. Bergman
Precedence: bulk
Mime-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT

Take a look at Metalink note :1076835.6. You may be running out of 
underlying OS user process memory. Changing some kernel parameters 
may help. 

One other thing to check: Is this query going parallel (i.e. is the degree of 
any of the underlying objects > 1 and you are seeing parallel query 
process slaves showing up on the server?).

Regards,
Chris Gait

On 14 Feb 2002, at 16:03, Baker, Barbara wrote:

Date sent:      	Thu, 14 Feb 2002 16:03:32 -0800
To:             	Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
Send reply to:  	ORACLE-L@fatcity.com
Organization:   	Fat City Network Services, San Diego, California

> Oracle 8.0.5
> Solaris 2.6
> 
> List:
> One of our users is getting this error message running a query:
> 
> ERROR:
> ORA-04031: unable to allocate 4194304 bytes of shared memory ("shared
> pool","unknown object","cursor work he","KKRH Hash Table")
> 
> The query is very simple (see below).  Happens consistently.  Error occurs
> after about 1 minute of execution.  No other problems in the database (no
> errors in alert, etc.)
> 
> I'm seeing latch wait this for the sid involved:
> 
> 
> 
> 
> 
>   SID EVENT            P1TEXT              P1 P2TEXT         P2 P3TEXT
> P3
> ----- ---------------- ---------- ----------- -------- -------- --------
> ------
>   409 latch free       address     2147519876 number         59 tries
> 0
>     1 pmon timer       duration           300                 0
> 0
>     6 smon timer       sleep time         300 failed          0
> 0
> 
> 
> 
> and then I see this for the same sid in v$lock (resource is type+id1+id2,
> query is from Steve Adams' site)
> 
> 
> 
> 
> RESOURCE              NSID  SID HOLDING WANTING    SECONDS
> -------------------- ----- ---- ------- ------- ----------
> CU--1595636348-0       409  409       X                  0
> RT-1-0                   4 LGWR       X                  0
> TS-1-8388610             6 SMON      SX              55604
> 
> 
> 
> According to Anjo Kolk's description, a CU is a Bind enqueue.  Does this
> mean I'm running out of open_cursors?? (And if so, why are no other
> processes affected?)
> 
> Anyone seen this one before?
> 
> Thanks for any help!
> Barb
> 
> 
> Here's the query:
> 
> select distinct
>     v.sales_id,
>     a.receiver,
>     a.adno,
>     a.unet,
>     a.vno,
>     a.enddate
> from advdb.ad a,
>      advdb.pub p,
>      advdb.voluntary_reps v
> where a.adno = p.adno
>     and a.vno = p.vno
>     and a.receiver = v.name
>     and p.state = 'VAR'
>     and p.vnoflag = 'Y'
> 
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- 
> Author: Baker, Barbara
>   INET: bbaker@denvernewspaperagency.com
> 
> Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California        -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: cjgait@earthlink.net

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

