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

