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: DA Morgan <damorgan_at_x.washington.edu>
Date: Tue, 11 Jan 2005 09:05:13 -0800
Message-ID: <41e40627$1_2@127.0.0.1>


Vitalis Pedrotti via OracleMonster.com wrote:

> 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

A clean solution would be: rm alert*

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu
(replace 'x' with 'u' to respond)


----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---
Received on Tue Jan 11 2005 - 11:05:13 CST

Original text of this message

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