473,508 Members | 3,688 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 7774
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
5544
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
7431
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
2393
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
385
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
2396
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
7311
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
4172
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
3517
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
5787
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
5578
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
7228
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
7128
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
7332
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
7058
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...
1
5057
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...
0
4715
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
3206
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...
0
1565
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 ...
1
769
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.