Re: How to handle OACoreGroup logs in jvm
- From: naveen kumar <naveensamala2000@xxxxxxxxx>
- To: ora-apps-dba@xxxxxxxxxxxxx
- Date: Wed, 31 Dec 2008 08:44:20 -0800 (PST)
We normally do this on the fly. You do not need to make the apache down for
doing this.
just > file_name
that's it.
You should not have any problem in doing . Don't how openfiles parameter affect
here. It's hardly one more extra file that you are opening .
regards
Naveen samala
--- On Mon, 12/8/08, Shastry(DBA) <shastry17@xxxxxxxxx> wrote:
> From: Shastry(DBA) <shastry17@xxxxxxxxx>
> Subject: Re: How to handle OACoreGroup logs in jvm
> To: ora-apps-dba@xxxxxxxxxxxxx
> Date: Monday, December 8, 2008, 9:10 PM
> Thanks to all for your responses, The solution concludes,
> Services need to
> be down and then clean up log files as releasing of space
> is the main
> criteria. I will look forward for the downtime. Have a
> great time to all.
>
> -Reg,
> Ann
>
> On Mon, Dec 8, 2008 at 9:30 PM, James Morrow
> <morrow.james@xxxxxxxxx> wrote:
>
> > 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: