Re: How to handle OACoreGroup logs in jvm
- From: "James Morrow" <morrow.james@xxxxxxxxx>
- To: ora-apps-dba@xxxxxxxxxxxxx
- Date: Mon, 8 Dec 2008 10:00:57 -0600
You could also:
cp /dev/null OACoreGroup.2.stderr
cp /dev/null OACoreGroup.2.stdout
However, one thing you need to keep in mind is that the operating
system may not free up the space on the filesystem when you do that.
(Has to do with "open files" for lack of a more elaborate
explaination). So the space may not become available until you
stop/restart the processes writing to them.
So, in reality, your best bet is to shutdown Apache, delete/rename the
files, and restart Apache.
They are only logfiles. So retaining them is not required from any
purely technical perspective. If you're concerned about whether or
not to keep them, rename them (name.datestamp) and gzip -9 them.
-- James
----------------------------------------------------------------------
James J. Morrow | Senior Oracle Applications DBA
morrow.james <at> gmail <dot> com
On Mon, Dec 8, 2008 at 9:46 AM, Sriramulu, Jayakumar
<Jayakumar.Sriramulu@xxxxxxxxxxxxx> wrote:
> I guess no need to stop apache.
>
>
>
> Try the following to clear:
>
>
>
> echo > OACoreGroup.2.stderr
>
> echo > OACoreGroup.2.stdout
>
>
>
> This will tryncate the logs on the fly.
>
>
>
> ________________________________
>
> From: ora-apps-dba-bounce@xxxxxxxxxxxxx
> [mailto:ora-apps-dba-bounce@xxxxxxxxxxxxx] On Behalf Of Nelabhotla Durga
> Charan
> Sent: Monday, December 08, 2008 4:38 AM
> To: ora-apps-dba@xxxxxxxxxxxxx
> Subject: Re: How to handle OACoreGroup logs in jvm
>
>
>
> Hi, stop the Apache and clear log files.
>
>
>
> Thanks
>
> Durga
>
> On Sun, Dec 7, 2008 at 4:59 PM, Shastry(DBA) <shastry17@xxxxxxxxx> wrote:
>
> Hello all,
>
>
>
> How to handle the below logs in 11i, There is a space crunch in our web
> tier.
>
>
>
> 828K OACoreGroup.2.stderr
>
> 7.6G OACoreGroup.2.stdout
>
>
>
> Can i rename it or how do i handle it. Please suggest.
>
>
>
> Thanks,
>
> Annn
>
>
> --
> Best Regards
> N.Durga Charan
Other related posts: