AIX 6.1 Kernal Parameters ulimit


 
Thread Tools Search this Thread
Operating Systems AIX AIX 6.1 Kernal Parameters ulimit
# 1  
Old 12-06-2009
AIX 6.1 Kernal Parameters ulimit

Hello,

How can I setup the ulimit for memory permanent

ulimit -m unlimited
ulimit -a Output from the ulimit command should be similar to the following:time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 2097152
stack(kbytes) 32768
memory(kbytes) unlimited
coredump(blocks) 2097151
nofiles(descriptors) 8192

but after I reboot the system, ulimit -m gives me
memory(kbytes) 32768

That's one issue and the other one is

getconf ARG_MAXgives me: something 288124

but i want to make it above 524288 ; so i run the command chdev -l sys0 -a ncargs=128
it gives me error
but if I run --> chdev -l sys0 -a ncargs=512 it works
but
getconf ARG_MAX doesn't give me 524288

Someone faced same problem ?

thanks
# 2  
Old 12-06-2009
you don't have to adjust kernel parameters. check the chuser command or /etc/security/limits file. you can set a system wide default or at the per-user level.


ncargs is how much memory is used
arg_max is the length of the parameter list + environment

Do you really need to send 500k of data as an argument?
# 3  
Old 12-07-2009
yes, i am aware of that.

But my question was for default values and only the value for memory gets reset after a reboot !

also, arg_max > 500k is required for oracle.

any solutions ?
# 4  
Old 12-07-2009
Quote:
Originally Posted by filosophizer
But my question was for default values and only the value for memory gets reset after a reboot !
you can change the memory parameters at the user level. use the chuser command or editing /etc/security/limits. a reboot is not required but any processes would need to be restarted for this to take effect.


after changing ncargs to 512 what was the output of lsattr? It should be larger and that is ok in your case.
# 5  
Old 12-08-2009
Quote:
Originally Posted by frank_rizzo
a reboot is not required but any processes would need to be restarted for this to take effect.
IIRC the affected user has to log in anew for the changed ulimits to take effect.

I hope this helps.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

AIX change ulimit for a user

I have seen two different ways for changing the ulimit for a user in aix. Which one is better? Option 1 edit /etc/security/limits oracle: fsize = -1 data = -1 stack = -1 fsize_hard = -1 nofiles = -1 nofiles_hard = -1 Option 2 ... (6 Replies)
Discussion started by: cokedude
6 Replies

2. AIX

What are the ideal ulimit settings for root user in AIX?

Hi, what are the ideal/best/recommended ulimit settings for a root user in AIX? I understand that it depends on our environment. But I would like to know...what are settings you guys use in your environment for best performance. default: fsize = 2097151 core = 2097151 ... (8 Replies)
Discussion started by: System Admin 77
8 Replies

3. AIX

Network tuning parameters on AIX

Hi, we've a gigabit Ethernet adapter. And we wanted to improve the performance by tuning network parameters. so' as per IBM info center, http://publib.boulder.ibm.com/infocenter/aix/v7r1/index.jsp?topic=%2Fcom.ibm.aix.prftungd%2Fdoc%2Fprftungd%2Fnetw_opt.htm we tried changing the tuning... (2 Replies)
Discussion started by: System Admin 77
2 Replies

4. AIX

Where is the same TCP parameters in AIX?

I am try to tuning a parameter in AIX 5L and 6 (for performance issue.) I find a link(https://forums.oracle.com/forums/thread.jspa?threadID=886358) The thread mention two parameter below, I can use "ndd" command to tuning. tcp_deferred_ack_interval = 2 tcp_deferred_ack_max = 2 but I... (3 Replies)
Discussion started by: nnnnnnine
3 Replies

5. Solaris

Kernal Parameters

Hi, Can you please let me know about kernal parameters? Where we can see that kernal parameters? we are using System = SunOS 5.10. Please let me know commands to see these kernal parameters file or files. (1 Reply)
Discussion started by: kancherla.sree
1 Replies

6. 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

7. AIX

how to set the ulimit on AIX 5.2 version?

how to set the ulimit on AIX 5.2 version? (3 Replies)
Discussion started by: Shilpi
3 Replies

8. UNIX for Advanced & Expert Users

How to Find AIX system parameters

System Parameters: maximum number of processes = 2048 Network parameters: ipqmaxlen - 512 rfc1323 - 1 sb_max - 1310720 (2*655360) tcp_recvspace - 65536 tcp_sendspace - 65536 Udp_recvspace - 655360 Udp_sendspace 65536 (1 Reply)
Discussion started by: R00tSc0rpi0n
1 Replies

9. Cybersecurity

AIX: Default Password Parameters

I am working on AIX flavor of Unix and was trying to run a script to obtain default settings of user passwords. The script uses the command to obtain default valid user attributes for: /etc/security/user for some reason, the message says- cat: cannot open /etc/security/user... (1 Reply)
Discussion started by: eysheikah
1 Replies

10. Filesystems, Disks and Memory

kernal parameters on Linux 7.3

Hi all, I am running 7.3 Redhat Linux, I have Oracle database running on it and I have some problem with the memory. every time I startup the database, the memory was peak up to 630M of Ram out 640M ram on the entire box and I didn't specify that much of memory on my database. Oracle advise me... (2 Replies)
Discussion started by: lapnguyen
2 Replies
Login or Register to Ask a Question