public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Michael Sinz <msinz@wgate.com>
To: Alan Cox <alan@redhat.com>
Cc: linux-kernel@vger.kernel.org, torvalds@transmeta.com
Subject: Re: [PATCH] kernel 2.5.5 - coredump sysctl
Date: Wed, 27 Feb 2002 10:38:50 -0500	[thread overview]
Message-ID: <3C7CFD8A.8365878D@wgate.com> (raw)
In-Reply-To: <200202271405.g1RE5EK15866@devserv.devel.redhat.com>

Alan Cox wrote:
> 
> > BTW - are you looking at merging this into your tree (2.5 and/or 2.4)?
> > I belive I can continue doing the patching here but it would be nice
> > to have this generally available as some people (consulting clients of mine)
> > don't want to run kernels that I build but only ones from RedHat...
> 
> I still can't decide if its worth the extra complexity.
> 
> I don't btw think the '/' is a big problem - only root can set the core
> dump path, and current->comm is the "true" name of the program so won't
> have a / in it

Just call me paranoid...

As to the extra complexity - it is rather minor change in code and provides
a way to (a) get core dump names with program names and not just "core"
and (b) place code dump files somewhere else.

The second item is the major one for us since most of the "disk" is
read-only and thus core dumps just don't happen there.  (Almost all of
the disk is read-only infact.  The only writable place is the /cores
directory and the tmpfs /etc, /var, and /tmp  Everything else in our
clusters are either via the database or via other network protocols
that are optimized for the traffic load, load balancing, and fail-over.

Plus, I really like this on my local machine since the core file cleanup
is now a simple cleanup in a single directory rather than a find across
the whole disk looking for coredump files.

The good thing is that the patch goes in rather cleanly right now
(albeit I need a different one for the SGI tree due to a sysctl
numbering conflict for their kdb)

-- 
Michael Sinz ---- Worldgate Communications ---- msinz@wgate.com
A master's secrets are only as good as
	the master's ability to explain them to others.

      reply	other threads:[~2002-02-27 15:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-21 14:33 [PATCH] kernel 2.5.5 - coredump sysctl Michael Sinz
2002-02-21 15:12 ` Alan Cox
2002-02-21 15:41   ` Michael Sinz
2002-02-21 15:50     ` Alan Cox
2002-02-27 13:33       ` Michael Sinz
2002-02-27 14:05         ` Alan Cox
2002-02-27 15:38           ` Michael Sinz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3C7CFD8A.8365878D@wgate.com \
    --to=msinz@wgate.com \
    --cc=alan@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox