What is maxreqs parameter in AIX?


 
Thread Tools Search this Thread
Operating Systems AIX What is maxreqs parameter in AIX?
# 1  
Old 10-15-2010
What is maxreqs parameter in AIX?

Hello gentlemen,

I am running Aix 5.3 and Oracle 9.1;

What is the parameter "maxreqs" in Aix?

# lsattr -E -l aio0 -a maxreqs
maxreqs 4096 Maximum number of REQUESTS True;


Last night our database was down. Someone was telling it was due to maxreqs was full.

Question to gentlmen what is the maxreqs used for?

And is there any way to monitor whether the AIO maxreqs is going to full. And what step I can take to avoid this?

Cheers,
Purple
# 2  
Old 10-15-2010
It is the current maximum of asynchronous I/O requests that can be either waiting to be processed or are currently processed.

There is an explicit ORA error message (I forgot the error code) that can be searched on Metalink or in Oracle documentation, that points that this threshold has been hit and should be raised.

Usually on older versions of AIX this is per default 4096, I think from AIX 6 on it is 16384.
It is definetly a parameter that could and should be set to a higher values. That is why they have set the default value in AIX 6 to a 4 times higher value.

You can monitor this with
Code:
> iostat -A 1 | awk '/avg/ {if(x!=1){print; getline; print; x=1}else{getline; print}}'
aio: avgc avfc maxgc maxfc maxreqs avg-cpu: % user % sys % idle % iowait
     1624.1  0.0   349     0    32768            31.4  11.6   45.8     11.2
     908.0  0.0     7     0    32768            32.1  11.1   50.6      6.2
     1565.7  0.0   263     0    32768            41.3  15.7   34.5      8.5
     1408.0  0.0   316     0    32768            34.2  12.8   45.5      7.5
     1055.0  0.0    49     0    32768            36.6  13.5   41.7      8.2
     1818.3  0.0   290     0    32768            31.3  12.1   46.8      9.9

From the man page of iostat:
Code:
Asynchronous I/O report

       The asynchronous I/O report has the following column headers :
       avgc
            Average global AIO request count per second for the specified interval.
       avfc
            Average fastpath request count per second for the specified interval.
       maxgc
            Maximum global AIO request count since the last time this value was fetched.
       maxfc
            Maximum fastpath request count since the last time this value was fetched.
       maxreqs
            Maximum AIO requests allowed.

This User Gave Thanks to zaxxon For This Post:
# 3  
Old 10-15-2010
I agree with zaxxon - this is the very well known ora600 error Smilie When we were running into it, IBM recommended to set the value on all our 5.3 servers to 65536 - we did it and never faced that error again Smilie

Regards
zxmaus
# 4  
Old 10-15-2010
Quote:
Originally Posted by zxmaus
I agree with zaxxon - this is the very well known ora600 error Smilie When we were running into it, IBM recommended to set the value on all our 5.3 servers to 65536 - we did it and never faced that error again Smilie

Regards
zxmaus
Quit informative reply from you gentlemen.

well, how to bump up the "maxreqs" value to 65536. By which command?

Do I need to restart the Aix and Oracle dbase after changing the value?
# 5  
Old 10-15-2010
Hi.

You can set it using chdev.

Tuning aio0 (AIX)

PS: zxmaus is a lady Smilie
# 6  
Old 10-15-2010
Quote:
Originally Posted by scottn
PS: zxmaus is a lady Smilie
.... and also one of our most valuable forum members!
# 7  
Old 10-18-2010
Hello guys,

I have incresed the maxreqs value to 16384 which is 4 times than 4096;

I am getting the out of

Code:
# iostat -A 1 | awk '/avg/ {if(x!=1){print; getline; print; x=1}else{getline; print}}'

aio: avgc avfc maxg maif maxr avg-cpu: % user % sys % idle % iowait
        0    0    4 4040 16384             2.2   0.7   97.1      0.0
        0    0    0    2 16384             8.9   1.0   90.1      0.0
        0    0    0   66 16384             4.8   1.6   93.4      0.2
        0    1    0    5 16384             1.5   0.5   98.0      0.0
        0    0    0    2 16384             3.2   1.2   95.6      0.0

Does it mean currently there is no AIO request processing as "avgc" is 0 ? May be i am interpreting wrongly. I would like to observe current aio request processed by maxreqs

your kind help please.

Last edited by Scott; 10-18-2010 at 06:17 AM.. Reason: Please use code tags
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Use parameter expansion over a parameter expansion in bash.

Hello All, Could you please do help me here as I would like to perform parameter expansion in shell over a parameter expansion. Let's say I have following variable. path="/var/talend/nat/cdc" Now to get only nat I could do following. path1="${path%/*}" path1="${path1##*/}" Here... (8 Replies)
Discussion started by: RavinderSingh13
8 Replies

2. Shell Programming and Scripting

Call Script with Parameter (that has another parameter)

Hi. How do I achieve this sh /EDWH-DMT02/script/MISC/exec_sql.sh "@/EDWH-DMT02/script/others/CSM_CKC/Complete_List.sql ${file_name}" Complete_List.txt The /EDWH-DMT02/script/MISC/exec_sql.sh has two parameters and it's working fine with this sh /EDWH-DMT02/script/MISC/exec_sql.sh... (7 Replies)
Discussion started by: aimy
7 Replies

3. Shell Programming and Scripting

Resolving a parameter which is passed as parameter

Hi, I have the following files. ->cat scr.sh export TMP_DIR=/home/user/folder1 export TMP_DIR_2=/home/user/folder2 while read line do cat "$line" done<file_list.dat ------------------------ -> cat file_list.dat $TMP_DIR/file1.txt $TMP_DIR_2/file2.txt --------------------------- -> cat... (6 Replies)
Discussion started by: barath
6 Replies

4. Shell Programming and Scripting

How to get the parameter value from the parameter file in perl?

hi all, i have a parameter file of following format, i want a method which can get the value of specific parameter. parameter file format: <Parameter Name="FileLocationWindows"> <Description> The directory location of the logger file. ... (1 Reply)
Discussion started by: laxmikant.hcl
1 Replies

5. AIX

0403-027 The parameter list is too long on AIX 5.3

Hi we are using AIX 5.3 64bit I have near about 79000 log file having naming convention like "IFTMBCSun Aug 14 07:45:00 PAKST 2011". This naming convention was created by a script error, now we need to rename these log file by removing extar spaces and (:) colon for that we wrote below script ... (4 Replies)
Discussion started by: lodhi1978
4 Replies

6. Shell Programming and Scripting

Passing parameter to script, and split the parameter

i am passing input parameter 'one_two' to the script , the script output should display the result as below one_1two one_2two one_3two if then echo " Usage : <$0> <DATABASE> " exit 0 else for DB in 1 2 3 do DBname=`$DATABASE | awk -F "_" '{print $1_${DB}_$2}` done fi (5 Replies)
Discussion started by: only4satish
5 Replies

7. Shell Programming and Scripting

Command that takes one parameter and then searches for the passed in parameter

Hi I am looking for a unix command or a small shell script which can takes one parameter and then searches for the passed in the parameter in any or all files under say /home/dev/ Can anyone please help me on this? (3 Replies)
Discussion started by: pankaj80
3 Replies

8. AIX

aix:ksh: /usr/bin/rm: 0403-027 The parameter list is too long.

Hi, I am getting the below error message When i am trying to delete the files from the directory.Could you please guide me? rm *.aud ksh: /usr/bin/rm: 0403-027 The parameter list is too long. and find /oracle/admin/testP/adump/*.aud -mtime +5 -exec rm {} \; ksh: /usr/bin/find:... (3 Replies)
Discussion started by: nokiae63
3 Replies

9. AIX

AIX kernal parameter same as of solaris tcp_conn_req_max_q

I have some requirement to tune the kernal parameter but want to know which is equal to tcp_conn_req_max_q in solaris?? thanksin advance. amir (1 Reply)
Discussion started by: amiri2000
1 Replies

10. Shell Programming and Scripting

how do I make dynamic parameter names? Or get the value of a parameter evaluated twi

Say I write something like the following: var1=1 var2=2 for int in 1 2 do echo "\$var$int" done I want the output to be: 1 2 Instead I get something like: $var1 $var2 (2 Replies)
Discussion started by: Awanka
2 Replies
Login or Register to Ask a Question