DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 21st October 2010
semarmendemx semarmendemx is offline
Real Name: semarmendemx
New User
 
Join Date: Sep 2008
Location: bandung
Posts: 4
Thanked 0 Times in 0 Posts
Default reboot freebsd periodically

Hi,

I have a freebsd 7.1 box running the following services:
  • web server
  • dns server
I'm curious whether there are any requirements from best practice point of view to restart freebsd box periodically. I mean literally restart the server, not just restarting the services running on it.

Thank you
Reply With Quote
  #2   (View Single Post)  
Old 21st October 2010
rocket357's Avatar
rocket357 rocket357 is offline
Real Name: Jonathon
Wannabe OpenBSD porter
 
Join Date: Jun 2010
Location: 127.0.0.1
Posts: 322
Thanked 9 Times in 9 Posts
Default

Quote:
Originally Posted by semarmendemx View Post
I'm curious whether there are any requirements from best practice point of view to restart freebsd box periodically.
That seems to be conventional thinking with regards to Windows servers, but I've never known it to be recommended for any Linux or *BSD server. Many of my Linux systems have been up and running 900 days, though I do follow the OpenBSD team's advice and reboot my OpenBSD machines (for operating system upgrade) once every six months (unless it's CURRENT, in which case reboots come much, much sooner =).

IMHO, if there would be any reason to make it a hard requirement, software and security updates would be it...and even then a reboot is only necessary for kernel updates.

Last edited by rocket357; 27th October 2010 at 12:33 PM. Reason: spelling
Reply With Quote
  #3   (View Single Post)  
Old 21st October 2010
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Thanked 112 Times in 104 Posts
Default

If there is some reason why you want to periodically shut it down on a schedule, use a system cronjob and the shutdown command.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #4   (View Single Post)  
Old 27th October 2010
semarmendemx semarmendemx is offline
Real Name: semarmendemx
New User
 
Join Date: Sep 2008
Location: bandung
Posts: 4
Thanked 0 Times in 0 Posts
Default

Thank you for the suggestions
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apply TTYS changes with out reboot jjjustjjjay OpenBSD General 1 6th May 2010 09:24 PM
problem to first reboot after installation openbsd OpenBSD Installation and Upgrading 3 16th May 2009 06:30 PM
Portsnap causes system to reboot Weaseal FreeBSD Ports and Packages 22 11th October 2008 07:14 AM
Why Does FreeBSD reboot if USB Drive Is Removed before unmount bsdforlife FreeBSD General 10 2nd September 2008 06:18 AM
Instant reboot with 7.0-RELEASE davidgurvich FreeBSD Installation and Upgrading 5 4th June 2008 08:15 PM


All times are GMT. The time now is 11:46 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick