• Admin-Scout-small-Banner
           
    CURSOR Admin-Scout
    get the ultimate tool for Informix
    pfeil  
invispix 10x10
invispix 10x10
Latest versionsfixlist
14.10.xC5 FixList
12.10.xC14.X5 FixList
11.70.xC9.XB FixList
11.50.xC9.X2 FixList
11.10.xC3.W5 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26
Question in the chat LiveZilla Live Help

Informix - Problem description

Problem IT30983 Status: Closed

ON LINUX X86_64, SERVER CAN ASSERT INITIALIZING KAIO WITH -22 EINVAL FROM
IO_QUEUE_INIT

product:
INFORMIX SERVER / 5725A3900 / C10 - IDS 12.10
Problem description:
Consider this entry in /etc/sysctl.conf on linux x86_64:

    fs.aio-max-nr = 6000000

Propagate the setting:

    sysctl -p /etc/sysctl.conf

If you set the env variable KAIOON=500000, the server will fail
with following when you try to bring it online:

There appears to be an undoc'ed hard-coded OS value that is
limiting the server despite KAIOON being less than
fs.aio-max-nr:

    11:58:23  requested number of KAIO events (5000000) exceeds
limit (3000000). using 3000000.
    11:58:23  Assert Failed: initializing KAIO failed
    11:58:23  IBM Informix Dynamic Server Version 12.10.FC7
    11:58:23   Who: Session(1, login@host, 0, (nil))
                    Thread(137, kaio, 0, 1)
                    File: kaioapi.c Line: 298
    11:58:23   Results: io_queue_init(3000000) failed returning
-22, errno = 0
    11:58:23  stack trace for pid 21255 written to
/tmp/af.471dbbe
    11:58:23   See Also: /tmp/af.471dbbe
    11:58:27  initializing KAIO failed
    11:58:28  io_queue_init(3000000) failed returning -22, errno
= 0
    11:58:28  Assert Failed: kaiothread() ERROR

A similar error can be observed for a lower value of KAIOON
(1500000):

    12:18:23  Assert Failed: initializing KAIO failed
    12:18:23  IBM Informix Dynamic Server Version 12.10.FC7
    12:18:23   Who: Session(1, login@host, 0, (nil))
                    Thread(113, kaio, 0, 1)
                    File: kaioapi.c Line: 298
    12:18:23   Results: io_queue_init(1500000) failed returning
-22, errno = 0
    12:18:23  stack trace for pid 22650 written to
/tmp/af.459e06e
    12:18:23   See Also: /tmp/af.459e06e
    12:18:25  initializing KAIO failed
    12:18:25  io_queue_init(1500000) failed returning -22, errno
= 0
    12:18:25  Assert Failed: kaiothread() ERROR

For both cases the stack of the asserting thread is:

    12:18:23  Stack for thread: 113 kaio

     base: 0x000000004827f000
      len:   69632
       pc: 0x00000000013cf857
      tos: 0x000000004828f090
    state: running
       vp: 1

    0x00000000013cf857 (oninit) afstack
    0x00000000013d29ee (oninit) afhandler
    0x00000000013d2e62 (oninit) affail_interface
    0x0000000001427e21 (oninit) _aioinit
    0x00000000013c1460 (oninit) kaiothread
    0x0000000001428327 (oninit) startup
Problem Summary:
****************************************************************
* USERS AFFECTED:                                              *
* Users of Informix Server prior to 12.10.xC14 and 14.10.xC4.  *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Update to Informix Server 12.10.xC14 or 14.10.xC4.           *
****************************************************************
Local Fix:
Solution
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
18.11.2019
08.06.2020
08.06.2020
Problem solved at the following versions (IBM BugInfos)
12.10.xC14
Problem solved according to the fixlist(s) of the following version(s)
invispix 10x10
invispix 10x10
invispix 10x10
Technical InfoTechnical Info

Technical Info

DocumentationDocumentation

Documentation

IBM NewsletterIBM Newsletter

IBM Newsletter

Current BugsCurrent Bugs

Current Bugs

Bug ResearchBug Research

Bug Research

Bug FixlistsBug Fixlists

Bug Fixlists

Release NotesRelease Notes

Release Notes

Machine NotesMachine Notes

Machine Notes

Release NewsRelease News

Release News

Product LifecycleProduct Lifecycle

Lifecycle

Media DownloadMedia Download

Media Download

invispix 10x10
Service und SupportService und Support

Service and Support

Informix MonitoringInformix Monitoring

Informix Monitoring

Admin-Scout forInformixAdmin-Scout forInformix

Admin-Scout for Informix

Informix News & InfosInformix News & Infos

Informix News & Infos

This site uses cookies to make it easier for us to provide you with our services. By using our site you agree to the use of cookies.