HP-UX platform IoctlASYNC_CONFIGerror, errno = 11 Error Analysis

Source: Internet
Author: User
The most recent user's database has the following error: IoctlASYNC_CONFIGerror, errno11 environment is as follows: HP-UX11.31, ORACLE10. metali

The most recent user's database has the following error: Ioctl ASYNC_CONFIG error, errno = 11 environment is as follows: HP-UX 11.31, ORACLE by querying metali

The following error occurs in the database of the latest User:
Ioctl ASYNC_CONFIG error, errno = 11

The environment is as follows:
HP-UX 11.31, Oracle

Oracle Server-Enterprise Edition-Version: and later [Release: 9.2 and later]
HP-UX PA-RISC (64-bits)
HP-UX PA-RISC (32-bits)
HP-UX, Itanium
HP-UX Itanium (32-bit)
On HP Platforms with Asynchronous IO configured you are inserting the following error message:
Ioctl ASYNC_CONFIG error, errno = % s

% S is replaced with the actual error number

The general cause is an inapproriate configuration of system requirements, e.g. settings, resources, privileges.
The following sections refer to the actual error number in the message
Ioctl ASYNC_CONFIG error, errno = % s

Errno = 1
Make sure the oracle software group owner, usually "dba", is granted MLOCK, RTSCHED and RTPRIO permissions:
(1) #/usr/sbin/setprivgrp dba MLOCK
(2) # vi/etc/privgroup
-- This shoshould contain dba MLOCK RTSCHED RTPRIO
(3) # cat/etc/privgroup

On 8.1.7 and prior releases, please make sure to install patch PHKL_22126 or newer
Note 133007.1 ALERT: HP-UX: 8.1.7 RDBMS will not start if the async disk driver is configured

Errno = 7
The message may also appear in the format:
Ioctl ASYNC_ADDSEG error, errno = 7
Taking a Unix level tusc/truss/strace output shows the following:
Pstat (PSTAT_PROC_VM, 0x9fffffffffff56b0, 104, 0,129 )...................................... ........................................... = 1
Ioctl (8, ASYNC_ADDSEG, 0x9fffffffff5690 )...................................... ........................................ .............. ERR #7 E2BIG
Open ("/u01/app/diag/rdbms/orcl/ORCL/trace/ORCL_ora_1005.trc ", o_WRONLY | O_APPEND | O_CREAT | 0x800,066 4 )............ = 9
The SHMMAX kernel parameter is set too low, so the database requires a lots of shared memory segments (rather than just a few ). the large number of shared memory segments exceeds an internal limit and causes the E2BIG (Unix error 7) to occur.
Solution is to increase SHMMAX kernel parameter and restart the database.
Errno = 11
Error #11 (EAGAIN) can occur due to the fact that no more real memory is available for ioctl to lock. This typically occurs when there are already concurrent sessions
Solution is to increase the amount of physical memory (RAM)
Increasing virtual memory by using more Swap won't help

Disabling Asynchronous IO
For Oracle version 10.1 and prior, we will check if '/dev/async' is present and will try to use it for memory locking which is needed for async I/O for SGA memory pages via ioctl. oracle makes use of '/dev/async' only if the HP async device driver is properly configured for read and write. this is irrespective of whether the DISK_ASYNCH_IO parameter is set to TRUE.
So Oracle will use async I/O regardless of the value of init. ora settings
Prior to 10.2, to inactivate ASYNCH_IO with Oracle, the workaround is:
Chown bin: bin/dev/async
Chmod 660/dev/async
As of 10.2, asynchronous I/O can be disabled using the designated parameters
Disk_asynch_io = FALSE
-- AND/OR --
Filesystemio_options = none

For more information about Oracle, see the Oracle topic page? Tid = 12

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.