Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Oct 2004 15:33:33 +0200
From:      cpghost@cordula.ws
To:        Giorgos Keramidas <keramida@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: delayed process exit
Message-ID:  <20041022133333.GA561@bsdbox.farid-hajji.net>
In-Reply-To: <20041022112947.GA96234@orion.daedalusnetworks.priv>
References:  <20041022112947.GA96234@orion.daedalusnetworks.priv>

next in thread | previous in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041022133333.GA561>