[Orca-users] Re: Accumulation of orca defunct processes over time.

Blair Zajac blair at orcaware.com
Fri Oct 12 10:58:55 PDT 2001


No, you have the latest version.  The version numbers need to be numbers
instead of something like 0.27b3, but I'm going to change this so it isn't
confusing.  The version number will be 0.27 when this release moves out of
beta.

Blair

> Erik Melander wrote:
> 
> Oddly I noticed that the version number at the bottom of my Orca main page is
> at 0.264 whereas I
> could have sworn that I compiled the latest version.  Did I make a mistake
> (twice!) when compiling
> Orca or is Orca not reporting the proper version?  If I have made a mistake
> then that would explain
> the defunct process problem ...
> 
> Thanks
> 
>      -----Original Message-----
>      From: Blair Zajac [mailto:blair at orcaware.com]
>      Sent: Wednesday, October 10, 2001 3:37 PM
>      To: orca-discuss at yahoogroups.com
>      Subject: Re: [orca-discuss] Accumulation of orca defunct processes
>      over time.
> 
>      Well, at this point I think you'll have to look into Orca itself and
>      see
>      if you can determine the problem and solution.  Maybe the patch
>      didn't work
>      correctly that should have solved this problem.
> 
>      The place to debug is in lib/Orca/SourceFile.pm around the end of
>      the file:
> 
>        } elsif ($file_status == -1 or
>                 $close_once_done   or
>                 $self->[I_REOPEN]  or
>                 $open_file_cache->is_pipe($fid)) {
>          $open_file_cache->close($fid) or
>            warn "$0: warning: cannot close `$sfile_fids[$fid]' for
>      reading: $!\n";
>        }
> 
>      The other place to look at is in lib/Orca/OpenFileHash.pm and the
>      variable
>      is_pipe.
> 
>      Blair
> 
>      > Erik Melander wrote:
>      >
>      > I am at version 0.27b2 (sorry for not mentioning it).  In fact I
>      uninstalled
>      > everything, and reinstalled v0.27b2
>      > and get the same errors.
>      >
>      >      -----Original Message-----
>      >      From: Blair Zajac [mailto:blair at orcaware.com]
>      >      Sent: Wednesday, October 10, 2001 1:28 PM
>      >      To: orca-discuss at yahoogroups.com
>      >      Subject: Re: [orca-discuss] Accumulation of orca defunct
>      processes
>      >      over time.
>      >
>      >      Upgrade to Orca 0.27b2, it fixes this bug.
>      >
>      >              * lib/Orca/SourceFile.pm: To fix a bug where Orca
>      would
>      >      leave
>      >                around many defunct bunzip2, gunzip or uncompress
>      >      processes
>      >                when reading compressed input data files.  Now when
>      >                load_new_data has reached the end of the input data
>      file,
>      >                use the new OpenFileHash->is_pipe method to
>      determine if
>      >      the
>      >                file descriptor was opened with a bunzip2, gunzip
>      or
>      >                uncompress pipe, and if so, close the file
>      descriptor,
>      >      since
>      >                there cannot be anyway for additional data to
>      appear after
>      >      a
>      >                pipe has been closed.  This will close and remove
>      the
>      >                defunct processes from the system.
>      >
>      >      Blair
>      >
>      >      > Erik Melander wrote:
>      >      >
>      >      > The orca process is running on a RedHat 7.1 box with the
>      base Perl
>      >      rpm
>      >      > installed (v. 5.6.0-12).  Over
>      >      > time I accumulate approximately 5 to 8 defunct orca
>      processes a
>      >      day.  Any
>      >      > ideas how to debug this
>      >      > one?
> 
> 
>                    Yahoo! Groups Sponsor
>                           [Image]
> 
> 



More information about the Orca-users mailing list