Operating System - HP-UX
1753862 Members
7288 Online
108809 Solutions
New Discussion юеВ

Re: how to change ulimit permanenlty

 
Aungshuman Paul
Regular Advisor

how to change ulimit permanenlty

Hi,

I know how to change ulimit value in commnad line. But when I logout this value is vanish.
Can anyone help how to set the below ulimit value unlimited permantly by changing profile:

# ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 4096

Aungshu
5 REPLIES 5
soandy
Frequent Advisor

Re: how to change ulimit permanenlty

Raj D.
Honored Contributor

Re: how to change ulimit permanenlty

Aungshuman,

Check out the Knowledge base:

http://www11.itrc.hp.com/service/cki/docDisplay.do?docId=emr_na-c00905065-6

" If u think u can , If u think u cannot , - You are always Right . "
Aungshuman Paul
Regular Advisor

Re: how to change ulimit permanenlty

Hi,

I found what I have to do. But my current problem is the nofiles values shows for CDE enviornment. I already put all value in .dtprofile. But it shows correct for all value except nofiles.

Any idea ?

Aungshu
Ricky_HK
Frequent Advisor

Re: how to change ulimit permanenlty

Just add your ulimit commands in ~/.profile, it will effective upon login.
Dennis Handly
Acclaimed Contributor

Re: how to change ulimit permanenlty

>But it shows correct for all value except nofiles.

CDE is probably using dtksh, which seems to work.
If using ksh, you need to invoke "/usr/bin/ulimit -a"