473,406 Members | 2,698 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Who's using DB2?

Hi All,

I have DB2 v8 server installed in Solaris9. The instance db2inst1 is a
server instance and as a client to connect to the other remote
server.

Today I notice 2 DB2 processes(db2fm) are using 50% CPU resource, how
can I know who is using the DB2?

Thanks a lot.

Feb 7 '07 #1
11 1903
from a db2inst1 command window try:
db2 list applications

Phil Sherman
Tony wrote:
Hi All,

I have DB2 v8 server installed in Solaris9. The instance db2inst1 is a
server instance and as a client to connect to the other remote
server.

Today I notice 2 DB2 processes(db2fm) are using 50% CPU resource, how
can I know who is using the DB2?

Thanks a lot.
Feb 7 '07 #2
On Feb 7, 10:27 am, Phil Sherman <psher...@ameritech.netwrote:
from a db2inst1 command window try:
db2 list applications

Phil Sherman
Thanks Phil for your reply. I run the command and it shows the
message :" SQL1032N No start database manager command was issued.
SQLSTATE=57019"

I stoped the instance(db2stop) and the processes(db2fm) still use 50%
CPU. So I think some applications maight be using the client to
connect to the other DB2 server.

But my questions now are, why the DB2 client can using so much CPU
resources? how can I know who is using the client or which
applications are using the client?

Feb 7 '07 #3
Tony wrote:
On Feb 7, 10:27 am, Phil Sherman <psher...@ameritech.netwrote:
>from a db2inst1 command window try:
db2 list applications

Phil Sherman
Thanks Phil for your reply. I run the command and it shows the
message :" SQL1032N No start database manager command was issued.
SQLSTATE=57019"

I stoped the instance(db2stop) and the processes(db2fm) still use 50%
CPU. So I think some applications maight be using the client to
connect to the other DB2 server.

But my questions now are, why the DB2 client can using so much CPU
resources? how can I know who is using the client or which
applications are using the client?
Whenever I see "round" CPU numbers I suspect runaway processes. I
suppose this is a 2-way or 4 way box? If DB2 isn't even started then
it's an open and shut case force them off.

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Feb 7 '07 #4
On Feb 7, 11:00 am, Serge Rielau <srie...@ca.ibm.comwrote:
Tony wrote:
On Feb 7, 10:27 am, Phil Sherman <psher...@ameritech.netwrote:
from a db2inst1 command window try:
db2 list applications
Phil Sherman
Thanks Phil for your reply. I run the command and it shows the
message :" SQL1032N No start database manager command was issued.
SQLSTATE=57019"
I stoped the instance(db2stop) and the processes(db2fm) still use 50%
CPU. So I think some applications maight be using the client to
connect to the other DB2 server.
But my questions now are, why the DB2 client can using so much CPU
resources? how can I know who is using the client or which
applications are using the client?

Whenever I see "round" CPU numbers I suspect runaway processes. I
suppose this is a 2-way or 4 way box? If DB2 isn't even started then
it's an open and shut case force them off.

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab- Hide quoted text -

- Show quoted text -
Hi Serge,

I know what's the meaning of " 2-way or 4 way box". Do you mean I just
kill the 2 processes?

Thanks.

Feb 7 '07 #5
Oh, please help!

After I kill the 2 db2fm processes, I restart the instance(db2start).
After a while, the db2fm comes back again, using 25% CPU.

Why and how can I prevent this happened?

Thank you very much!

Feb 7 '07 #6
On Feb 7, 11:40 am, "Tony" <tonyedr...@gmail.comwrote:
Oh, please help!

After I kill the 2 db2fm processes, I restart the instance(db2start).
After a while, the db2fm comes back again, using 25% CPU.

Why and how can I prevent this happened?

Thank you very much!
OK, I found the reason. It's DB2's bug which the db2fm caused this
problem.

Feb 7 '07 #7
On Feb 7, 11:14 am, "Tony" <tonyedr...@gmail.comwrote:
On Feb 7, 11:40 am, "Tony" <tonyedr...@gmail.comwrote:
Oh, please help!
After I kill the 2 db2fm processes, I restart the instance(db2start).
After a while, the db2fm comes back again, using 25% CPU.
Why and how can I prevent this happened?
Thank you very much!

OK, I found the reason. It's DB2's bug which the db2fm caused this
problem.
db2fm is a fault-monitor process to improve the availiablity on non-
clustered environment. It should be turned off in HACMP environment.
DB2 daemon process will restart it if it terminates abnormally. The
settings can be changed using db2fm command.

Jai

Feb 7 '07 #8
aj
sj*******@gmail.com wrote:
On Feb 7, 11:14 am, "Tony" <tonyedr...@gmail.comwrote:
>On Feb 7, 11:40 am, "Tony" <tonyedr...@gmail.comwrote:
>>Oh, please help!
After I kill the 2 db2fm processes, I restart the instance(db2start).
After a while, the db2fm comes back again, using 25% CPU.
Why and how can I prevent this happened?
Thank you very much!
OK, I found the reason. It's DB2's bug which the db2fm caused this
problem.

db2fm is a fault-monitor process to improve the availiablity on non-
clustered environment. It should be turned off in HACMP environment.
DB2 daemon process will restart it if it terminates abnormally. The
settings can be changed using db2fm command.
Jai
Can you be a bit more specific about what db2fm does? I know that DB2
daemon process will restart it if it terminates abnormally, but what
exactly does db2fm itself do?

I have DB2 LUW 8.2 FP14.

If my instance crashes, will db2fm restart it? What does it monitor?
What will it restart? What faults does it monitor?

TIA

aj


Feb 7 '07 #9
On Feb 7, 2:27 pm, aj <ron...@mcdonalds.comwrote:
sjaiku...@gmail.com wrote:
On Feb 7, 11:14 am, "Tony" <tonyedr...@gmail.comwrote:
On Feb 7, 11:40 am, "Tony" <tonyedr...@gmail.comwrote:
>Oh, please help!
After I kill the 2 db2fm processes, I restart the instance(db2start).
After a while, the db2fm comes back again, using 25% CPU.
Why and how can I prevent this happened?
Thank you very much!
OK, I found the reason. It's DB2's bug which the db2fm caused this
problem.
db2fm is a fault-monitor process to improve the availiablity on non-
clustered environment. It should be turned off in HACMP environment.
DB2 daemon process will restart it if it terminates abnormally. The
settings can be changed using db2fm command.
Jai

Can you be a bit more specific about what db2fm does? I know that DB2
daemon process will restart it if it terminates abnormally, but what
exactly does db2fm itself do?

I have DB2 LUW 8.2 FP14.

If my instance crashes, will db2fm restart it? What does it monitor?
What will it restart? What faults does it monitor?

TIA

aj- Hide quoted text -

- Show quoted text -
Yes, if DB2 instance exists prematurely, the fault monitor will
restart it. Read this tutorial for details.

http://publib.boulder.ibm.com/infoce...n/c0008221.htm

Jai

Feb 7 '07 #10
On Feb 7, 2:27 pm, sjaiku...@gmail.com wrote:
On Feb 7, 11:14 am, "Tony" <tonyedr...@gmail.comwrote:
On Feb 7, 11:40 am, "Tony" <tonyedr...@gmail.comwrote:
Oh, please help!
After I kill the 2 db2fm processes, I restart the instance(db2start).
After a while, the db2fm comes back again, using 25% CPU.
Why and how can I prevent this happened?
Thank you very much!
OK, I found the reason. It's DB2's bug which the db2fm caused this
problem.

db2fm is a fault-monitor process to improve the availiablity on non-
clustered environment. It should be turned off in HACMP environment.
DB2 daemon process will restart it if it terminates abnormally. The
settings can be changed using db2fm command.

Jai
The db2fm command doesn't work. No matter I used "db2fm -f off" or
"db2fm -K", when I restart instance, the db2fm process runs
automaticly.

Feb 7 '07 #11
On Feb 7, 3:41 pm, "Tony" <tonyedr...@gmail.comwrote:
On Feb 7, 2:27 pm, sjaiku...@gmail.com wrote:


On Feb 7, 11:14 am, "Tony" <tonyedr...@gmail.comwrote:
On Feb 7, 11:40 am, "Tony" <tonyedr...@gmail.comwrote:
Oh, please help!
After I kill the 2 db2fm processes, I restart the instance(db2start).
After a while, the db2fm comes back again, using 25% CPU.
Why and how can I prevent this happened?
Thank you very much!
OK, I found the reason. It's DB2's bug which the db2fm caused this
problem.
db2fm is a fault-monitor process to improve the availiablity on non-
clustered environment. It should be turned off in HACMP environment.
DB2 daemon process will restart it if it terminates abnormally. The
settings can be changed using db2fm command.
Jai

The db2fm command doesn't work. No matter I used "db2fm -f off" or
"db2fm -K", when I restart instance, the db2fm process runs
automaticly.- Hide quoted text -

- Show quoted text -
try this..

db2fm -i <db2instance_name-f no

Jai

Feb 7 '07 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

28
by: grahamd | last post by:
Who are the appropriate people to report security problems to in respect of a module included with the Python distribution? I don't feel it appropriate to be reporting it on general mailing lists.
59
by: Mason A. Clark | last post by:
Is there information content in this observation? use html tables for layout: http://www.microsoft.com and http://www.netscape.com uses styles: http://www.opera.com
383
by: John Bailo | last post by:
The war of the OSes was won a long time ago. Unix has always been, and will continue to be, the Server OS in the form of Linux. Microsoft struggled mightily to win that battle -- creating a...
119
by: rhat | last post by:
I heard that beta 2 now makes ASP.NET xhtml compliant. Can anyone shed some light on what this will change and it will break stuff as converting HTML to XHTML pages DO break things. see,...
2
by: MS | last post by:
A 97 What's a quick way of determining who's using a FE/BE database at any given time? I'd like to display this info on the main form. I've tried reading the .ldb file and putting the...
14
by: Salad | last post by:
I've always thought that the talking heads, the people that write Access mags, the "gurus" that tout themselves as being the true masters of Access tell MS what they want. How does a lowly...
24
by: Victor Eijkhout | last post by:
The authors of lapack/scalapack are starting to work on a new release of these packages. One of the things we want to address is the sillyness that C users, instead of linking to the binaries of...
5
by: Steph | last post by:
Hi, I would like to be able to know who is actually connected on the website i am creating. The users are stored in a sql server table (to enter, they have to be identified on the login.aspx...
7
by: clintonG | last post by:
To all Microsoft partners and customers who have been unable to download recently or access ASP.NET documentation from the msdn2 website and for all of those customers who have been lied to and...
12
by: Stephany Young | last post by:
For those who are interseted and especially for Tom Leylan and RobinS who both asked. My experience of Vista thus far has been nothing less than favourable. We have just completed an exercise...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.