_aiowrite() returning EAGAIN
Posted in 2000
Hi,
I have 2225 messages
*** _aiowrite() returning EAGAIN ***
and 22 messages
KAIO: out of OS resources, errno = 11, pid = 17644
in my online.log file for about 5 mins period.
During this period of time, the system was working as usualy. The only
difference was I created several index for two new tables. Both, indexes
and tables were created in newly added (yesterday) dbspaces histdbs and
ihistdbs and they are in infomrix mirroring configuration.
There aren't any errors in the OS system log.
Have I lost any of my data? What's the reason of such a messages (errors?)?
Maybe I must change some ONCONFIG parameters to avoid this situation again.
Best regards,
Milen
Some info:
SYSTEM: IBM H70 with 4 CPUs and 2176MB RAM, IBM AIX 4.2.1.0;
RAID 1, Software RAID on 3 (not root) chunks.
IDS 7.31.UC6
----------
A line from /usr/include/sys/errno.h
#define EAGAIN 11 /* Resource temporarily unavailable */
-----------
10:18:13 Checkpoint Completed: duration was 4 seconds.
10:23:16 Checkpoint Completed: duration was 1 seconds.
10:23:42 Logical Log 4244 Complete.
10:23:42 Process exited with return code 9: /bin/sh /bin/sh -c/home/milen/informix/scripts/ifmxEvents.pl 2 23 "Logical Log 4244 Co
mplete." "Logical Log 4244 Complet
10:25:42 *** _aiowrite() returning EAGAIN ***
10:25:42 *** _aiowrite() returning EAGAIN ***
10:25:42 *** _aiowrite() returning EAGAIN ***
....
10:25:42 *** _aiowrite() returning EAGAIN ***
10:25:42 *** _aiowrite() returning EAGAIN ***
10:25:42 KAIO: out of OS resources, errno = 11, pid = 17644
10:26:09 *** _aiowrite() returning EAGAIN ***
10:26:09 *** _aiowrite() returning EAGAIN ***
10:26:09 *** _aiowrite() returning EAGAIN ***
....
10:29:49 *** _aiowrite() returning EAGAIN ***
10:29:49 *** _aiowrite() returning EAGAIN ***
10:29:49 KAIO: out of OS resources, errno = 11, pid = 17644
10:29:54 *** _aiowrite() returning EAGAIN ***
10:33:23 Checkpoint Completed: duration was 2 seconds.
---------------
My onconfig:
#**************************************************************************
#
# INFORMIX SOFTWARE, INC.
#
# Title: onconfig.0
# Description: Informix Dynamic Server Configuration Parameters
# Created by: Milen D. Metodiev, February 4, 2000
#
#**************************************************************************
# Root Dbspace Configuration
ROOTNAME rootdbs # Root dbspace nameROOTPATH /informix/chunks/rootdbs01p # Path for device containing
root dbspace
ROOTOFFSET 0 # Offset of root dbspace into device (Kbytes)
ROOTSIZE 512000 # Size of root dbspace (Kbytes)
# Disk Mirroring Configuration Parameters
MIRROR 1 # Mirroring flag (Yes = 1, No = 0)
MIRRORPATH /informix/chunks/rootdbs01m # Path for device
containing mirrored root
MIRROROFFSET 0 # Offset into mirrored device (Kbytes)
# Physical Log Configuration
PHYSDBS rootdbs # Location (dbspace) of physical log
PHYSFILE 120000 # Physical log file size (Kbytes)
[milen,29/03/00]
# Logical Log Configuration
LOGFILES 30 # Number of logical log files
LOGSIZE 1000 # Logical log size (Kbytes)
# Diagnostics
MSGPATH /u1/ifmxsrv/online.log.0 # System message log file path
CONSOLE /dev/console # System console message pathALARMPROGRAM /home/milen/informix/scripts/ifmxEvents.pl # Alarm
program path
SYSALARMPROGRAM /u1/ifmxsrv/etc/evidence.sh # System Alarm program path
TBLSPACE_STATS 1
# System Archive Tape Device
TAPEDEV /dev/rmt1.4 # Tape device path
TAPEBLK 64 # Tape block size (Kbytes)
TAPESIZE 69000000 # Maximum amount of data to put on
tape (Kbytes)
# Log Archive Tape Device
LTAPEDEV /dev/null # Log tape device path
LTAPEBLK 64 # Log tape block size (Kbytes)
LTAPESIZE 69000000 # Max amount of data to put on log
tape (Kbytes)
# Optical
STAGEBLOB # Informix Dynamic Server/Optical staging area
# System Configuration
SERVERNUM 0 # Unique id corresponding to a DynamicServer instance
DBSERVERNAME eppix_gui # Name of default database server
DBSERVERALIASES spider_shm # List of alternate dbservernames
NETTYPE soctcp,3,250,NET # Configure poll thread(s)for nettype
DEADLOCK_TIMEOUT 60 # Max time to wait of lock in distributed env.
RESIDENT 0 # Forced residency flag (Yes = 1, No = 0)
MULTIPROCESSOR 1 # 0 for single-processor, 1 for multi-processor
NUMCPUVPS 4 # Number of user (cpu) vps
SINGLE_CPU_VP 0 # If non-zero, limit number of cpu vps to one
NOAGE 1 # Process aging
AFF_SPROC 0 # Affinity start processor
AFF_NPROCS 0 # Affinity number of processors
# Shared Memory Parameters
LOCKS 20000 # Maximum number of locks#BUFFERS 73728 # Maximum number of shared buffers
[= 288MB RAM = 1/4 Ph.Mem.]
BUFFERS 136000 # Maximum number of shared buffers [= 544
RAM = 1/4 Ph.Mem.]
NUMAIOVPS 4 # Number of IO vps
PHYSBUFF 64 # Physical log buffer size (Kbytes)
LOGBUFF 64 # Logical log buffer size (Kbytes)LOGSMAX 90 # Maximum number of logical log files
CLEANERS 127 # Number of buffer cleaner processes
SHMBASE 0x30000000L # Shared memory base address
SHMVIRTSIZE 393216 # initial virtual shared memory segment size
SHMADD 65536 # Size of new shared memory segments (Kbytes)
SHMTOTAL 0 # Total shared memory (Kbytes). 0=>unlimited
CKPTINTVL 300 # Check point interval (in sec)
LRUS 127 # Number of LRU queues (milen,05/01/00
[8],[128])
LRU_MAX_DIRTY 4 # LRU percent dirty begin cleaning limit
LRU_MIN_DIRTY 2 # LRU percent dirty end cleaning limit
LTXHWM 50 # Long transaction high water mark percentage
LTXEHWM 60 # Long transaction high water mark (exclusive)
TXTIMEOUT 300 # Transaction timeout (in sec)
STACKSIZE 32 # Stack size (Kbytes)
# System Page Size
# BUFFSIZE - Dynamic Server no longer supports this configuration parameter.
# To determine the page size used by Dynamic Server on your platform
# see the last line of output from the command, 'onstat -b'.
# Recovery Variables
# OFF_RECVRY_THREADS:
# Number of parallel worker threads during fast recovery or an offline restore.
# ON_RECVRY_THREADS:
# Number of parallel worker threads during an online restore.
@@NL@