need help on setting ulimit -c unlimited

Hello,

I need help in setting ulimit -c (for coredump size to unlimited). For this I have in /etc/profile the following.

..........

case "$0" in

-ksh | -sh )

ulimit -c unlimited

ulimit -H -c unlimited

;;

-csh | -tcsh )

unlimit coredumpsize

;;

esac

--

But when I login and check with 'ulimit -a' its showing the coredump size is zero and not unlimited.

--

$ ulimit -a

time(seconds) unlimited

file(blocks) unlimited

data(kbytes) unlimited

stack(kbytes) 8192

coredump(blocks) 0

nofiles(descriptors) 8192

memory(kbytes) unlimited

-

I also get the following error while login (I use ksh):

/etc/profile[46]: ulimit: exceeds allowable limit

/etc/profile[47]: ulimit: exceeds allowable limit

-

It shows somewhere else there is some limit set. Please help/advise how to fix this.

Thanks

Randip Malakar

[981 byte] By [Randip_Malakara] at [2007-11-27 3:04:20]
# 1
Check personal .profile if there's ulimit the coredump file size, it looks like when you reset the coredump file size to a limitation, then you can't reset it back to 'unlimited', except your are 'root'.Message was edited by: davistai@gmail.com
davistai@gmail.coma at 2007-7-12 3:48:46 > top of Java-index,General,Maintenance...