By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,286 Members | 1,290 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,286 IT Pros & Developers. It's quick & easy.

Who's using DB2?

P: n/a
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
Share this Question
Share on Google+
11 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.