11-15-2007
There are 2 ways
Editing the limits file (take efect after reboot)
edit /etc/security/limits
instant change to the settings ( logout and back in to take efect )
chuser rss=-1 username
chuser fsize=-1 username
chuser data=-1 username
chuser nofiles=4000 username
chuser "stack=8388608" username
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
as per my Unix admin all parameters in Ulimit are set to Unlimited in Hard limits but some how few profiles setting data segment part to limited number value. So i wanted to over write in my profile to set unlimited as hard limits are set to unlimited. What is the command to set ulimit for... (1 Reply)
Discussion started by: terala_s
1 Replies
2. AIX
Hi all
Can any1 tell me how to check the AIX version on my server.
I have used uname -a but it does not give a specific version number. (4 Replies)
Discussion started by: masquerer
4 Replies
3. AIX
Anyone can help me explain the mean of AIX 5L 5.3 ML3
I don't know "what re - 5L mean and ML3 mean "
Tks all. (2 Replies)
Discussion started by: quan0509
2 Replies
4. AIX
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... (4 Replies)
Discussion started by: filosophizer
4 Replies
5. AIX
I have been given multiple years of login files to determine workload. How do I determine the year in regards to the login. This is what is looks like now.
witkoaxdm/_0Sep 13 07:45 still logged in.
thank you (1 Reply)
Discussion started by: wildchild
1 Replies
6. HP-UX
Hi all
I have a request from user to change the file descriptors limit to 8192. The current setting are:
root@xxxxx:(wmdev)> ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 131072
memory(kbytes) unlimited... (3 Replies)
Discussion started by: hedkandi
3 Replies
7. AIX
Hello,
I've set up email alerts on AIX Servers. so that i can get email notifications (via mail relay server) when ever there is abnormal behavior.
for example
1) my script monitors CPU/disk/memory etc... when it reaches high water ark, it will send an email alert.
2) disk usage alerts
3)... (5 Replies)
Discussion started by: System Admin 77
5 Replies
8. 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
9. UNIX for Beginners Questions & Answers
Hi,
I would like to upgrade my AIX box 6.1 to 7.1/7.2.
Current info of my AIX 6.1 box
/ > oslevel -s
6100-09-11-1810
System Model: IBM,9117-MMD
Machine Serial Number: xxx
Processor Type: PowerPC_POWER7
Processor Implementation Mode: POWER 7
Processor Version: PV_7_Compat
Number Of... (10 Replies)
Discussion started by: Phat
10 Replies
10. UNIX for Advanced & Expert Users
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
LEARN ABOUT DEBIAN
ulimit
ULIMIT(3) Linux Programmer's Manual ULIMIT(3)
NAME
ulimit - get and set user limits
SYNOPSIS
#include <ulimit.h>
long ulimit(int cmd, long newlimit);
DESCRIPTION
Warning: This routine is obsolete. Use getrlimit(2), setrlimit(2), and sysconf(3) instead. For the shell command ulimit(), see bash(1).
The ulimit() call will get or set some limit for the calling process. The cmd argument can have one of the following values.
UL_GETFSIZE
Return the limit on the size of a file, in units of 512 bytes.
UL_SETFSIZE
Set the limit on the size of a file.
3 (Not implemented for Linux.) Return the maximum possible address of the data segment.
4 (Implemented but no symbolic constant provided.) Return the maximum number of files that the calling process can open.
RETURN VALUE
On success, ulimit() returns a nonnegative value. On error, -1 is returned, and errno is set appropriately.
ERRORS
EPERM A unprivileged process tried to increase a limit.
CONFORMING TO
SVr4, POSIX.1-2001. POSIX.1-2008 marks ulimit() as obsolete.
SEE ALSO
bash(1), getrlimit(2), setrlimit(2), sysconf(3)
COLOPHON
This page is part of release 3.44 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 2008-08-06 ULIMIT(3)