1827294 Members
3463 Online
109717 Solutions
New Discussion

ulimit

 
navin
Super Advisor

ulimit

Could you please let me know how should i set ulimit to unlimited in my pa risc hpux system
thanks
Learning ...
6 REPLIES 6
navin
Super Advisor

Re: ulimit

set ulimit to umlimited for coredumps
thanks
Learning ...
Tim Nelson
Honored Contributor

Re: ulimit

by most installations ulimit defaults to unlimited and only restricted by maxX_size* kernel params.

Post the output of ulimit -a

navin
Super Advisor

Re: ulimit

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

Thanks
Learning ...
Tim Nelson
Honored Contributor

Re: ulimit

data(kbytes) 1048576
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 2048

so..

data is limited to kernel setting ( probably )
same with stack
coredump to 4M blocks ( @ 512 that is about 2G @ 1k blocks that is 4G )
nofiles limited to kernel setting.

now I assume you are looking to see how to increase your process dump size to something larger ?

navin
Super Advisor

Re: ulimit

yes i was asked to set ulimit -c to unlimited.how do i do that. for my other sun boxes...i have specified this info in /etc/profile.is this same for hp
thanks much
Learning ...
Steven Schweda
Honored Contributor

Re: ulimit

> [...] my pa risc hpux system.

Do you think that this describes it well?
(Oh, _your_ HP-UX system. I suppose that I
should know all about it.)

td176> ulimit -c
4194303
td176> ulimit -c unlimited
td176> ulimit -c
unlimited

td176> type ulimit
ulimit is a shell builtin.

So, things may depend on your shell, too, and
you haven't disclosed that, either.

"man sh"
"man "

td176> uname -a
HP-UX td176 B.11.23 U ia64 1928826293 unlimited-user license