From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: tru64@sxu.edu Newsgroups: gmane.os.tru64.managers Subject: hard vs. soft reboot Date: Thu, 20 Feb 2003 09:38:46 -0600 (CST) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <200302201538.JAA0000001061@alpha4.sxu.edu> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1045755836 6916 80.91.224.249 (20 Feb 2003 15:43:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 20 Feb 2003 15:43:56 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18lsrZ-0001n4-00 for ; Thu, 20 Feb 2003 16:43:54 +0100 Original-Received: (qmail 14978 invoked by uid 5); 20 Feb 2003 15:43:47 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 14969 invoked by uid 49493); 20 Feb 2003 15:43:47 -0000 Original-Received: from tru64@sxu.edu by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(1.9/5.0):. Processed in 0.37005 secs); 20 Feb 2003 15:43:47 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 20 Feb 2003 15:43:46 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0HAM00GJB6CWOO@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 20 Feb 2003 10:43:46 -0500 (EST) Original-Received: from alpha4.sxu.edu (alpha4.sxu.edu [64.107.80.38]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0HAM008E46CQWZ@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 20 Feb 2003 10:43:43 -0500 (EST) Original-Received: by alpha4.sxu.edu id JAA0000001061; Thu, 20 Feb 2003 09:38:46 -0600 (CST) Original-To: tru64-unix-managers@ornl.gov Xref: main.gmane.org gmane.os.tru64.managers:3393 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3393 A consultant is telling us to reboot our system (Alphaserver ES40, Tru64 V4.0G) monthly and seems to be locked into the terminology "hard boot" and "soft boot." "Hard boot" is being taken to mean shutting down and turning off the power for some period of time. He says, "...a soft reboot does not necessarily clear all your ghost threads and ports. Operating systems can still hold on to these ghost threads, hence making them unusable. However, physically shutting down the server will certainly release all of these ghost threads and free up any ports that might be getting left open. Java uses a lot of different threads during its normal execution. However, Unix was not originally intended to run multi-threaded applications. For this reason, Unix (just like Windows) can hold on to some of these threads and not properly close them. That is where physically shutting down the server comes in. I hope this clarifies things a little more." My position is that it is certainly not necessary to power off the hardware when rebooting the system. My position is also that regardless of whether we do shutdown -r to reboot the system or shutdown -h to halt the system, in both cases the operating system comes all the way down and that we should not think of one as "soft" and the other as "hard." In fact, shutdown -r would be prefereable since it can be done remotely or unattended, rather than the physical presence of someone to type "boot" at the console prompt which would be needed if we did shutdown -h. Am I wrong?