tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Mukesh Soni <MSONI () tuc ! com>
To: tru64-unix-managers
Subject: [Summary] KAIO:out of OS resources
Date: Tue, 27 Jan 1998 22:34:45 +0000	[thread overview]
Message-ID: <96078654411078.tru64-unix-managers.marc@archive.invalid> (raw)

My original problem was:
-------------------------------
We have 4100 server, 4 CPU, 1.5 GB,  running DU4.0B (including
Patches) / informix 7.23FCI / PeopleSoft 6.1 

1.   Informix suggests to use Kernel aio for better performance. But
when we use kernel aio, informix gives me error  

KAIO: out of OS resources, errno = 35, pid = 13964

sysconfig command gives me following result. 
# sysconfig -q kio 
kio : function not implemented

It is advertised that Digital Unix 4.0B supports kernel async io.  We are
using advfs for filesystem,  raw partitions for informix and raid 5.  

#sysconfig -q rt
rt:
aio-max-num = 716
aio-task-max-num = 333
aio-max-percent = 1
aio-max-retry = 0
aio-retry-scale = 4
sigqueue-max-num = 64
 
                                     -------****-------

Thanks a lot to George Guethlein<GGuethlein@GiantOfMaryland.com>
for the notes on configuring informix for DEC Alpha environment. Please
respond if anybody needs them.

                                    ---------***--------

Thanks a lot to Dr. Tom Blinn. He responded ..
The file /usr/include/errno.h lists the kernel error numbers.  If you look
at the file you'll see that for a V4.0x system, error number 35 is this:

/* non-blocking and interrupt i/o */
#define EWOULDBLOCK     35              /* Operation would block */
#define EAGAIN          EWOULDBLOCK     /* ditto */
#define EINPROGRESS     36              /* Operation now in progress */
#define EALREADY        37              /* Operation already in progress */

that is, "operation would block".  EAGAIN is an instruction to the process
to try the operation again; EWOULDBLOCK or EAGAIN is generally
returned when
the process tries to do an operation that might block, and doesn't want to
wait in a blocked state, so uses function codes that say to return an
error
if the operation would block.  It is an EXPECTED error code when you are
using asynchronous (non-blocking) I/O.

                                        --------***-------

The same thing was posted to Informix and a very useful help came from
Auston Bouska <abouska@informix.com> to set following

aio-max-num = 4096
aio-task-max = 2048

I have changed the parameters and observing the system since the error
comes only once or twice a day when system load is more. 

Thanks and regards,
Mukesh Soni
msoni@tuc.com

                 reply	other threads:[~1998-01-27 22:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox