[Orca-users] Re: Resync all Orca data
Blair Zajac
blair at orcaware.com
Fri Oct 12 19:20:28 PDT 2001
Hi Bob,
That's great that its working.
You can try putting the 0.26 patch on 0.27b1 but don't count on it patching
the files automatically.
Blair
bob johnson wrote:
>
> --- Blair Zajac <blair at orcaware.com> wrote:
> > Hi Bob,
> >
> > Can you send me the exact error message from Orca
> > (just copy and paste?)
>
> Hello Blair,
>
> One of the errors follows:
> bin/orca: warning: cannot create Orca::HTMLFile
> object: cannot open
> `/home/tlabai/rlj/oooo/orca/data_store/html_out/o_bbuxas04-weekly.html.htm'
> for writing: Too many open files.
>
> BUT let's forget the problem for the time being!
>
> I currently have 0.27b1 running and have started
> working on moving to 0.27b2. All the percol files are
> compressed with bunzip2.
>
> I thought about putting the 0.26 patch on 0.27b1 but
> am holding off pending the result of getting 0.27b2
> running.
>
> For all its worth, as it turned out all the html pages
> that were lost came back after a while. I assume after
> a series of data updates. All looks fine now.
>
> Thanks for your help.
> rlj
>
> >
> > Which version of Orca are you using? Are your
> > percol-* files compressed?
> >
> > If it's older than 0.27b2 or if you didn't apply the
> > patch to 0.26, then
> > Orca will not close file descriptors to an
> > uncompression program when it
> > should and this can cause Orca to run out of file
> > descriptors. You can
> > try applying this patch:
> >
> >
> http://www.orcaware.com/orca/pub/patches/orca-0.26-defunct-processes-patch.txt
> >
> >
> > Another solution is to look at the maximum number of
> > file descriptors your
> > shell has. Run either limit for csh style shells or
> > ulimit for Bourne
> > style shells to see the maximum number of file
> > descriptors. If you can
> > raise the number, then do so.
> >
> > If you're reloading all of the data, I would upgrade
> > to 0.27b2 anyway to
> > not have to deal with any file renaming issues.
> >
> > If this doesn't work, then follow your step.
> >
> > Glad you like Orca. Do you need any consulting work
> > done :)
> >
> > Blair
> >
> > Bob Johnson wrote:
> > >
> > > Hello Blair
> > >
> > > Some of my html files had been deleted and I
> > wanted to get everything up
> > > to date. I did the old trick of removing all html
> > and rrd files and
> > > restarting orca. This time though not all the html
> > files came back. I
> > > have done this before and it has always worked.
> > Now thought I have
> > > several months worth of data from many machines.
> > >
> > > Over the time of the regeneration there were 1268
> > messages like:
> > > bin/orca: warning: cannot create Orca::HTMLFile
> > object: cannot open
> > > `/home/html_out/o_bbuxas05-monthly.html.htm' for
> > writing: Too many open
> > > files.
> > >
> > > So the question is: Will the missing files
> > eventually be created as new
> > > data arrives and the htmls have to be updated?
> > >
> > > Or should I do the following:
> > > 1 - stop Orca
> > > 2 - shutdown orcallator.se on the machines I
> > monitor
> > > 3 - remove all rrd and html files
> > > 4 - move all previous data out of the area where
> > Orca normally looks for
> > > it.
> > > 5 - do the following 3 step loop, until all old
> > data is back in
> > > a - move a little old data to Orca's regular data
> > collection area
> > > b - start Orca, let it pickup this data and make
> > the html's
> > > c - stop Orca, go back to 'a'
> > > 6 - after all the old data is processed start Orca
> > and the orcallators
> > >
> > > Thanks for you help
> > >
> > > rlj
> > >
> > > PS - Thanks for writing Orca. It has been very
> > helpful and allowed me to
> > > find various problems and come up with solutions.
> > > --
> > > Bob Johnson, Tellabs Operations,
> > Bob.Johnson at tellabs.com,
> > > 630-512-7023
More information about the Orca-users
mailing list