Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Jan 2007
    Posts
    18

    Default Gracefull Restart Every # Hours

    Just wonderuing to keep my server up and running at its test is there a addon script that you can configure so that it restarts the server gracefully every # of hours

  2. #2
    Member
    Join Date
    Mar 2006
    Location
    Brno, Czech Republic
    Posts
    510

    Default

    you can put a command line in cron. but why in the world would you want to have your server rebooted every few hours? that simply means unjustified downtime.
    Not everything that is counted counts and not everything that counts can be counted

  3. #3
    Member
    Join Date
    Mar 2006
    Posts
    1,215

    Default

    To keep your server up and running?

    If you need to reboot that often, you should fix the problems that lead you to
    restarting that often. I run very busy servers and most are up for many months
    at a time.

  4. #4
    Member
    Join Date
    Jan 2007
    Posts
    18

    Default

    well the memory and server load every 12 hours normally reaches tops and goes red alls i was thinking of having it restart the server every 12 hours to make sure it doesnt go down incase im not online to restart it myself.

    im not good at tweaking the server or anything i dont know anythin about that i just know how ro run it.

    If anyone is willing to look into the server for me then i would be willing to pay them.

  5. #5
    Member rpmws's Avatar
    Join Date
    Aug 2001
    Location
    back woods of NC, USA
    Posts
    1,858

    Default

    Quote Originally Posted by Gaming-Heaven View Post
    Just wonderuing to keep my server up and running at its test is there a addon script that you can configure so that it restarts the server gracefully every # of hours

    why?

    root@goodbox [~]# uptime
    1:33pm up 251 days, 11:35, 3 users, load average: 1.06, 1.47, 1.67
    root@goodbox [~]#

    409 accounts (1200 zones). 156 mysql databases, 800GB/month BW

    what if that reboot decides to FSCK? ouch!!!
    Just keeping my "eye" on things....
    R. Paul Mathews
    RPMWS - diehard cPanel Nutcase

  6. #6
    Member celliott's Avatar
    Join Date
    Jan 2006
    Location
    United Kingdom
    Posts
    460

    Default

    You really need to look into the causes of high load and memory usage. Rebooting every few hours is a very poor excuse for a fix.

    If you are looking for someone to help with your server issues I reccomend www.servertune.com or www.configserver.com

Similar Threads & Tags
Similar threads

  1. After a Gracefull Restart i am getting error emails from cpanel
    By plimper in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 02-23-2010, 05:23 PM
  2. Have to manually restart DNS and FTP after server restart
    By FearlessG1 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-18-2007, 08:32 AM
  3. SIGUSR1 gracefull reboot in error_log - help!
    By claudio in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 09-17-2004, 03:17 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube