From owner-freebsd-current@FreeBSD.ORG Fri Oct 22 13:32:13 2004 Return-Path: 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 A0A7416A4CE; Fri, 22 Oct 2004 13:32:13 +0000 (GMT) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1170643D31; Fri, 22 Oct 2004 13:32:13 +0000 (GMT) (envelope-from cpghost@cordula.ws) Received: from bsdbox.farid-hajji.net (bsdbox [192.168.254.3]) by fw.farid-hajji.net (Postfix) with ESMTP id F142A4AC85; Fri, 22 Oct 2004 15:31:16 +0200 (CEST) Date: Fri, 22 Oct 2004 15:33:33 +0200 From: cpghost@cordula.ws To: Giorgos Keramidas Message-ID: <20041022133333.GA561@bsdbox.farid-hajji.net> References: <20041022112947.GA96234@orion.daedalusnetworks.priv> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041022112947.GA96234@orion.daedalusnetworks.priv> User-Agent: Mutt/1.5.6i cc: freebsd-current@freebsd.org Subject: Re: delayed process exit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Fri, 22 Oct 2004 13:32:13 -0000 On Fri, Oct 22, 2004 at 02:29:47PM +0300, Giorgos Keramidas wrote: > Some times, in a seemingly unpredictable manner, exiting processes take > a lot of time to finish. I'm seeing this almost every time I exit > Emacs, because bash takes a long time to show me a shell prompt. This is a known issue, that has AFAICS not yet been solved (at least not MFC-ed in RELENG_5 as of Oct. 21st). The problem is not with the exiting process, but with the wakeup of its parent. There seems to be some bug in the scheduler that results in LONG (1 to 5 seconds) delays to wakeup processes that have been swapped out. Nearly every swapped out process can be affected by this bug. Regards, cpghost. -- Cordula's Web. http://www.cordula.ws/