Re: Why does olsnodes generate and read logs in $CRSHOME/log/$node/client

  • From: "LS Cheng" <exriscer@xxxxxxxxx>
  • To: sacrophyte@xxxxxxxxx
  • Date: Fri, 25 Jul 2008 09:50:08 +0200

Hi

5187531 but it's fixed in 10.2.0.3 so your case is probably something else

--
LSC


On 7/24/08, Charles Schultz <sacrophyte@xxxxxxxxx> wrote:
>
> Interesting. What was the bug number? We are running OSEE 10.2.0.3 (CRS,
> ASM + DB) on RHEL 4.
>
> On Thu, Jul 24, 2008 at 1:59 AM, LS Cheng <exriscer@xxxxxxxxx> wrote:
>
>> Hi
>>
>> There was a bug in 10.2.0.2 which cuase crs commands run reallys low when
>> $CRS_HOME/log/$HOSTNAME/client is full of files not sure if that is yur
>> case?
>>
>> Thanks
>>
>> --
>> LSC
>>
>>
>>  On Wed, Jul 23, 2008 at 8:53 PM, Charles Schultz <sacrophyte@xxxxxxxxx>
>> wrote:
>>
>>
>>> Good day, list,
>>>
>>> We use olsnodes in oraenv to set the ORACLE_SID. I have seen other
>>> implementations of setting the ORACLE_SID in oraenv, but I am asking
>>> specifically about olsnodes and how it works. Looking at the readable,
>>> non-binary olsnodes, I see that it calls olsnodes.bin. I am not very
>>> versatile with debuggers or decompilers, but I do see the documentation has
>>> a brief synopsis for syntax. Nothing about the syntax suggests that I would
>>> be generating a log file each time we use olsnnodes, nor that olsnodes would
>>> be scanning the entire $CRSHOME/log/$node/client directory each time it is
>>> run. We have observed that olsnodes has become slower and slower, and
>>> finally noticed that this directory has 65,000 files in it. Is there
>>> supposed to be a job to clean those up? Why are there at all, and why is
>>> olsnodes scanning the directory? The only reason I found this directory was
>>> doing an strace (linux) on olsnodes and seeing an entry like the following
>>> for each file:
>>>
>>> access("/u01/app/oracle/product/crs/log/urbdb1/client/css551.log", F_OK)
>>> = 0
>>> getcwd("/u01/app/oracle/local/bin", 4096) = 26
>>> chdir("/u01/app/oracle/product/crs/log/db1/client") = 0
>>> getcwd("/u01/app/oracle/product/crs/log/urbdb1/client", 4096) = 46
>>> chdir("/u01/app/oracle/local/bin")      = 0
>>> mmap(NULL, 143360, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
>>> 0) = 0x2a97790000
>>> munmap(0x2a97790000, 143360)            = 0
>>>
>>>
>>>
>>> --
>>> Charles Schultz
>>>
>>
>>
>>
>
>
>
> --
> Charles Schultz
>
>

Other related posts: