Date: Tue, 20 Mar 2001 18:57:57 +0000 From: Ian Dowse <iedowse@maths.tcd.ie> To: Robert Watson <rwatson@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, iedowse@maths.tcd.ie Subject: Re: cvs commit: src/sbin/reboot reboot.c Message-ID: <200103201857.aa69023@salmon.maths.tcd.ie> In-Reply-To: Your message of "Tue, 20 Mar 2001 12:59:34 EST." <Pine.NEB.3.96L.1010320125556.77684D-100000@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.NEB.3.96L.1010320125556.77684D-100000@fledge.watson.org>, Robe rt Watson writes: > >SIGTERM, then SIGKILL to take effect. Probably, it would be nice if these >values were consistent between various programs (shutdown, init, halt...). >Not sure what the "right" values are -- the ones there seem like >potentially decent approximations. Good point. It seems that there are just two implementations of the SIGTERM->SIGKILL delay; one in init(8) and one in reboot (halt is a hard link to reboot, and shutdown(8) signals init to do the killing). The reboot/halt code had the shorter delay of 5 seconds which is probably why I noticed the problem more frequently in that case. I could implement a similar dynamic delay in init I suppose. On my laptop I was seeing page-ins occurring for about 20 seconds after the SIGTERM, so 10 seconds isn't always enough. Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi? <200103201857.aa69023>