473,467 Members | 1,577 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

db2event => db2detaildeadlock, useless entry every 8 seconds fills mydatabase creating errors

I use db2 9 express-c

Hi... I'm having that problem...
.....every less-than-10-seconds, a entry like that (I displayed that
entry with the command db2evmon -db 'MYDATABASE' -evm
'DB2DETAILDEADLOCK' ):
Database Name: MYDATABASE
Database Path: /home/db2inst1/db2inst1/NODE0000/SQL00003/
First connection timestamp: 19/11/2007 12:57:28.850635
Event Monitor Start time: 19/11/2007 12:57:28.962415

Is stored in the DB2DETAILDEADLOCK table...

That causes, when the database reach his maximum filesize (default
from db2 is 50 Mb) a lot of errors in the main db2diag.log.
(The errors are DIA8052C ...."monitor full of data").

Temporarily, I resolved the problem moving the files inside the /
db2event/db2detaildeadlock/ folder in another folder, and db2 created
another database immediatly starting again to fill it with useless
entrys.

How can I avoid him to write that thing thousand times a day?

Thank you.
Nov 19 '07 #1
3 5871
Ian
Nokao wrote:
I use db2 9 express-c

Hi... I'm having that problem...
....every less-than-10-seconds, a entry like that (I displayed that
entry with the command db2evmon -db 'MYDATABASE' -evm
'DB2DETAILDEADLOCK' ):
Database Name: MYDATABASE
Database Path: /home/db2inst1/db2inst1/NODE0000/SQL00003/
First connection timestamp: 19/11/2007 12:57:28.850635
Event Monitor Start time: 19/11/2007 12:57:28.962415

Is stored in the DB2DETAILDEADLOCK table...

That causes, when the database reach his maximum filesize (default
from db2 is 50 Mb) a lot of errors in the main db2diag.log.
(The errors are DIA8052C ...."monitor full of data").

Temporarily, I resolved the problem moving the files inside the /
db2event/db2detaildeadlock/ folder in another folder, and db2 created
another database immediatly starting again to fill it with useless
entrys.

How can I avoid him to write that thing thousand times a day?
This is happening because the database is being activated and
deactivated very frequently.

Normally DB2 will automatically activate a database (allocate
memory for bufferpools, etc.) when the first application connects
to the database, and deactivate it (release memory) after the last
application disconnects.

Database activation also results in an event for the default
DB2DETAILDEADLOCK event monitor, which is the source of your
complaint.

So, you have 2 options:

1) Activate your database explicitly using the ACTIVATE DATABASE
command

2) Drop the DB2DETAILDEADLOCK event monitor.

Nov 19 '07 #2
On 19 Nov, 22:16, Ian <ianb...@mobileaudio.comwrote:
Nokao wrote:
I use db2 9 express-c
Hi... I'm having that problem...
....every less-than-10-seconds, a entry like that (I displayed that
entry with the command db2evmon -db 'MYDATABASE' -evm
'DB2DETAILDEADLOCK' ):
Database Name: MYDATABASE
Database Path: /home/db2inst1/db2inst1/NODE0000/SQL00003/
First connection timestamp: 19/11/2007 12:57:28.850635
Event Monitor Start time: 19/11/2007 12:57:28.962415
Is stored in the DB2DETAILDEADLOCK table...
That causes, when the database reach his maximum filesize (default
from db2 is 50 Mb) a lot of errors in the main db2diag.log.
(The errors are DIA8052C ...."monitor full of data").
Temporarily, I resolved the problem moving the files inside the /
db2event/db2detaildeadlock/ folder in another folder, and db2 created
another database immediatly starting again to fill it with useless
entrys.
How can I avoid him to write that thing thousand times a day?

This is happening because the database is being activated and
deactivated very frequently.

Normally DB2 will automatically activate a database (allocate
memory for bufferpools, etc.) when the first application connects
to the database, and deactivate it (release memory) after the last
application disconnects.

Database activation also results in an event for the default
DB2DETAILDEADLOCK event monitor, which is the source of your
complaint.

So, you have 2 options:

1) Activate your database explicitly using the ACTIVATE DATABASE
command

2) Drop the DB2DETAILDEADLOCK event monitor.
Wow, that's an Answer ;)

Thank to you, I understood that the problem is for sure the php
website that is using DB2, through the ODBC driver.

Probably, there is some configuration for the ODBC driver to keep the
connection alive someway... but I suppose that also the website have
to be changed for re-use the connection.

If you have further informations about it, give them to me.

Otherwise, how can I drop the DB2DETAILDEADLOCK event monitor?
Nov 20 '07 #3
Nokao wrote:
On 19 Nov, 22:16, Ian <ianb...@mobileaudio.comwrote:
>Nokao wrote:
>>I use db2 9 express-c
>>Hi... I'm having that problem...
....every less-than-10-seconds, a entry like that (I displayed that
entry with the command db2evmon -db 'MYDATABASE' -evm
'DB2DETAILDEADLOCK' ):
Database Name: MYDATABASE
Database Path: /home/db2inst1/db2inst1/NODE0000/SQL00003/
First connection timestamp: 19/11/2007 12:57:28.850635
Event Monitor Start time: 19/11/2007 12:57:28.962415
>>Is stored in the DB2DETAILDEADLOCK table...
>>That causes, when the database reach his maximum filesize (default
from db2 is 50 Mb) a lot of errors in the main db2diag.log.
(The errors are DIA8052C ...."monitor full of data").
>>Temporarily, I resolved the problem moving the files inside the /
db2event/db2detaildeadlock/ folder in another folder, and db2
created another database immediatly starting again to fill it with
useless entrys.
>>How can I avoid him to write that thing thousand times a day?

This is happening because the database is being activated and
deactivated very frequently.

Normally DB2 will automatically activate a database (allocate
memory for bufferpools, etc.) when the first application connects
to the database, and deactivate it (release memory) after the last
application disconnects.

Database activation also results in an event for the default
DB2DETAILDEADLOCK event monitor, which is the source of your
complaint.

So, you have 2 options:

1) Activate your database explicitly using the ACTIVATE DATABASE
command

2) Drop the DB2DETAILDEADLOCK event monitor.

Wow, that's an Answer ;)

Thank to you, I understood that the problem is for sure the php
website that is using DB2, through the ODBC driver.

Probably, there is some configuration for the ODBC driver to keep the
connection alive someway... but I suppose that also the website have
to be changed for re-use the connection.

If you have further informations about it, give them to me.

Otherwise, how can I drop the DB2DETAILDEADLOCK event monitor?
You can either deactivate the event monitor via:
db2 "set event monitor DB2DETAILDEADLOCK state 0"
or drop it entirely via:
db2 "drop event monitor DB2DETAILDEADLOCK"

--
Jeroen
Nov 20 '07 #4

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

Similar topics

6
by: hsomob1999 | last post by:
so i have a <ul> and I allow the user to append items to it. The problem is that on mozilla the <span class="line"> which is just a line to divide the sections gets overlaped and doesnt move down...
22
by: Alex Martelli | last post by:
I have fixed almost all of the outstanding bugreports and feature request for gmpy: divm doesn't leak memory any more, truediv and floordiv are implemented for all types, etc -- in the current CVS...
5
by: Ross A. Finlayson | last post by:
Hi, I'm scratching together an Access database. The development box is Office 95, the deployment box Office 2003. So anyways I am griping about forms and global variables. Say for example...
0
by: Bob | last post by:
I'm trying to get a combox in a datagridview to be displaying diffrent filtered data each time it lands on a row. I thought of adding the follwing code as a test. Later I would have verified that...
17
by: roN | last post by:
Hi, I'm creating a Website with divs and i do have some troubles, to make it looking the same way in Firefox and IE (tested with IE7). I checked it with the e3c validator and it says: " This...
22
by: amygdala | last post by:
Hi, I'm trying to grasp OOP to build an interface using class objects that lets me access database tables easily. You have probably seen this before, or maybe even built it yourself at some...
0
by: Gregory Gadow | last post by:
We have a number of development machines in our IT department, all running the same version of VS 2005 sp 1. Our company website and several compiled components were all written in VB.Net 2.0 using...
0
by: Otfrid | last post by:
Hi there. Although I dropped the event monitor db2detaildeadlock I still get the following messages in the db2diag.log: 'MESSAGE : target type 0 failed to open DB2DETAILDEADLOCK with rc...
2
by: Tom | last post by:
I try to do the following: Generate a pooled connection in a web application. I use the following code: In my Global.asax.cs protected void Application_Start(object sender, EventArgs e) {...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
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
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
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...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

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.