10 More Discussions You Might Find Interesting
A coredump is being created by one of our applications on Solaris server and occupying entire space on the mount, thereby bringing down the application.
While we try to identify the root cause, i tried to limit to limit the size of the core dump.
Executed below command in shell and also updated... (2 Replies)
Discussion started by: kesani
Our application team is asking me to set ulimit parameter in my AIX 6.1 TL8 box.
Some of them i set already.
address space limit (kbytes) (-M) unlimited
locks (-L) unlimited
locked address space (kbytes) (-l) 64
nice (-e) ... (3 Replies)
Discussion started by: sunnybee
Trying to figure out the best method of security for oracle user accounts. In Solaris 10 they are set as regular users but have nologin set forcing the dev's to login as themselves and then su to the oracle users.
In Solaris11 we have the option of making it a role because RBAC is enabled but... (1 Reply)
Discussion started by: os2mac
4. Red Hat
The root user runs the following
ulimit -a | grep open
and gets a result of
open files (-n) 8162
A user runs the same command and gets a result of
open files (-n) 2500
How can you set the ulimit of the user to... (2 Replies)
Discussion started by: jsanders
Hello, could you help me please?
I write in command line: "ulimit 500"
-> i've set the max size of 512-bytes blocks that i can write in one file.
But when after it i use ulimit.3c in my program: "ulimit(UL_GETFSIZE);"
the result turns out 1000. Why is it so? They always differ so that one is... (2 Replies)
Discussion started by: Zhenya_
6. UNIX for Advanced & Expert Users
Our SA is considering setting the max open files from 2048 to 30K. This sounds like a drastic change. Does anybody have an idea of the negative impacts of increasing the open files too high? Would like to know if this change could negatively impact our system. What test should we run to... (2 Replies)
Discussion started by: wcrober
how do i check the ulimit set on my server..
ca i know whats the command ??
thanks in advance .. (5 Replies)
Discussion started by: expert
8. UNIX for Advanced & Expert Users
I changed the standard Ulimit sometime back. But when I change it back, the setting does not get updated.
How do I make the change permanent
Waitstejo (7 Replies)
Discussion started by: Waitstejo
9. Shell Programming and Scripting
How do i set ulimit for user (4 Replies)
Discussion started by: Krrishv
How do you make the ulimit values permanent for a user?
by default, the root login has the following ulimits:
# ulimit -a
memory(kbytes)... (2 Replies)
Discussion started by: kiem
ulimit(3) Library Functions Manual ulimit(3)
ulimit - Sets and gets process limits
Standard C Library (libc.so, libc.a)
long int ulimit (
Interfaces documented on this reference page conform to industry standards as follows:
Refer to the standards(5) reference page for more information about industry standards and associated tags.
Specifies the form of control. The command parameter can have the following values: Returns the soft file size limit of the process. The
limit is reported in 512-byte blocks (see the sys/param.h file) and is inherited by child processes. The function can read files of any
The return value is the integer part of the soft file size limit divided by 512. If the result cannot be represented as a long int,
the result is unspecified. Sets the hard and soft process file size limit for output operations to the value of the second parame-
ter, taken as a long int value, and returns the new file size limit. Any process can decrease its own hard limit, but only a
process with superuser privileges can increase the limit.
The hard and soft file size limits are set to the specified value multiplied by 512. If the result would overflow an rlim_t, the
actual value set is unspecified. [Tru64 UNIX] Returns the maximum possible break value as described in the brk(2) reference page.
The ulimit() function controls process limits.
During access to remote files, the process limits of the local node are used.
The ulimit() function is implemented with calls to setrlimit(). The two interfaces should not be used in the same program. The result of
doing so is undefined.
Upon successful completion, ulimit() returns the value of the requested limit and does not change the setting of errno. Otherwise, a value
of -1 is returned, and errno is set to indicate the error.
If the ulimit() function fails, the limit remains unchanged and errno is set to one of the following values: The command parameter is
invalid. A process without appropriate system privileges attempted to increase its file size limit.
As all return values are permissable in a successful situation, an application wishing to check for error situations should set errno to 0,
then call ulimit(), and, if it returns -1, check to see if errno is nonzero.
Functions: brk(2), getrlimit(2), write(2)