1847300 Members
2869 Online
110264 Solutions
New Discussion

Re: ulimit

 
IZN
Occasional Contributor

ulimit

Hi,
I would like to increase the ulimit parameters.

data seg size is 1,048,576 and should be 2,045,464
corefilesize is 2,097,151 and shuld be 4,164,303
ulimit -n is 1,024 and shuld be 2,048


Which of the kernel parameters are to modifi to increase the ulimit size?

Many thanks
6 REPLIES 6
Alex Lavrov.
Honored Contributor

Re: ulimit

Unlimit values are changed with "ulimit" command and they depends on the kernel parameters.

"data seg size" is corresponding to maxdsiz parameter.

core file: Bourne-style shells: "ulimit -c 0"
C-style shells: "limit coredumpsize 0"


These threads can help you a lot:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=813713
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=728058

Alex.
I don't give a damn for a man that can only spell a word one way. (M. Twain)
IZN
Occasional Contributor

Re: ulimit

Hi,
you can modify the "ulimit -d" by the kernel parameter maxdsize.
and the "ulimit -n" can modify by masfile.
But I haven't found the corefilesieze (ulimit -c)
"ulimit -c 0" will not unlimit the size I think. It will be set to 0...
IZN
Occasional Contributor

Re: ulimit

Hi,
you can modify the "ulimit -d" by the kernel parameter maxdsize.
and the "ulimit -n" can modify by maxfile.
But I haven't found the corefilesieze (ulimit -c)
"ulimit -c 0" will not unlimit the size I think. It will be set to 0...
morganelan
Trusted Contributor

Re: ulimit

Hi,
I think this following kernel parameters that must be changed according to ulimit changes:
maxdsiz,maxdsiz_64bit
Kamal Mirdad
Bill Hassell
Honored Contributor

Re: ulimit

NOTE: ulimit -c 0 means that *NO* corefile will be created at all. The easiest method is to set ulimit -c to "unlimited":

ulimit -c unlimited

Note that ulimit refers to programs, not an OS crash dump. There is no kernel parameter to limit the size of a program core dump.


Bill Hassell, sysadmin
Balasubramanian S
Frequent Advisor

Re: ulimit

Note: When you set the resource values through the ulimit command, it affects only the current execution environment.

Thanks, Bala S