分享

Tuning Asynchronous-I/O Kernel parameters to avoid error KAIO out of resource on HP-UX(IBM Technote)

 Stefen 2010-09-14

Tuning Asynchronous-I/O Kernel parameters to avoid error KAIO out of resource on HP-UX

 Technote (troubleshooting)
 
Problem(Abstract)
This article goes over the Operating System Kernel that can be configured to avoid error KAIO out of resource on the HP-UX platform
 

Resolving the problem

PROBLEM

When using Kernel Asynchronous I/O (KAIO) with IBM Informix Dynamic Servers, you might experience the following message in the database server message log:

      KAIO out of resource errno=11
    or
      KAIO out of resource errno=35


CAUSE

This error indicates a shortage of KAIO resources.


SOLUTION

Tune the KAIO subsystem:

1. Configure the number of KAIO requests.

    Note: Check Related information for more detail.

2. Tune the Operating System Kernel parameters.


Kernel parameter
Description
Minimum
Maximum
Default
aio_listio_max
Specifies how many POSIX asynchronous I/O operations are allowed in a single listio() call.
2
65536
256
aio_max_ops
Specifies the system-wide maximum number of POSIX asynchronous I/O operations that may be queued at any given time.
1
1048576
2048
aio_physmem_pct
Percentage of physical memory that can be locked for use in POSIX asynchronous I/O operations.
5
50
10
aio_prio_delta_max
Maximum delta that a process can decrease its asynchronous I/O priority level
0
20
20
max_async_ports
Maximum number of ports to the asynchronous disk-I/O driver that processes can have open at any given time.
1
2147483647
50


Note:
  • All configurable kernel parameters must be specified using an integer value or a formula consisting of a valid integer expression.
  • The maximum and/or default values of certain parameters may change between releases or to vary between 32-bit and 64-bit processors.

Warning:

Changing kernel parameters to improper or inappropriate values or combinations of values can cause data loss, system panics, or other (possibly very obscure and/or difficult to diagnose) operating anomalies, depending on which parameters are set to what values.

  • Before altering the value of any configurable kernel parameter, be sure you know the implications of making the change.
  • Never set any system parameter to a value outside the allowable range for that parameter (SAM refuses to store values outside of the allowable range).
  • Many parameters interact, and their values must be selected in a balanced way.

For more information about POSIX asynchronous I/O, see the HP-UX Reference entry aio(5). Please contact HP-UX OS support for more information about these parameters and their management.
 

Related information
Tuning Kernel Asynchronous IO (KAIO) for IBM Informix o
 

文档信息?
 产品类别:?
  软件类型?
  Data Management?
  Data Servers (Database Management Systems)?
  Informix Dynamic Server (IDS)?
 操作系统:?
  HP-UX
 软件版本:?
  All Versions
 用途版本:?
  Enterprise, Workgroup
 参考号:?
  1138073
 IBM 组:?
  Software Group?
 修改日期:?
  2003-12-09?

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多