The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
High CPU activity running Oracle stocksj UNIX and Linux Applications 4 3 Weeks Ago 07:00 AM
how to log DNS activity? mbak AIX 3 02-13-2008 11:39 AM
activity on a file Terrible Shell Programming and Scripting 2 08-13-2006 05:10 PM
Sun: High kernel usage & very high load averages lorrainenineill UNIX for Advanced & Expert Users 4 02-06-2006 08:32 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-04-2008
Registered User
 

Join Date: Jul 2004
Location: Mexico
Posts: 95
Aix high cpu activity

Hello everyone

I have this process running on my server.

topas command

User 98.6 |############################

I have this process

Name PID CPU% PgSp Owner
db2fm 565264 25.6 1.5 ldapdb2
db2fm 348328 23.6 1.5 idsldap
db2fm 491706 20.5 1.5 idsldap
db2fm 594162 16.4 1.5 ldapdb2

My question is What can I check to see what's causing this high CPU activity.

This server always on almost 100% cpu use.

The database process is taking all the cpu. which command i neeed to see if I have more than one database.

or if I can see that there is a zombie process. I want to fix it the high cpu activity but dont mess up.


Thanks for your tips
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 07-07-2008
Registered User
 

Join Date: Sep 2007
Location: Koblenz, Germany
Posts: 571
Quote:
I have this process

Name PID CPU% PgSp Owner
db2fm 565264 25.6 1.5 ldapdb2
db2fm 348328 23.6 1.5 idsldap
db2fm 491706 20.5 1.5 idsldap
db2fm 594162 16.4 1.5 ldapdb2

My question is What can I check to see what's causing this high CPU activity.
You already gave yourself the answer. I am sorry to say, but since you don't know how to check which DBs are running on that system, I doubt you can find any performance problems inside DB2 that easy.

To see which DBs are there, connect to the instance and do a
Code:
list db directory
Since those processes you listed have "ldap" in their names, it would make things easier, if you explain what this DB is used for and what those users are doing.
But I guess it goes more into DB2/LDAP than into AIX itself. Else you might post some rows of vmstat, iostat and vmstat -v while these problems occure.
Reply With Quote
  #3 (permalink)  
Old 07-10-2008
Registered User
 

Join Date: Dec 2006
Posts: 21
It's your LDAP DB2 instance is using so much.. thats kind of strange... hw many DB instances you have? You can use:

Code:
$DB2_INSTALL_DIR/instance/db2ilist
to find the instances..

How many db2 agents running?
Reply With Quote
  #4 (permalink)  
Old 07-10-2008
Registered User
 

Join Date: Dec 2007
Posts: 208
This process is not a instance process. That looks like the db2fm command and is used to configure the DB2 fault monitor.

can you paste in (please use the code tags for the output)


Code:
ps -u idsldap -f
ps -u ldapdb2 -f
Reply With Quote
  #5 (permalink)  
Old 07-11-2008
Registered User
 

Join Date: Dec 2006
Posts: 21
I had this problem before, I remember. And yes, this is the way you fix it basically...

Fault Monitor processes is not required in normal cases. you can disable fm as the method specified in this page:

IBM - IY64683: DB2FM (FAULT MONITOR) RESPONSIBLE FOR HIGH CPU USAGE ON THE SYSTEM

What version db2 you care using? This is already a bug identified in version 8.1 FP6 and FP8. Give a try.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:27 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0