473,397 Members | 2,099 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,397 software developers and data experts.

db2diag.log error

I've just noticed the following errors in my db2diag.log file:

2003-07-18-01.29.18.203000-240 E3301H585 LEVEL: Severe (OS)
PID : 1532 TID : 2944 PROC : db2syscs.exe
INSTANCE: DB2 NODE : 000 DB : DBNAME
APPHDL : 0-958 APPID: *LOCAL.DB2.030718052918
FUNCTION: DB2 UDB, oper system services, getPrivateChunksFromOs,
probe:100
CALLED : OS, -, VirtualAlloc
OSERR : 8 "Not enough storage is available to process this command."
MESSAGE : Private memory and/or virtual address space exhausted
DATA #1 : Requested size, PD_TYPE_MEM_REQUESTED_SIZE, 4 bytes
43008000

2003-07-18-01.29.18.265000-240 E3888H585 LEVEL: Severe (OS)
PID : 1532 TID : 2944 PROC : db2syscs.exe
INSTANCE: DB2 NODE : 000 DB : DBNAME
APPHDL : 0-958 APPID: *LOCAL.DB2.030718052918
FUNCTION: DB2 UDB, oper system services, getPrivateChunksFromOs,
probe:100
CALLED : OS, -, VirtualAlloc
OSERR : 8 "Not enough storage is available to process this command."
MESSAGE : Private memory and/or virtual address space exhausted
DATA #1 : Requested size, PD_TYPE_MEM_REQUESTED_SIZE, 4 bytes
43008000

-----------------

I wasn't doing anything specific at the time of the errors [forget the
dates as I was backtesting some apps], I had just finished a database
backup and a db2move, but that had finished around 20 mins before the
two errors occurred.

Can anyone please shed some light on this as I would hate to run into
problems at a more critical juncture.

Win Server 2000, 4 gb mem, DB2 8.2.2 ESE Fp9 applied. With all my
present settings my db2syscs.exe process is hovering around 1725mb of
memory utilized. I have not seen it go beyond that no matter what I do.
I had some earlier problems with over allocating the BP's and crashing
when it blew through the 2gb mark .. Ugh ! Lesson learned there !

Instance memory settings:

MIN_PRIV_MEM = 512
PRIV_MEM_THRESH = 32767

There are no errors in the server OS event viewer so I am at a loss as
to what caused the error and why. Never had the erros before and
haven't changed any instance or database configuration params in ages.

Anyway, any help would be greatly appreciated.

T

Nov 12 '05 #1
5 7759
td******@hotmail.com wrote:
I've just noticed the following errors in my db2diag.log file:

2003-07-18-01.29.18.203000-240 E3301H585 LEVEL: Severe (OS)
PID : 1532 TID : 2944 PROC : db2syscs.exe
INSTANCE: DB2 NODE : 000 DB : DBNAME
APPHDL : 0-958 APPID: *LOCAL.DB2.030718052918
FUNCTION: DB2 UDB, oper system services, getPrivateChunksFromOs,
probe:100
CALLED : OS, -, VirtualAlloc
OSERR : 8 "Not enough storage is available to process this command."
MESSAGE : Private memory and/or virtual address space exhausted
DATA #1 : Requested size, PD_TYPE_MEM_REQUESTED_SIZE, 4 bytes
43008000

2003-07-18-01.29.18.265000-240 E3888H585 LEVEL: Severe (OS)
PID : 1532 TID : 2944 PROC : db2syscs.exe
INSTANCE: DB2 NODE : 000 DB : DBNAME
APPHDL : 0-958 APPID: *LOCAL.DB2.030718052918
FUNCTION: DB2 UDB, oper system services, getPrivateChunksFromOs,
probe:100
CALLED : OS, -, VirtualAlloc
OSERR : 8 "Not enough storage is available to process this command."
MESSAGE : Private memory and/or virtual address space exhausted
DATA #1 : Requested size, PD_TYPE_MEM_REQUESTED_SIZE, 4 bytes
43008000

-----------------

I wasn't doing anything specific at the time of the errors [forget the
dates as I was backtesting some apps], I had just finished a database
backup and a db2move, but that had finished around 20 mins before the
two errors occurred.

Can anyone please shed some light on this as I would hate to run into
problems at a more critical juncture.

Win Server 2000, 4 gb mem, DB2 8.2.2 ESE Fp9 applied. With all my
present settings my db2syscs.exe process is hovering around 1725mb of
memory utilized. I have not seen it go beyond that no matter what I do.
I had some earlier problems with over allocating the BP's and crashing
when it blew through the 2gb mark .. Ugh ! Lesson learned there !

Instance memory settings:

MIN_PRIV_MEM = 512
PRIV_MEM_THRESH = 32767

There are no errors in the server OS event viewer so I am at a loss as
to what caused the error and why. Never had the erros before and
haven't changed any instance or database configuration params in ages.

Anyway, any help would be greatly appreciated.

T

Not knowing Windows in that depth, but one often overlooked problem in
*nix are the memory quotas for the userid under which DB2 runs...
Just a poke in the dark.

Cheers
Serge
--
Serge Rielau
DB2 SQL Compiler Development
IBM Toronto Lab
Nov 12 '05 #2

<td******@hotmail.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
I've just noticed the following errors in my db2diag.log file:

2003-07-18-01.29.18.203000-240 E3301H585 LEVEL: Severe (OS)
PID : 1532 TID : 2944 PROC : db2syscs.exe
INSTANCE: DB2 NODE : 000 DB : DBNAME
APPHDL : 0-958 APPID: *LOCAL.DB2.030718052918
FUNCTION: DB2 UDB, oper system services, getPrivateChunksFromOs,
probe:100
CALLED : OS, -, VirtualAlloc
OSERR : 8 "Not enough storage is available to process this command."
MESSAGE : Private memory and/or virtual address space exhausted
DATA #1 : Requested size, PD_TYPE_MEM_REQUESTED_SIZE, 4 bytes
43008000

2003-07-18-01.29.18.265000-240 E3888H585 LEVEL: Severe (OS)
PID : 1532 TID : 2944 PROC : db2syscs.exe
INSTANCE: DB2 NODE : 000 DB : DBNAME
APPHDL : 0-958 APPID: *LOCAL.DB2.030718052918
FUNCTION: DB2 UDB, oper system services, getPrivateChunksFromOs,
probe:100
CALLED : OS, -, VirtualAlloc
OSERR : 8 "Not enough storage is available to process this command."
MESSAGE : Private memory and/or virtual address space exhausted
DATA #1 : Requested size, PD_TYPE_MEM_REQUESTED_SIZE, 4 bytes
43008000

-----------------

I wasn't doing anything specific at the time of the errors [forget the
dates as I was backtesting some apps], I had just finished a database
backup and a db2move, but that had finished around 20 mins before the
two errors occurred.

Can anyone please shed some light on this as I would hate to run into
problems at a more critical juncture.

Win Server 2000, 4 gb mem, DB2 8.2.2 ESE Fp9 applied. With all my
present settings my db2syscs.exe process is hovering around 1725mb of
memory utilized. I have not seen it go beyond that no matter what I do.
I had some earlier problems with over allocating the BP's and crashing
when it blew through the 2gb mark .. Ugh ! Lesson learned there !


What you're seeing is DB2 attempting to allocate more memory than your
system will allow.
FP9 handles some instances of this error condition more gracefully than
others -- especially when allocating sort memory or dbheap memory. As you
noted, exceeding system limits with bufferpool sizes at startup is not a
pretty picture.

In order to know what is causing this we'd need more specific correlation
between what you were doing at the time of the error. (ie, db2 operations
such as backup/move, specific queries, etc.)

--
Matt Emmerton
Nov 12 '05 #3
Matt Emmerton wrote:

What you're seeing is DB2 attempting to allocate more memory than your
system will allow.
FP9 handles some instances of this error condition more gracefully than
others -- especially when allocating sort memory or dbheap memory. As you
noted, exceeding system limits with bufferpool sizes at startup is not a
pretty picture.

In order to know what is causing this we'd need more specific correlation
between what you were doing at the time of the error. (ie, db2 operations
such as backup/move, specific queries, etc.)

--
Matt Emmerton


Matt, to be honest I wasn't doing anything at the time, I had
successfuly finished a backup and db2move process. The process finished
30 mins prior to the error. It re-occurred over and over every few
hours until I finally stopped and started the instance.

I haven't stopped and started the instance for approx 3 weeks so it
appears to have taken this long before it blew some parameter
somewhere.

Any ideas ?

Nov 12 '05 #4
<td******@hotmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...

Matt, to be honest I wasn't doing anything at the time, I had
successfuly finished a backup and db2move process. The process finished
30 mins prior to the error. It re-occurred over and over every few
hours until I finally stopped and started the instance.

I haven't stopped and started the instance for approx 3 weeks so it
appears to have taken this long before it blew some parameter
somewhere.

Any ideas ?

Memory leaks should not be ruled out, especially on Windows.
Nov 12 '05 #5

"Mark A" <no****@nowhere.com> wrote in message
news:R9********************@comcast.com...
<td******@hotmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...

Matt, to be honest I wasn't doing anything at the time, I had
successfuly finished a backup and db2move process. The process finished
30 mins prior to the error. It re-occurred over and over every few
hours until I finally stopped and started the instance.

I haven't stopped and started the instance for approx 3 weeks so it
appears to have taken this long before it blew some parameter
somewhere.

Any ideas ?

Memory leaks should not be ruled out, especially on Windows.


A good way to track this (and will help convince the DB2 service folks that
you really have a memory leak problem) is to take database snapshots [ db2
get snapshot for database <dbname> ] on a regular basis -- on your system,
every hour or two would probably be sufficient, especially since it takes 3
weeks for you to hit a critical error condition.

A database snapshot will show the size of every memory pool that has been
allocated, including the current allocation level and high-water-mark
levels. If this really is a memory leak, then we should see the current
allocation in some pools increasing over time. My guess is that the problem
memory pool will be the "database heap" (aka dbheap or dbh).

--
Matt Emmerton


Nov 12 '05 #6

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

Similar topics

3
by: Odd Bjørn Andersen | last post by:
Every night at 21.30 we perform a full offline database backup. Just before the backup starts we do a db2stop/db2start. After the db2stop there is a message in the db2diag.log, and after the backup...
7
by: Shawn | last post by:
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....
2
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...
0
by: Odd Bjørn Andersen | last post by:
Every time a task is run from the Task Center I get this error message in the db2diag.log: 2006-02-15-00.25.07.953000+060 I2H188 LEVEL: Error PID : 2880 TID :...
2
by: Odd Bjørn Andersen | last post by:
When I run a backup script from the Task Center i get these messages: 2006-02-15-21.30.08.515000+060 E21985H390 LEVEL: Error PID : 2408 TID : 3416 PROC :...
4
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...
6
by: dunleav1 | last post by:
I have the following message in my db2diag.log file repeating every minute. Does anyone know what the error is ? 2006-07-10-10.27.08.921000-240 I95651H390 LEVEL: Error PID : 3228 ...
14
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...
1
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: ...
6
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
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
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
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.