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

Weird Error Message

Hello,

Environment is: DB2 V8 FP10 Linux Kernel 2.6

My db2diag.log is full of the following lines:

2006-02-01-15.56.26.557312-120 E405226240G308 LEVEL: Error (OS)
PID : 31005 TID : 4143875776 PROC : db2pclnr
INSTANCE: db2inst1 NODE : 000
FUNCTION: DB2 UDB, oper system services, sqloLioInit, probe:10
CALLED : OS, -, io_queue_init OSERR: EAGAIN (11)

I have been unable to find a meaning for this. Can anyone help ? Seems
like a SO error, but where?

Thanks in advance,

Feb 1 '06 #1
13 2606
Michel Esber wrote:
Hello,

Environment is: DB2 V8 FP10 Linux Kernel 2.6

My db2diag.log is full of the following lines:

2006-02-01-15.56.26.557312-120 E405226240G308 LEVEL: Error (OS)
PID : 31005 TID : 4143875776 PROC : db2pclnr
INSTANCE: db2inst1 NODE : 000
FUNCTION: DB2 UDB, oper system services, sqloLioInit, probe:10
CALLED : OS, -, io_queue_init OSERR: EAGAIN (11)

I have been unable to find a meaning for this. Can anyone help ? Seems
like a SO error, but where?

Thanks in advance,

Which DIAGLEVEL are you running?
The error is being logged by the "page cleaner", that's the process
writes dirty pages back to disk.

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
DB2 UDB for Linux, Unix, Windows
IBM Toronto Lab
Feb 1 '06 #2
Serge,

Running DIAGLEVEL 3. Here is some additional info:

DB2LINUXAIO=TRUE
DB2_SCATTERED_IO=ON
DB2COMM=tcpip
DB2AUTOSTART=YES

Thanks,

Feb 1 '06 #3
Michel Esber wrote:
Hello,

Environment is: DB2 V8 FP10 Linux Kernel 2.6

My db2diag.log is full of the following lines:

2006-02-01-15.56.26.557312-120 E405226240G308 LEVEL: Error (OS)
PID : 31005 TID : 4143875776 PROC : db2pclnr
INSTANCE: db2inst1 NODE : 000
FUNCTION: DB2 UDB, oper system services, sqloLioInit, probe:10
CALLED : OS, -, io_queue_init OSERR: EAGAIN (11)

I have been unable to find a meaning for this. Can anyone help ? Seems
like a SO error, but where?


This says that you have asynchronous I/O enabled, DB2 tries to detect
whether AIO is available for your underlying file system. For that, an
initialization is attempted by calling "io_queue_init" in the aio library
(libaio). The call to that function returns EAGAIN, probably because you
don't have an AIO-capable file system?

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Feb 1 '06 #4
Michel Esber wrote:
Running DIAGLEVEL 3. Here is some additional info:

That should be fine. Just wanted to make sure you are not running level
4 which sends DB2 onto the diagnostic couch
How often do you get these?

I'll ask backstage.. no promisses...
Cheers
Serge

--
Serge Rielau
DB2 Solutions Development
DB2 UDB for Linux, Unix, Windows
IBM Toronto Lab
Feb 1 '06 #5
I am getting around +- 70 events like that per minute.

db2diag.log gets really big and we have to rotate it quite frequently.

Thanks Serge,

Feb 1 '06 #6
Michel Esber wrote:
I am getting around +- 70 events like that per minute.

db2diag.log gets really big and we have to rotate it quite frequently.


Uugh. That's ugly. Have you checked if you can actually use AIO?

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Feb 1 '06 #7
The FS is AIO capable. In fact, I have another server, with the same
environment, but without any errors.

I was reading some man pages and it seems like EAGAIN indicates lack of
resources to complete the asynchronous request. Now I have to figure
out which resource is this ... (or which limit should be increased)

Thanks,

Feb 1 '06 #8
Michel Esber wrote:
The FS is AIO capable. In fact, I have another server, with the same
environment, but without any errors.

I was reading some man pages and it seems like EAGAIN indicates lack of
resources to complete the asynchronous request. Now I have to figure
out which resource is this ... (or which limit should be increased)

Thanks,

Comments from backstage:
check if libaio is installed by doing rpm -qa | grep aio . If it is
installed then please let us know the version number of the libaio package.

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
DB2 UDB for Linux, Unix, Windows
IBM Toronto Lab
Feb 1 '06 #9
libaio-0.3.103-3
libaio-devel-0.3.103-3

One new info: seems like this box has been upgraded from a Linux RedHat
2.1 to RH 4.0 Update 2. All filesystems are ext3 though. Could this be
a possible reason?

My other servers (where I have no problems) had a clean installation of
RH 4.0.

Thanks

Feb 1 '06 #10
Michel Esber wrote:
libaio-0.3.103-3
libaio-devel-0.3.103-3

One new info: seems like this box has been upgraded from a Linux RedHat
2.1 to RH 4.0 Update 2. All filesystems are ext3 though. Could this be
a possible reason?

My other servers (where I have no problems) had a clean installation of
RH 4.0.

Thanks

More:
What does uname -a say ?
Are you using a 32-bit or 64-bit instance ?

It seems there is a recently discovered issue with AIO on RH4 on 32bit.

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
DB2 UDB for Linux, Unix, Windows
IBM Toronto Lab
Feb 1 '06 #11
[smichel@autctx02rjomk ~]$ uname -a
Linux autctx02rjomk 2.6.9-22.0.1.ELhugemem #1 SMP Tue Oct 18 18:49:54
EDT 2005 i686 i686 i386 GNU/Linux

Any link to the bug is appreciated. I am also experiencing severe
IOWAIT times. VMSTAT shows 80% of time spent waiting for IO. Not sure
if this could cause the problem.

Thanks,
Michel Esber wrote:
libaio-0.3.103-3
libaio-devel-0.3.103-3

One new info: seems like this box has been upgraded from a Linux RedHat
2.1 to RH 4.0 Update 2. All filesystems are ext3 though. Could this be
a possible reason?

My other servers (where I have no problems) had a clean installation of
RH 4.0.

Thanks

More:
What does uname -a say ?
Are you using a 32-bit or 64-bit instance ?

It seems there is a recently discovered issue with AIO on RH4 on 32bit.

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
DB2 UDB for Linux, Unix, Windows
IBM Toronto Lab


Feb 1 '06 #12
Ooops I forgot to mention. 32-bit instance.

Thanks,

Feb 1 '06 #13
Michel Esber wrote:
Ooops I forgot to mention. 32-bit instance.

Thanks,

The known issues don't apply to this situation.

Here is what the Linux Technology Center says:
" Maybe /proc/sys/fs/aio-max-nr, the system-wide maximum number of aio
requests, is too small. What is it set to? Can you try bumping it
up? A related value is /proc/sys/fs/aio-nr, the current system-wide
number of aio requests. The maxevents parm of io_queue_init() is
added to aio-nr and the sum must not exceed aio-max-nr; otherwise
-EAGAIN would be returned. "

Another possible cause could be running out of kernel memory. Please
provide /proc/slabinfo and /proc/meminfo at time of failure as well as
/var/log/messages.

The fact that the machine was upgraded from RH 2.1 to RHEL 4 could have
something to do with it. Red Hat recommends fresh installs.

BTW, I think this is turning out to be a bit of an expedition. Can you
open a PMR? It will capture the resolution for future requests and also
make sure the problem is tracked beyond my in-box....

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
DB2 UDB for Linux, Unix, Windows
IBM Toronto Lab
Feb 2 '06 #14

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

Similar topics

3
by: redneck_kiwi | last post by:
Hi all: I have a really weird problem. I am developing a customer catalog system for my company and as such have delved into sessions for authentication and access levels. So far, I have managed...
0
by: Joe Helmick | last post by:
This weird error started showing up as I was developing an email-enabled program. Once it occurs, I cannot set breakpoints in my code. Quitting Visual Studio does not help, nor does restarting my...
11
by: HelLind | last post by:
Hello people, I am having a weird error and don't know what term to search in google. Sorry to bother. There is data in my field "M_BIO" When I run this code...
5
by: NanQuan | last post by:
I'm hoping someone can help me solve this error since I am at a total loss here. Usually I don't bother posting on any forums or groups on the internet and prefer to solve stuff myself but this is...
0
by: Deutsche Dogge | last post by:
Hi. I'M having a weird problem with addign menuitems to a menu dynamically on the popup event of the menuitem containing the container of the menuitems i wanna add (tools -> external -> {list of...
2
by: Kathy Houtami | last post by:
Hi there I've been encountered with weird compile error using Access 97. The error message is "Member or data member is not found" and it highlighted a line of code that has not be changed and...
2
by: Christian Kreimer | last post by:
Hi I created an C# windows forms application that holds a user control. The user control itself is an editor for geographical information systems and is based on an ActiveX Library for providing...
6
by: gh0st54 | last post by:
Hi I have a weird javascript error that only happens on my live server when i open the page http://www.imrated.co.uk/reg.aspx i get the error 'Problems with this page ... blablabla Line : 3...
1
by: karen.p.lee | last post by:
I have just discovered a really weird problem with the TransferText method in Access 97. I was happily using this function to export a table to file then I suddenly got this error message: ...
0
by: P Pulkkinen | last post by:
Dear all, sorry, i know this code is far little too long to debug here, but there is really annoying logical error. If someone debugs this, I really offer warm virtual handshake. What this...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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...
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
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...

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.