Operating System - HP-UX
1753767 Members
5518 Online
108799 Solutions
New Discussion

Re: change ulimit value to unlimited

 
SOLVED
Go to solution
Kathryn Paczowski_1
New Member

change ulimit value to unlimited

I have to ulimit questions:

1) How do I change ulimited values to unlimited?

2) Which ulimit values correspond with which kernel parameter?

Thanks
1 REPLY 1
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: change ulimit value to unlimited

Hi Kathryn,

Somehow I bet you are running ksh and somehow I bet you are running oracle scripts that do a
#!/usr/bin/ksh.

If you are running ksh then you can't. Can you possibly switch to the POSIX shell; then by default ulimit is unlimited.

I can suggest a workaround since almost anything that will run in ksh in execute in the POSIX sh.
1) cd /usr/bin
2) cp ksh ksh.orig
3) cp sh ksh

As for your second question (again this applies to the POSIX shell):

ulimit -d --> maxdsiz
ulimit -s --> maxssiz
ulimit -n --> maxfiles

Hope this helps, Clay

If it ain't broke, I can fix that.