Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 7 of 7

This is a discussion on Server Reboot Frequency in the VPS & Dedicated forum
Hi, I have two dedicated servers for my database and the webserver after months of uptime seems to slow down the processing speed but it ...

  1. #1
    Like a star... Julian Muņoz's Avatar
    Join Date
    Oct 2002
    Location
    Colombia
    Posts
    1,399

    Server Reboot Frequency

    Hi,

    I have two dedicated servers for my database and the webserver after months of uptime seems to slow down the processing speed but it all fixes with a simple reboot.

    What is the suggested frequency between reboots for a dedicated server?
    Julian D. Muņoz - LANeros.com

  2. #2
    Loyal Client thisisit3's Avatar
    Join Date
    Mar 2007
    Posts
    642
    If you run Linux or FreeBSD then you shouldn't have a problem with 300 or more days uptime, some people run kernel versions 2.2/2.4 with several years uptime.

    In other words, if you need to reboot the server then you have some kind of problem, like a memory leak (like the ones caused by spamassassin).

    Try find which application causes the memory leak or see which one causes higher cpu usage over time.

  3. #3
    Community Leader jason's Avatar
    Join Date
    Sep 2001
    Location
    Rochester, NY
    Posts
    6,003
    Yeah, I agree with thisisit...it sounds like a memory leak. I'd keep an eye on your memory usage for specific programs using something like the top command to see if you can spot the offenders.

    --Jason
    Jason Pitoniak
    Interbrite Communications
    www.interbrite.com www.kodiakskorner.com

  4. #4
    Like a star... Julian Muņoz's Avatar
    Join Date
    Oct 2002
    Location
    Colombia
    Posts
    1,399
    The webserver only runs lighttpd and php5 running as fcgi. But even when I restart lighttpd, the webpages are really slow when uptime is like 150+ days.

    I have debian and the usual tools on the standard installation. So that's really weird.
    Julian D. Muņoz - LANeros.com

  5. #5
    the Windlord Gwaihir's Avatar
    Join Date
    Jun 2002
    Posts
    2,562
    If it's not a memory leak, then perhaps some other garbage collector doens't work as it should.

    For example (if you use php sessions stored on disk): does the number of sessions and the size of each session file remain fairly constant? It could be that you're only removing old sessions on server restart. Or perhaps you allow recurring users to use the same session forever (ok in itself), but your scripts keep throwing ever more stuff in it.

    Another one to check: is your number of open MySQL connections reasonably stable, or does it keep building up? If it does, you are apparently using permanent connections that don't get reused properly by your scripts.
    Regards,

    Wim Heemskerk
    ---
    Visit MeCCG.net - Cardgaming in J.R.R. Tolkien's Middle-earth
    And Gwaihir.net - The Middle-earth CCG store

  6. #6
    Ron
    Ron is offline
    Loyal Client
    Join Date
    Aug 2002
    Posts
    7,312
    Or the temp disk in mysql is now writing to hard disk
    or /tmp is writing to hard disk
    Good luck

  7. #7
    Like a star... Julian Muņoz's Avatar
    Join Date
    Oct 2002
    Location
    Colombia
    Posts
    1,399
    I'll check those! Thanks for the help guys!
    Julian D. Muņoz - LANeros.com

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •