From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 15327 invoked from network); 2 Mar 1999 00:54:15 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 2 Mar 1999 00:54:15 -0000 Received: from paralleldata.com (smtp.paralleldata.com [38.153.145.2]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id TAA30834 for ; Mon, 1 Mar 1999 19:51:16 -0500 Received: by paralleldata.com from localhost (router,SLMail V2.5); Mon, 01 Mar 1999 18:54:25 -0600 Received: by paralleldata.com from paralleldata.com (207.158.111.235::mail daemon; unverified,SLMail V2.5); Mon, 01 Mar 1999 18:54:24 -0600 Sender: "Wsb" Message-ID: <36DB3609.1F026744@paralleldata.com> Date: Mon, 01 Mar 1999 18:51:21 -0600 From: "Wes Bauske" Organization: Parallel Data Systems X-Mailer: Mozilla 4.07 [en] (X11; I; Linux 2.0.36 i686) MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: Dead jobs References: <19990301173135.19071.rocketmail@send205.yahoomail.com> <19990301130635.A17584@xcski.com> <36DAE2CE.F1CB4BBD@paralleldata.com> <19990301160352.C22718@xcski.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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