Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: limit alertSID.log file size

Re: limit alertSID.log file size

From: Vitalis Pedrotti via OracleMonster.com <forum_at_OracleMonster.com>
Date: Tue, 11 Jan 2005 12:27:16 GMT
Message-ID: <9a534cf0872b451b8d69e27b8258917f@OracleMonster.com>


Are you sure it is a safe method to rotate the alertSID.log file?

Since the instance is not shut down after the "mv", its processes still hold the old file open. When they need to write an alert, it is written to the new alertSID.log but they hold both files open. Test done on Aix and Linux. It's not a big deal but there must be better ways to do it. Joel suggested rotatelogs but apparently it's meant to be used with piped logs and oracle does not provide this functionality for alertSID.log afaik.

A clean solution may be to used a named pipe alertSID.log at the os level and have a script manage its I/O (I haven't tried that.)

Vitalis

-- 
Message posted via http://www.oraclemonster.com
Received on Tue Jan 11 2005 - 06:27:16 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US