Skip navigation

reboot server on a regular basis?

735 Views 3 Replies Latest reply: Aug 29, 2013 8:43 PM by Gerard Zasuwa RSS
DaiVernon Level 1 Level 1 (0 points)
Currently Being Moderated
Nov 28, 2011 5:18 AM

Would it be good practice to reboot OS Xserver (via energy saver prefs scheduling) on a regular basis ( say once a month,  over a weekend)?

Server would come back to the login window, but services would be available to clients on Monday morning?

 

... or just leave Xserve running till choosing to apply software updates, forcing a restart (this would be more inconvenient to active clients during the working week [Mon-Fri])...

Mac mini, Mac OS X (10.6.7), Macbooks, MacBook Pros, iMacs
  • John Lockwood Level 5 Level 5 (5,075 points)
    Currently Being Moderated
    Nov 28, 2011 5:18 AM (in response to DaiVernon)

    In the past it was often considered good practice to regularly reboot servers to improve reliability, however this probably dates back to Windows NT Server which was notorious about needing this.

     

    I personally, and I would expect most Mac OS X Server admins, now only reboot if there is an actual need such as wanting to install an upgrade or additional software needing a reboot. My servers otherwise are running for months at a time.

     

    If you do want to set up a regular auto-reboot, there is no built-in command to do this, but you could use Energy-Saver to set the server to shutdown at say 4am on a Sunday, and to turn on at 4:30am on Sunday.

  • Zlyx Calculating status...
    Currently Being Moderated
    Nov 29, 2011 12:57 PM (in response to DaiVernon)

    My experience is as John's.

     

    I schedule a daily sleep of the server in the early morning, but I only restart after a drive repair.  Both of these may be holdovers from when we first got the server some years ago.

  • Gerard Zasuwa Calculating status...
    Currently Being Moderated
    Aug 29, 2013 8:43 PM (in response to DaiVernon)

    I never reboot my servers unless I have a drive failure.  I monitor the system logs and this alerts me to something amiss.  My 4 servers have a typical uptime in excess of 500 days and still counting.  All is very stable unless there is a hardware issue. Running 10.7.5 OS X.  Who needs to work weekends?

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.