Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756130AbWKRCCH (ORCPT ); Fri, 17 Nov 2006 21:02:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756131AbWKRCCH (ORCPT ); Fri, 17 Nov 2006 21:02:07 -0500 Received: from smtp-vbr17.xs4all.nl ([194.109.24.37]:14597 "EHLO smtp-vbr17.xs4all.nl") by vger.kernel.org with ESMTP id S1756130AbWKRCCE (ORCPT ); Fri, 17 Nov 2006 21:02:04 -0500 Date: Sat, 18 Nov 2006 03:02:00 +0100 From: Folkert van Heusden To: LKML , Oleg Verych Subject: Re: [PATCH] emit logging when a process receives a fatal signal Message-ID: <20061118020200.GC31268@vanheusden.com> References: <20061118010946.GB31268@vanheusden.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: www.unixexpert.nl X-Chameleon-Return-To: folkert@vanheusden.com X-Xfmail-Return-To: folkert@vanheusden.com X-Phonenumber: +31-6-41278122 X-URL: http://www.vanheusden.com/ X-PGP-KeyID: 1F28D8AE X-GPG-fingerprint: AC89 09CE 41F2 00B4 FCF2 B174 3019 0E8C 1F28 D8AE X-Key: http://pgp.surfnet.nl:11371/pks/lookup?op=get&search=0x1F28D8AE Read-Receipt-To: Reply-By: Sun Nov 19 00:08:47 CET 2006 X-Message-Flag: www.vanheusden.com User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 989 Lines: 24 Hi, > > I found that sometimes processes disappear on some heavily used system > > of mine without any logging. So I've written a patch against 2.6.18.2 > > which emits logging when a process emits a fatal signal. > Why not to patch default signal handlers in glibc, to have not only > stderr, but syslog, or /dev/kmsg copy of fatal messages? Afaik when a proces gets shot because of a segfault, also the libraries it used are shot so to say. iirc some of the more fatal signals are handled directly by the kernel. Folkert van Heusden -- www.biglumber.com <- site where one can exchange PGP key signatures ---------------------------------------------------------------------- Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/