Monday Dec 04, 2006
s/getrlimit
getrlimit and setrlimit are the system calls that application processes
could use to get and set resource sizes.
useful resources such STACK_LIMIT, CPU time in msecs can be tweaked.
These are power syscalls and should be used in given process context.
POSIX also allow similar tweaking for application thread stack
sizes using pthread_attr_g/setstackzise. care should be taken using these.
The default values are usually good enough for most of the cases.
Also,
Solaris provide RLIMIT_AS and RLIMIT_VMEM to allow process Address space
manipulations.
later,
Posted at 07:10PM Dec 04, 2006 by ddeepti in General |
Comments: