Date: Tue, 20 Mar 2001 09:22:49 -0800 (PST) From: Ian Dowse <iedowse@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/reboot reboot.c Message-ID: <200103201722.f2KHMnY75039@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
iedowse 2001/03/20 09:22:48 PST Modified files: sbin/reboot reboot.c Log: Reboot(8) normally waits 5 seconds after sending SIGTERMs to all processes and then sends SIGKILLs. If a lot of processes are swapped out, this delay may not be long enough, so processes such as an X server may be killed before they have had time to clean up properly. Make this delay more dynamic by waiting up to 60 seconds for swap page-in activity to end. While I'm here, ANSIfy and remove a `register' specifier. Revision Changes Path 1.10 +33 -11 src/sbin/reboot/reboot.c 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?200103201722.f2KHMnY75039>