Thread: olsnodes - high cpu usage...


Permlink Replies: 4 - Pages: 1 - Last Post: Jun 29, 2009 4:16 AM Last Post By: Surachart Opun ...
johnbishop

Posts: 2
Registered: 12/06/99
olsnodes - high cpu usage...
Posted: Jul 24, 2006 5:54 AM
Click to report abuse...   Click to reply to this thread Reply
We recently (about 6 weeks ago) finialized our RAC install. We are now in production mode.

At first I occassionally would see the olsnodes process come and go with minor spike levels (say 5% every 30 seconds). Lately it has been eating more and more CPU cycles and we are now at 25% constantly.

When I run olsnodes from the command prompt it takes about 8-10 seconds to come back - see below. It find the two nodes and then just hangs there from about 9 out of the 10 seconds.

oracle@NS-I-ORA1 oracle$ time /u01/app/oracle/oracle/product/10.2.0/crs/bin/olsnodes
ns-i-ora1
ns-i-ora2

real 0m10.145s
user 0m5.980s
sys 0m4.170s

Here's my system info

oracle@NS-I-ORA1 oracle$ uname -a
Linux NS-I-ORA1 2.4.21-40.ELsmp #1 SMP Thu Feb 2 22:22:39 EST 2006 i686 i686 i386 GNU/Linux

08:54:27 SQL> select * from v$version
08:54:33 2 /

BANNER


Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Prod
PL/SQL Release 10.2.0.2.0 - Production
CORE 10.2.0.2.0 Production
TNS for Linux: Version 10.2.0.2.0 - Production
NLSRTL Version 10.2.0.2.0 - Production

Anyone run into the same thing? It seemed to have gradually worked it's way up. The second node seems to be doing OK without such dramatic usage. I notice that the pid is constantly changing.

Any help is appreciated...

JB
johnbishop

Posts: 2
Registered: 12/06/99
Re: olsnodes - high cpu usage...
Posted: Jul 26, 2006 12:10 PM   in response to: johnbishop in response to: johnbishop
Click to report abuse...   Click to reply to this thread Reply
We had "emctl start dbconcole" in an init job in Linux. We added a wrapper to check via ps -ef and see if dbconsole was up prior to rerunning a "emctl start dbconcole" command.

CPU consumption dropped immediatly.

JB
ASoucisse

Posts: 5
Registered: 10/31/06
Re: olsnodes - high cpu usage...
Posted: May 5, 2009 6:12 AM   in response to: johnbishop in response to: johnbishop
Click to report abuse...   Click to reply to this thread Reply
Hi.

Take a look at $ORA_CRS_HOME/log/<node>/client.

More you have .log files in this directory, slower is client-based commands such as olsnodes...

You may cron a batch script to clean up this log directory.

Edited by: ASoucisse on May 5, 2009 3:12 PM
grqassim

Posts: 2
Registered: 05/07/08
Re: olsnodes - high cpu usage...
Posted: Jun 29, 2009 12:02 AM   in response to: ASoucisse in response to: ASoucisse
Click to report abuse...   Click to reply to this thread Reply
I have same issue and after I delete the logs response time is 0 sc.

Q. What is the benefit of these logs? and how can I stop generating these logs?
Surachart Opun ...

Posts: 1,469
Registered: 08/09/05
Re: olsnodes - high cpu usage...
Posted: Jun 29, 2009 4:16 AM   in response to: grqassim in response to: grqassim
Click to report abuse...   Click to reply to this thread Reply
When executing olsnodes successfully, it scans $CRS_HOME/log/<node name>/client directory and generates a new cssxxx.log file.

Oracle said:
Remove the log files under $ORA_CRS_HOME/log/<nodename>/client/css*.log in regular intervals with a cronjob.

Unpublished Bug 6004127 has been fixed in 11.1.0.7 and 10.2.0.4 CRS bundle Patch #2 onwards. Bundle Patch information is available
Legend
Guru Guru : 2500 - 1000000 pts
Expert Expert : 1000 - 2499 pts
Pro Pro : 500 - 999 pts
Journeyman Journeyman : 200 - 499 pts
Newbie Newbie : 0 - 199 pts
Oracle ACE Director
Oracle ACE Member
Oracle Employee ACE
Helpful Answer (5 pts)
Correct Answer (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums