From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Antonio Gonzalez Newsgroups: gmane.os.tru64.managers Subject: gh-chunks memory allocation problem with 5.1B + Oracle Date: Thu, 05 May 2005 11:37:16 +0200 Message-ID: <002c01c55156$067845f0$0301a8c0@TINA> Reply-To: antonio.gonzalez@terra.es NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1115285549 19057 80.91.229.2 (5 May 2005 09:32:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 5 May 2005 09:32:29 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Thu May 05 11:32:23 2005 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by ciao.gmane.org with smtp (Exim 4.43) id 1DTchp-0002Z9-To for gotm-tru64-unix-managers@gmane.org; Thu, 05 May 2005 11:31:42 +0200 Original-Received: (qmail 25798 invoked by uid 49509); 5 May 2005 09:38:04 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 25783 invoked by uid 49501); 5 May 2005 09:38:04 -0000 Original-Received: from 160.91.86.17 by sws1 (envelope-from , uid 49491) with qmail-scanner-1.25 (clamdscan: 0.83/743. spamassassin: 3.0.2. Clear:RC:0(160.91.86.17):SA:0(-2.6/5.0):. Processed in 2.454996 secs); 05 May 2005 09:38:04 -0000 X-Spam-Status: No, hits=-2.6 required=5.0 Original-Received: from emroute2.cind.ornl.gov (160.91.86.17) by sws1.ornl.gov with SMTP; 5 May 2005 09:38:01 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0IG000129G3CSX@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 05 May 2005 05:38:01 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute2.cind.ornl.gov by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0IG000B02G299E@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 05 May 2005 05:37:30 -0400 (EDT) Original-Received: from tsmtp2.mail.isp (smtp.terra.es [213.4.129.129]) by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0IG0009D7G26ME@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 05 May 2005 05:37:21 -0400 (EDT) Original-Received: from TINA ([83.47.204.111]) by tsmtp2.mail.isp (terra.es) with ESMTP id IG0G2400.G9P for ; Thu, 05 May 2005 11:37:16 +0200 Original-To: Tru64 Mailing List X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal X-Envelope-From: X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on spam2.ornl.gov X-Spam-Level: **** X-Qmail-Scanner-MOVED-X-Spam-Status: No, score=4.5 required=5.0 tests=BAYES_00,ORNL_FR_419_Sender, SARE_FREE_WEBM_EsTerra,SPF_PASS autolearn=no version=3.0.3 Xref: news.gmane.org gmane.os.tru64.managers:8264 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:8264 I wonder if any of you have seen this before: My environment: Tru64 v5.1B PK3 Trucluster (2 x GS1280) Oracle 8.1.7 (single instance) In the production server (DB1) we have rad_gh_regions up to 4GB for Oracle SGA. System RAM totals 8GB We stop & start Oracle in restricted mode for Export every night. In this moment, at the Oracle start time, we sometimes get this errors in the messages file: May 1 00:06:58 dgttdb1 vmunix: there is currently 0x0 bytes available in gh-chu nks memory May 1 00:06:58 dgttdb1 vmunix: there is currently 0x0 bytes available in gh-chu nks memory May 1 00:06:58 dgttdb1 vmunix: unable to allocate 0x800000 bytes from gh-chunks memory May 1 00:06:58 dgttdb1 vmunix: unable to allocate 0x800000 bytes from gh-chunks Normally this happen a couple of times each month. After two minutes of erros (with something like 300 errors per second !!) everithing works, Oracle start normally and the errors stop withut any clue. We have insert a 2 minutes timeout between the dbshut & dbstart and had some weeks of peace. Recently (2 weeks ago) we updated the cluster to PK4. On Monday the error hit again but this time, after 5 minutes of filling the messages with 140 MB of error messages (always the same allocation message !!), everithing freezed, the cluster hung and I needed to power cycle my boxes to proceed. So, PK4 have been a real "fiasco". After the patch things become worst !!. To my knowledge, the problem is that Oracle doesn't free the memory at shutdown in an efficient way. Normally the gh regions work as expected: db1:/> ipcs -a Message Queues: T ID KEY MODE OWNER GROUP CREATOR CGROUP CBYTES QN UM QBYTES LSPID LRPID STIME RTIME CTIME q 0 0x41a2149e --rw------- root system root system 0 0 16384 524308 524719 12:04:22 12:04:22 9:57:10 Shared Memory: T ID KEY MODE OWNER GROUP CREATOR CGROUP NATTCH SEGSZ CPID LPID ATIME DTIME CTIME m 0 0 --rw-r----- oracle oinstall oracle oinstall 38 8388608 526302 531323 12:15:43 12:13:55 10:02:59 m 1 0 --rw-r----- oracle oinstall oracle oinstall 76 8388608 526302 531323 12:15:43 12:13:55 10:02:59 m 2 0xcb02cc2c --rw-r----- oracle oinstall oracle oinstall 38 3858759680 526302 531323 12:15:43 12:15:43 10:02:59 Semaphores: T ID KEY MODE OWNER GROUP CREATOR CGROUP NSEMS OT IME CTIME s 0 0x696e6974 --ra-r--r-- root system root system 8 9:5 7:10 9:57:10 s 1 0x41a2149e --ra------- root system root system 1 9:5 7:10 9:57:10 Any of you have any advice ?? TIA Regards from Madrid Antonio Gonz=E1lez Ortiz Consultor=EDa T=E9cnica e-Mail antonio.gonzalez at terra.es =20