core dump size in HP-UX (1020 Views)
Reply
Regular Advisor
Posts: 150
Registered: ‎05-28-2007
Message 1 of 6 (1,020 Views)

core dump size in HP-UX

Hi,

I want in set the core dump size to unlimited in my HP-UX 11.11 server. Please tell me how to do that.

Thanks in advance


Honored Contributor
Posts: 4,470
Registered: ‎02-13-2002
Message 2 of 6 (1,020 Views)

Re: core dump size in HP-UX

Hi,
try
the ulimit -c command
see "man ulimit"

Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33
on how to reward any useful answers given to your questions.

So far you have not awarded any points !
Acclaimed Contributor
Posts: 25,789
Registered: ‎03-06-2006
Message 3 of 6 (1,020 Views)

Re: core dump size in HP-UX

This should be the default. What does "ulimit -a" show?

I'm not sure what kernel parm sets this??
Mine seems set to coredump(blocks) 4194303, before I logon.
Exalted Contributor
Posts: 33,806
Registered: ‎08-15-2002
Message 4 of 6 (1,020 Views)

Re: core dump size in HP-UX

Shalom Hu,

This ulimit is normaly set in /etc/profile or more normally the user .profile script.

As far as your plan goes its a great way to fill up a filesystem. Be careful.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Acclaimed Contributor
Posts: 25,789
Registered: ‎03-06-2006
Message 5 of 6 (1,020 Views)

Re: core dump size in HP-UX

>SEP: This ulimit is normally set in /etc/profile or more normally the user .profile script.

I see no evidence it is set there, for me but I'm limited.
Esteemed Contributor
Posts: 830
Registered: ‎02-10-2003
Message 6 of 6 (1,020 Views)

Re: core dump size in HP-UX

Hi,
man ksh
/ulimit

to set a resource to unlimited

ulimit [-HSacdfst] unlimited

HTH,
Art
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.