When to Restart Web Server?

Discussion in 'Site & Server Administration' started by Pathan, Jun 8, 2009.

  1. #1
    Hello,

    I have my web server online from the last 258 days

    I want to know should I restart it or keep it running? Its not giving any issues but I my friends recommends that restarting it once in a month will improve its speed. Please post your comments.
     
    Pathan, Jun 8, 2009 IP
  2. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #2
    Linux based servers are nothing like MS based servers. You *should* never have to restart the server, even adding packages is done without restarting the server, as all you need to do is restart the service that is associated with the newly installed components.
     
    RHS-Chris, Jun 8, 2009 IP
  3. kailash

    kailash Well-Known Member

    Messages:
    1,248
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    190
    #3
    You do not need to reboot the server until and unless it is necessary. I have seen many servers running without rebooting since more than a year.

    Kailash
     
    kailash, Jun 8, 2009 IP
  4. coderpundit

    coderpundit Member

    Messages:
    110
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    30
    #4
    Yes, if its running properly there is no need to restart it. :p
     
    coderpundit, Jun 8, 2009 IP
  5. SSANZ

    SSANZ Peon

    Messages:
    861
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I would upgrade your kernel though :p

    Restarting the server will only cause its cache to be lost and it has to rebuild the cache all over again.
     
    SSANZ, Jun 8, 2009 IP
  6. isaipriyan

    isaipriyan Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    If your server running properly with out any issues means there is no need to restart your server.
     
    isaipriyan, Jun 9, 2009 IP
  7. sadiqsaad

    sadiqsaad Peon

    Messages:
    405
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    You only have to restart when you update the linux kernel.
     
    sadiqsaad, Jun 9, 2009 IP
  8. C'lown

    C'lown Banned

    Messages:
    255
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Tho, it is proven that servers that is never or not so often restarted, has bigger potenional risk of HDD failure!
     
    C'lown, Jun 9, 2009 IP
  9. blue_angel

    blue_angel Well-Known Member

    Messages:
    1,174
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    130
    #9
    You do not need to reboot the server until and unless it is necessary.
     
    blue_angel, Jun 13, 2009 IP
  10. ravee1981

    ravee1981 Active Member

    Messages:
    712
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    60
    #10
    you don't really have to restart a linux server ever. Just kill unwanted processes if you see any and the server will work just fine. Thats why Linux is better than Windows you know. Try doing this on a Windows server. You have to restart it every single day if you want to keep it fast.
     
    ravee1981, Jun 14, 2009 IP
  11. molten

    molten Member

    Messages:
    75
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #11
    i'm agree ... you don't need to restart your linux server ... just when you have troubles u can't solve without restart ...
     
    molten, Jul 26, 2009 IP
  12. Thibaut

    Thibaut Well-Known Member

    Messages:
    886
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    140
    #12
    I remember having build a Linux server for mail purposes. We shut it only one time, about 2 years after when we removed it from production :D
    Alternatively,I had Windows servers I had to reboot every week :eek:

    Regards
    Thibaut
     
    Thibaut, Jul 27, 2009 IP
  13. sarabvi

    sarabvi Peon

    Messages:
    127
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Well as long as its running fine, no need to restart it.
     
    sarabvi, Aug 6, 2009 IP
  14. ravee1981

    ravee1981 Active Member

    Messages:
    712
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    60
    #14
    :D really?
     
    ravee1981, Aug 6, 2009 IP