473,382 Members | 1,441 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,382 software developers and data experts.

Hang on archive

Hello,

Using DB2 8.2 FP 9 - 32bit on Solaris 5.8 and a tape management tool
of Veritas, the archive hangs on occassion. The error is "shmat
failed" in the db2diag.log. Then DB2 hangs and self corrects.

This seems to occur when a backup kicks off, initiating an archive.
But only on occassion.

Our intent is to upgrade but that may take months. This should be
solved first.

Your help is appreciated.

Aug 28 '07 #1
2 2535
ri***********@ama-assn.org wrote:
Hello,

Using DB2 8.2 FP 9 - 32bit on Solaris 5.8 and a tape management tool
of Veritas, the archive hangs on occassion. The error is "shmat
failed" in the db2diag.log. Then DB2 hangs and self corrects.

This seems to occur when a backup kicks off, initiating an archive.
But only on occassion.

Our intent is to upgrade but that may take months. This should be
solved first.

Your help is appreciated.
First of, issues like this should be taken up with Support, imho.
Second, you really have to provide more info like exact error codes etc. to
be able to help you.
To quote from Oracle newsgroup c.d.o.s.: "Crystal balls are not being sold
here" or similar...
Be prepared Support will also ask you to gather quite some info for them to
be able to help you.

Having said that, you should have a look at this article on DevWorks:
http://www.ibm.com/developerworks/db...6qi/index.html

It discusses DB2's Memory Model extensively, with specific emphasis on
32-bit environments and the differences between various hardware platforms.
For Solaris (a platform I'm not familiar with btw) there is a section that
starts with:

<quote>
Common problems with allocating database shared memory on 32-bit Sun Solaris

Kernel parameters not configured sufficiently and failure to initialize the
database shared memory properly can lead to failures like the following:

* At database start up time (activate database or database is being
connected to for the first time) - SQL1478W, SQL1084C, hang condition
* At runtime - SQL2043N, hang condition

On Solaris systems, DB2 provides a tool called db2osconf. This tool makes
recommendations for kernel parameter values based on the size of a system.
The recommended values are high enough for a given system that they can
accommodate most reasonable workloads.

The most common kernel parameter set incorrectly is shmmax. This parameter
specifies the maximum size in bytes of a shared memory segment which can be
allocated on the system. If DB2 is configured to create a database shared
memory set which is larger than this, the request will fail. Other kernel
parameters to be aware of is shmseg and shmmni.
</quote>

It goes on describing common issues on Solaris and gives 3 examples that are
extensively analysed.
If you're lucky one of them fits your case, if not.... well, like I said:
contact Support ...

HTH

--
Jeroen
Aug 28 '07 #2

The Boss wrote:
ri***********@ama-assn.org wrote:
Hello,

Using DB2 8.2 FP 9 - 32bit on Solaris 5.8 and a tape management tool
of Veritas, the archive hangs on occassion. The error is "shmat
failed" in the db2diag.log. Then DB2 hangs and self corrects.

This seems to occur when a backup kicks off, initiating an archive.
But only on occassion.

Our intent is to upgrade but that may take months. This should be
solved first.

Your help is appreciated.

First of, issues like this should be taken up with Support, imho.
Second, you really have to provide more info like exact error codes etc. to
be able to help you.
To quote from Oracle newsgroup c.d.o.s.: "Crystal balls are not being sold
here" or similar...
Be prepared Support will also ask you to gather quite some info for them to
be able to help you.

Having said that, you should have a look at this article on DevWorks:
http://www.ibm.com/developerworks/db...6qi/index.html

It discusses DB2's Memory Model extensively, with specific emphasis on
32-bit environments and the differences between various hardware platforms.
For Solaris (a platform I'm not familiar with btw) there is a section that
starts with:

<quote>
Common problems with allocating database shared memory on 32-bit Sun Solaris

Kernel parameters not configured sufficiently and failure to initialize the
database shared memory properly can lead to failures like the following:

* At database start up time (activate database or database is being
connected to for the first time) - SQL1478W, SQL1084C, hang condition
* At runtime - SQL2043N, hang condition

On Solaris systems, DB2 provides a tool called db2osconf. This tool makes
recommendations for kernel parameter values based on the size of a system.
The recommended values are high enough for a given system that they can
accommodate most reasonable workloads.

The most common kernel parameter set incorrectly is shmmax. This parameter
specifies the maximum size in bytes of a shared memory segment which can be
allocated on the system. If DB2 is configured to create a database shared
memory set which is larger than this, the request will fail. Other kernel
parameters to be aware of is shmseg and shmmni.
</quote>

It goes on describing common issues on Solaris and gives 3 examples that are
extensively analysed.
If you're lucky one of them fits your case, if not.... well, like I said:
contact Support ...

HTH

--
Jeroen
Aug 31 '07 #3

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

Similar topics

0
by: Евгений Косенко | last post by:
Hi! I need to fresh a zip-archive using zipfile. However, it seems it is no function to fresh the archive. When I use the append-mode of ZipFile, the written file is merely appended to the...
5
by: Ido Zur | last post by:
The problem: We have ASP application that uses WSC as data access tier to SQL Server, and it runs well on windows 2000 server IIS 5.0. When we install the application on XP with IIS 5.1 the...
7
by: William | last post by:
I am using DB2 8.2 on RH Linux 8.0. I just compiled db2uext2.c but failed to archive the log files, did anybody fix this problem before? TIA db2diag.log 2005-06-12-12.39.52.305630-240...
5
by: Dan Pavel | last post by:
Hi, I have an C# application and after about 12 hours it hangs with a .NET Error System.OutOfMemoryException. This error is received after GC.GetTotalMemory: 100038436 and in task manager the...
4
by: Madhu Gopinathan | last post by:
Hi All, I am faced with a horrible hang problem. I have a COM exe server that executes some tasks. The task execution manager is a thread that manages the pool of threads, which is 4 per processor....
1
by: caesarchen | last post by:
Dear all: The following is the situation,can any one share me idea to solve it? Windows 2000 + IIS6.0 + .NET Framework 1.1 6 projects, about 800 webforms and 300 .asmx programs Project cowork...
7
by: Enigma Curry | last post by:
I need to store a large number of files in an archive. From Python, I need to be able to create an archive, put files into it, modify files that are already in it, and delete files already in it. ...
0
by: Jeff | last post by:
Banging my head against the wall trying to figure this out. I have a 'sometimes' hang while disposing a form which contains an ActiveX control (Flash.ocx version 7). The form's Dispose() method...
2
by: mkvenkit.vc | last post by:
Hello, I hope this is the right place to post a question on Boost. If not, please let me know where I can post this message and I will do so. I am having a strange problem with std::string as...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
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...

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.