473,761 Members | 1,764 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

db2diag.log not writing

We are on IBM DB2 7.1 ON WINDOWS. The db2diag.log is not working and
no new line written into it for few days. The last lines in
db2diag.log shows:

Warning: active log held by dirty pages.
Decrease softmax and/or increase num_iocleaners.
repeatedly . What is the problem? How can resolve it quickly? The
applicatipna dnLDAP is up and running though.

Please advise
Nov 12 '05 #1
7 7531

"Shawn" <fa************ ***@yahoo.com> wrote in message
news:ab******** *************** ***@posting.goo gle.com...
We are on IBM DB2 7.1 ON WINDOWS. The db2diag.log is not working and
no new line written into it for few days. The last lines in
db2diag.log shows:

Warning: active log held by dirty pages.
Decrease softmax and/or increase num_iocleaners.
repeatedly . What is the problem? How can resolve it quickly? The
applicatipna dnLDAP is up and running though.

If you click on Start/Programs/IBM DB2/Information/DB2 Information, you
should get a combined book index and search engine. Go to the search engine
and enter "num_iocleaners " (without the quotes) and click the Search button.
Assuming your documentation is similar to mine - I'm running DB2 V7.2, FP9 -
your first hit should be an article in the Administration Guide called
"Managing the Database Buffer Pool". If you read that, you will get a good
explanation of what is happening within your system; "dirty pages",
"num_iocleaners ", and "softmax" are all explained.

You haven't said what level of experience you or your shop have had with DB2
so I'm going to take a wild guess that you don't have a lot of experience.
(Forgive me if I've guessed wrong!). Is it possible that your applications
haven't issued a COMMIT in a while? That would be the most obvious reason
why you have too many dirty pages. Remember, your applications need to issue
COMMIT statements occasionally to confirm to DB2 that you really want to
keep the updates, inserts and deletes you've been making; otherwise, DB2
only makes the changes in the applications work area and the bufferpool but
doesn't make them to the database proper in case you want to ROLLBACK (undo)
the changes. This causes an accumulation of dirty pages (data that has been
changed but not committed) which will eventually bring the system to its
knees if not handled.

Please note that there are a variety of events which cause COMMITs to happen
other than explicit COMMIT statements within your applications. For example,
a program that ends normally will issue its own commit automatically.
However, you could have a situation where a program is stuck for some
reason - waiting for input? waiting for a file to be released? - that has
kept it from getting to the end. Therefore, waiting until the automatic
COMMIT point may not be an option for you. Or maybe it is; if you give the
input or file the application is waiting for, you may solve the problem.

It is also possible that you have misconfigured NUM_IOCLEANERS or SOFTMAX so
that they aren't appropriate for your system. Both are parameters associated
with a specific database - as opposed to DB2 in its entirety - so you can
see your values with the command:

db2 get db config for <database-name> | more

You can issue this command from a DB2 Command Window. Then, if the values
are inappropriate (the article I mentioned should help you set appropriate
values), you can modify the values with the UPDATE DB CONFIG command. For
example:

db2 update db config for <database-name> using softmax 150

[See the Command Reference for details of the GET DATABASE CONFIGURATION and
UPDATE DATABASE CONFIGURATION commands.]

Rhino
Nov 12 '05 #2
Shawn wrote:
We are on IBM DB2 7.1 ON WINDOWS. The db2diag.log is not working and
no new line written into it for few days. The last lines in
db2diag.log shows:

Warning: active log held by dirty pages.
Decrease softmax and/or increase num_iocleaners.
repeatedly . What is the problem? How can resolve it quickly? The
applicatipna dnLDAP is up and running though.


What's your setting for the DBM CFG parameter named DIAGLEVEL? The default
is 3.

db2 get dbm cfg | more

Also, do you have enough disk space on the file system where the db2diag.log
is supposed to be written to? If the disk is full, db2 can't append to the
db2diag.log.

--
Knut Stolze
Information Integration
IBM Germany / University of Jena
Nov 12 '05 #3
Knut Stolze <st****@de.ibm. com> wrote in message news:<cf******* ***@fsuj29.rz.u ni-jena.de>...
Shawn wrote:
We are on IBM DB2 7.1 ON WINDOWS. The db2diag.log is not working and
no new line written into it for few days. The last lines in
db2diag.log shows:

Warning: active log held by dirty pages.
Decrease softmax and/or increase num_iocleaners.
repeatedly . What is the problem? How can resolve it quickly? The
applicatipna dnLDAP is up and running though.


What's your setting for the DBM CFG parameter named DIAGLEVEL? The default
is 3.

db2 get dbm cfg | more

Also, do you have enough disk space on the file system where the db2diag.log
is supposed to be written to? If the disk is full, db2 can't append to the
db2diag.log.


Is there a set of commands that will force db2 to write some
information in the db2diag.log.
Nov 12 '05 #4
In article <d8************ **************@ posting.google. com>, Ali
Zaidi (sm****@hotmail .com) says...

Is there a set of commands that will force db2 to write some
information in the db2diag.log.


Stop and start the instance
Nov 12 '05 #5
The problem is I don't want to shutdown the DB2 and want the
db2diag.log again become active.

How Can I test to see if nothing write into it? Any harmless command
that add one line to db2diag?

I have enough space is hard, no problem with that.

The db2diag.log is seems freeze with the message I mentioned. i.e.
Warning: active log held by dirty pages.> > > Decrease softmax and/or
increase num_iocleaners

Please advise some solution to reactivate it
sm****@hotmail. com (Ali Zaidi) wrote in message news:<d8******* *************** ****@posting.go ogle.com>...
Knut Stolze <st****@de.ibm. com> wrote in message news:<cf******* ***@fsuj29.rz.u ni-jena.de>...
Shawn wrote:
We are on IBM DB2 7.1 ON WINDOWS. The db2diag.log is not working and
no new line written into it for few days. The last lines in
db2diag.log shows:

Warning: active log held by dirty pages.
Decrease softmax and/or increase num_iocleaners.
repeatedly . What is the problem? How can resolve it quickly? The
applicatipna dnLDAP is up and running though.


What's your setting for the DBM CFG parameter named DIAGLEVEL? The default
is 3.

db2 get dbm cfg | more

Also, do you have enough disk space on the file system where the db2diag.log
is supposed to be written to? If the disk is full, db2 can't append to the
db2diag.log.


Is there a set of commands that will force db2 to write some
information in the db2diag.log.

Nov 12 '05 #6
Ian
Shawn wrote:
The problem is I don't want to shutdown the DB2 and want the
db2diag.log again become active.

How Can I test to see if nothing write into it? Any harmless command
that add one line to db2diag?

I have enough space is hard, no problem with that.

The db2diag.log is seems freeze with the message I mentioned. i.e.
Warning: active log held by dirty pages.> > > Decrease softmax and/or
increase num_iocleaners

Please advise some solution to reactivate it


You could:

1) Use LOAD on a table
2) Backup or restore a database
3) Create a situation that generates lock escalation
4) Cause a deadlock

All three can be done without disrupting your application (be careful
if you try #3, though).


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Nov 12 '05 #7
Ian
Shawn wrote:
We are on IBM DB2 7.1 ON WINDOWS. The db2diag.log is not working and
no new line written into it for few days. The last lines in
db2diag.log shows:

Warning: active log held by dirty pages.
Decrease softmax and/or increase num_iocleaners.
repeatedly . What is the problem? How can resolve it quickly? The
applicatipna dnLDAP is up and running though.

Please advise


No news is good news!

If you really think there is a problem, try doing one of the steps I
suggested in a previous note regarding this topic, they will generate
entries in the db2diag.log.

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Nov 12 '05 #8

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

Similar topics

3
3467
by: richardshen | last post by:
Instead of watching it manually.
2
2412
by: soccertl | last post by:
I wrote code that parses the db2diag.log to look for errors that would require us to generate a message to a service center indicating something is wrong. My problem is trying to figure out what the errors are. From studying the log, I noticed the codes on the first line after the date/time are all the same for the same message. For example: 2005-11-17-09.55.31.988098-420 E5537C330 LEVEL: Error (OS) PID : 21700 ...
4
7354
by: Praveen_db2 | last post by:
Hi All I am getting strange errors in my db2diag.log can any one tell me what these errors mean?? Following is the code from my db2diag.log ********************************************************************************************* 2006-02-23-17.53.12.253000 Instance:DB2 Node:000 PID:1600(db2syscs.exe) TID:440 Appid:AC10E010.J70A.00E883122250 base sys utilities sqleagnt_sigsegvh Probe:1 Database:DEVM_DB Error in agent...
14
3537
by: Gio Galma | last post by:
how I can invoke the db2diag utility in a Windows environment? in my D:\Program Files\IBM\SQLLIB\BIN directory I can see only db2diag.dll, and it seems there isn't the command line version; which is the DB2 tool that uses this dll, in order to analyze the db2diag.log? thank you in advance for help (and please, excuse my bad english) Jo --
1
5819
by: oddbande | last post by:
We have just upgraded a test enviroment to db2 9, and have set both the notifylevel and diaglevel to 3. But even so I get a lot of these messages in my db2diag.log: 2006-11-02-00.10.11.951000+060 I326548H465 LEVEL: Info PID : 3008 TID : 4072 PROC : db2dasstm.exe INSTANCE: DB2 NODE : 000 APPID : *LOCAL.DB2.061101231048 FUNCTION: DB2 UDB, DRDA Communication Manager, sqljcReceive,...
5
3223
by: Norm | last post by:
Does anyone have any suggestions for securing against this vulnerability: http://nvd.nist.gov/nvd.cfm?cvename=CVE-2007-1027 Fixes are not yet available from IBM. They will be in FP2 for V9 and FP15 for V8. Would changing the permissions on the db2dump directory so that only instance owner has access be enough?
6
5612
by: KG | last post by:
Hi, Does anyone knows how to recover the test file db2diag.log. By mistake I have delete the contents of db2diag.log, wondering if I could restore the contents of my db2diag.log.
0
2307
by: eddy82 | last post by:
Hi All, I have this db2start in my db2diag.log everyday around the same time. But no db2stop in the db2diag.log or in the db2.nfy. I already check and no corruption or cronjob running during that time. However when i check the db up time, it is different from the one specified in the db2diag.log. So i suspect, the db2start didn't ran, but it still appear in the db2diag.log. Anyone here got encounter this issue before? Could this be a bug?...
4
7341
by: eddy82 | last post by:
Hi DB2 Gurus, I just want to clarify, does the db2diag.log capture a deadlock error? SQL911 with code 2 and 68. I am using db2 V9.1 FP 5 running in RHEL4. I have done a simulation to the deadlock and locktimeout, however, the error didn't report to the db2diag.log. I am using DIAGLEVEL 3. Is this expected? Or it should be reported in my db2diag.log? I have enable the stmt and lock, stmt and timestamp monitor switches. Is there any...
0
9377
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9989
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9811
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8814
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7358
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6640
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5405
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3913
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3509
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.