From owner-freebsd-current@FreeBSD.ORG Sat Oct 22 12:24:43 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3677916A41F for ; Sat, 22 Oct 2005 12:24:43 +0000 (GMT) (envelope-from PeterJeremy@optushome.com.au) Received: from mail04.syd.optusnet.com.au (mail04.syd.optusnet.com.au [211.29.132.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B58343D46 for ; Sat, 22 Oct 2005 12:24:42 +0000 (GMT) (envelope-from PeterJeremy@optushome.com.au) Received: from cirb503493.alcatel.com.au (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail04.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id j9MCOTX4032454 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sat, 22 Oct 2005 22:24:30 +1000 Received: from cirb503493.alcatel.com.au (localhost.alcatel.com.au [127.0.0.1]) by cirb503493.alcatel.com.au (8.12.10/8.12.10) with ESMTP id j9MCOTHh039790; Sat, 22 Oct 2005 22:24:29 +1000 (EST) (envelope-from pjeremy@cirb503493.alcatel.com.au) Received: (from pjeremy@localhost) by cirb503493.alcatel.com.au (8.12.10/8.12.9/Submit) id j9MCOTjV039789; Sat, 22 Oct 2005 22:24:29 +1000 (EST) (envelope-from pjeremy) Date: Sat, 22 Oct 2005 22:24:29 +1000 From: Peter Jeremy To: Mikhail Teterin Message-ID: <20051022122429.GC39000@cirb503493.alcatel.com.au> References: <200510211100.48429@aldan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200510211100.48429@aldan> User-Agent: Mutt/1.4.2.1i X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc Cc: current@freebsd.org Subject: Re: Why page-in a SIGKILL-ed process? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Oct 2005 12:24:43 -0000 On Fri, 2005-Oct-21 11:00:48 -0400, Mikhail Teterin wrote: >17850 mi 1 -16 0 4158M 1118M wdrain 1 0:06 6.10% vim > >The question is: Why bother with paged-out parts of the process, when it >is already doomed by SIGKILL? wdrain appears to be associated with file I/O rather than paging (though I may be wrong here). Is it possible that vim had started core-dumping before you SIGKILL'd it? I've seen problems on other OS's where core-dumping processes couldn't be killed and caused significant performance degradation if they were very large. -- Peter Jeremy