Received: (qmail 16170 invoked from network); 2 Feb 2011 14:27:35 -0600
Received: from freelists-180.iquest.net (HELO turing.freelists.org) (206.53.239.180)
  by static-ip-85-25-126-90.inaddr.intergenia.de with SMTP; 2 Feb 2011 14:27:32 -0600
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id C30BDD64840;
 Wed,  2 Feb 2011 15:27:31 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freelists.org;
 s=turing; t=1296678451; bh=Xrp9M5Gnz3b7BjLgu0sCY7ye8hlungTQ2Y2zNJyP
 siE=; h=MIME-Version:Date:Message-ID:Subject:From:To:Cc:
	 Content-Type:Sender:Reply-To:List-help:List-unsubscribe:List-Id:
	 List-subscribe:List-owner:List-post:List-archive; b=l/yi4jwk+zRIRh
 Qs6N1YtEghOaBRn9tQE0A5IcGm4FCOaCxQ1sPlttlmb8BKQGq2tkDldOYtXFQh5JoYI
 mccUdoFI28bVtTFyma5l7q3OK5PRe/QfQ9EBIbpRyO7IXREJJ8Kgvcwdae0Kv+nL23u
 TnARigIZNCxJti91TWVjs+s=
X-Virus-Scanned: Debian amavisd-new at localhost.localdomain
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 JMylClK73l9d; Wed,  2 Feb 2011 15:27:31 -0500 (EST)
Received: from turing.freelists.org (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 759C7D64499;
 Wed,  2 Feb 2011 15:26:48 -0500 (EST)
Received: with ECARTIS (v1.0.0; list oracle-l); Wed, 02 Feb 2011 15:26:06 -0500 (EST)
Received: from localhost (localhost [127.0.0.1])	by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id A4730D63D14	for <oracle-l@freelists.org>; Wed,  2 Feb 2011 15:26:05 -0500 (EST)
Authentication-Results: turing.freelists.org; dkim=pass (1024-bit key) header.i=@gmail.com
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 3Fec-8Wpb4Va for <oracle-l@freelists.org>;	Wed,  2 Feb 2011 15:26:05 -0500 (EST)
Received: from mail-bw0-f51.google.com (mail-bw0-f51.google.com [209.85.214.51])	by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 586B6D63D32	for <oracle-l@freelists.org>; Wed,  2 Feb 2011 15:26:02 -0500 (EST)
Received: by bwz10 with SMTP id 10so942027bwz.10        for <oracle-l@freelists.org>; Wed, 02 Feb 2011 12:25:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com; s=gamma;        h=domainkey-signature:mime-version:date:message-id:subject:from:to:cc         :content-type;        bh=9ly2ipflMyX5u+6vfMYZoYQ2ZlKeVCTDNA5v8HsPTk0=;        b=EOvUDpzKmueczKSa6/TX/j+STshxD0MIGszlcDZfNeK5BMc1+mlirPZ4ch8DG/vm0X         RP+DWEy6MlFs015+8x/cUEoynuIPb7qNtvM/TQIv2g8osSEke1vc15e6bMtTvVUUISmz         yHcC45M2AYzhKAbyoUpab/GFF9xX9hNCKan0w=
DomainKey-Signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=gamma;        h=mime-version:date:message-id:subject:from:to:cc:content-type;        b=gvlyhMrBTY1OnkHTbTMIKSx675NIabcrRu23jusszB2xTaHRDxVsazX6oVlKEIx1lv         S2nIK9Sr/ZjMGUBomJtOvxv0dt/v57MFcVHlyTnX2Sx7ejfYf4bn+JgYYMAjhN5lVj1j         TLL/xmwO8ar+gu9mk2P+RSgnVpsYkMqOh+Mhg=
MIME-Version: 1.0
Received: by 10.204.14.3 with SMTP id e3mr3558124bka.202.1296678357757; Wed, 02 Feb 2011 12:25:57 -0800 (PST)
Received: by 10.204.99.195 with HTTP; Wed, 2 Feb 2011 12:25:57 -0800 (PST)
Date: Wed, 2 Feb 2011 15:25:57 -0500
Message-ID: <AANLkTin6go2Q5mGBN36eGBekdSiS=oQRVJ+Em6J66iP6@mail.gmail.com>
Subject: Re: RAC Trace files
From: David Robillard <david.robillard@gmail.com>
To: Ethan Post <post.ethan@gmail.com>
Cc: oracle-l users <oracle-l@freelists.org>
Content-Type: text/plain; charset=ISO-8859-1
X-archive-position: 34098
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: david.robillard@gmail.com
Precedence: normal
Reply-To: david.robillard@gmail.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

Hello Ethan,

> Getting regular trace files with the following in them (partial below) on 2
> node RAC 11.2.0.1 RHEL5. Harmless? Not harmless?

I have the exact same behavior as you do on the exact same
environment. Fresh install of an 11gR2 RHEL 5 two-node RAC.

The Automatic Diagnostic Repository (ADR), specified by the
DIAGNOSTIC_DEST parameter, gets filled with many thousands of .trc and
.trm files per day.

And that's on a database that has absolutely no data and no clients.
It's an empty RAC database that I've created to familiarize myself
with 11gR2 RAC.

To help me understand why this is happening, I read chapter 9
"Managing Diagnostic Data" in the 11g Release 2 Oracle Database
Administrator's Guide [1]. A quick way to check if you have problems
is to check the "Active Problem Count" and "Active Incident Count"
from SELECT * FROM V$DIAG_INFO;

You can also find out which process wrote which trace file with SELECT
PID, PROGRAM, TRACEFILE FROM V$PROCESS;

Also, you might want to limit the amount of space available to the ADR
(excluding the alert log) by setting MAX_DUMP_FILE_SIZE. I'm not sure
if this parameter controls the size of a single trace file or the
total amount of space ADR can consume? Can anyone help us here?

That being said, was still puzzled as to why was there so much trace
files (.trc) and trace map files (.trm)? My SQL_TRACE parameter is set
to false.

I've opened an SR with MOS in December 15th and I still have no answer
from Oracle.

> Have to say that the # of .trc files being generated by 11g+RAC is quite
> annoying. I am use to about 20% of trace files being useless information and
> 80% having real value, therefore I like to keep tabs on them, but now it
> seems like 80% are useless information and 20% mean something.

In previous Oracle versions (9iR2 and 10gR2) I used home made scripts
to clean-up and archive the files in audit_file_dest,
background_dump_dest, core_dump_dest and user_dump_dest.

But before I modify those scripts, I noticed that most files under
.../trace directory are moved to cdmp_`date +%Y%m%d%H%M%S`.

One way to find out why all these files written is to check your
.../trace/alert_
According to an old blog post by Surachart Opun [2] it could be a
result of a database block corruption. But not in my case, as the a
"select * from V$DATABASE_BLOCK_CORRUPTION;" query returns nothing
(i.e. no rows selected)

Have you had any luck with this problem?

Many thanks,

David

[1] http://download.oracle.com/docs/cd/E11882_01/server.112/e17120/diag.htm#adminChapterDiagnosability

[2] http://surachartopun.com/2008/06/requesttrace-dump-in-directory-cdmp.html
--
http://www.freelists.org/webpage/oracle-l


