[Pacemaker] kernel.core_uses_pid and ulimit -c

Lars Ellenberg lars.ellenberg at linbit.com
Thu Jun 4 11:41:51 UTC 2009


On Thu, Jun 04, 2009 at 08:54:26AM +0200, Florian Haas wrote:
> On 06/04/2009 08:42 AM, Andrew Beekhof wrote:
> > On Thu, Jun 4, 2009 at 8:40 AM, Florian Haas <florian at linbit.com> wrote:
> >> Andrew, Dejan et al.,
> >>
> >> The TODO page at http://clusterlabs.org/wiki/TODO states that Pacemaker
> >> now automagically sets the kernel.core_uses_pid sysctl to ease
> >> debugging. Wouldn't it make sense to check the currently set "ulimit -c"
> >> too, and at least issue a warning message on startup if that ulimit is
> >> set to zero?
> > 
> > Not a bad idea
> 
> Enhancement request filed:
> 
> http://developerbugs.linux-foundation.org/show_bug.cgi?id=2129

not necessary, and I'd even recommend against it.
it does already use setrlimit for that.
at least it does that for me, using cl_plumbing, cl_enable_coredumps(1).

so I'd not want to enable coredumps "globally".  I don't want some
random core files from novell-zislnxd lying around somewhere ;-)

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.




More information about the Pacemaker mailing list