Suggestion


Subject: Suggestion
From: Jim Cole (greyleaf@yggdrasill.net)
Date: Mon Jul 24 2000 - 00:46:15 MDT


Hi - I may have some of this wrong, so please feel free to correct me...

In /etc/rc.d/init.d/functions, the daemon() function includes

ulimit -c 0

Wouldn't it be much better to make this

ulimit -S -c 0

If I understand correctly, when you use neither -S nor -H ulimit defaults
to setting a hard limit. It seems to me that keeping daemons from dumping
a core files is not a reason for setting hard limits. I probably missed
something obvious along the way, but as far as I can tell, setting a hard
limit at this point makes it all but impossible to log in remotely and
adjust the coredumpsize when one needs to do some real development (or
more accurately, try to figure out what they screwed up while trying to
do real development;) In any case, it seems like adding -S would solve a
couple problems without doing any damage.

I believe this change would also address the problem that results in
repeated posts regarding

limit: coredumpsize: Can't set limit

when using tcsh. It would certainly be a better solution than just telling
people to comment out the offending line in csh.login =)

Jim



This archive was generated by hypermail 2a24 : Mon Jul 24 2000 - 00:49:54 MDT