Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Wes Bauske" <wsb@paralleldata.com>
To: axp-list@redhat.com
Subject: Re: Dead jobs
Date: Mon, 01 Mar 1999 18:51:21 -0600	[thread overview]
Message-ID: <36DB3609.1F026744@paralleldata.com> (raw)
In-Reply-To: 19990301160352.C22718@xcski.com

Paul Tomblin wrote:
> 
> Quoting Wes Bauske (wsb@paralleldata.com):
> > > As a last resort, "kill -9 pid".  But only after you've tried other means of
> > > killing a program, because "kill -9" is a hard kill, and doesn't give a
> > > program a chance to catch the signal and clean up before dying.
> > >
> >
> > I always use a "kill -11 pid" first to see if a SEGV will
> > make it go away gracefully before trying a kill -9.
> >
> > I occasionally see Netscape hang in a hard cpu loop and
> > sending it a kill -11 makes it go away.
> 
> A regular unadorned "kill pid" or "kill -TERM pid" will usually have the same
> effect, and without the annoying core file that a SEGV will leave.  (Unless
> you set your ulimit for core to zero, then you don't have them to deal with).
> 

You'd think so, but it doesn't. Apparently Netscape messes
with it's signal handlers and traps the standard kill. Core
files are a nit... I don't usually care whether they occur
or not. If you want to get rid of them, do a 

find / -name core -exec rm {} \;

Or, to automate it, have cron do it...


Wes


  reply	other threads:[~1999-03-02  0:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-01 17:31 Dead jobs Jacek Perry
1999-03-01 18:06 ` Paul Tomblin
1999-03-01 18:56   ` Wes Bauske
1999-03-01 21:03     ` Paul Tomblin
1999-03-02  0:51       ` Wes Bauske [this message]
1999-03-02 12:11         ` Phil Carmody
1999-03-01 18:11 ` Cornelius Creedon
1999-03-01 18:17 ` B. James Phillippe
1999-03-01 19:12   ` Wes Bauske
1999-03-01 20:15     ` mgraffam
1999-03-01 18:34 ` Frank C. Brants
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox