SIte GOes down frequently

Discussion in 'Apache' started by xianli, Jun 22, 2010.

  1. #1
    We are using Dedicated Server for our E-comerce site designed in Java. DB used is Mysql. We used Tomcat and Apache. But often the site goes down.
    Sometime, when I restart Tomcat / Apache - the site will work after 503 temporarily down
    and in the other case, I have to restart the server itself to make my site working.

    What could be the problem and what factors should I look into to resolve the problem.
     
    xianli, Jun 22, 2010 IP
  2. bvsonline

    bvsonline Peon

    Messages:
    83
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hello,

    Did you checked the error logs? Can you find anything in logs? In case of a Linux server, the tomcat error logs could be found in the following files.

    =======
    /usr/local/jakarta/tomcat/logs/catalina.err and /usr/local/jakarta/tomcat/logs/catalina.out
    =======

    Please check these logs at the time when the error occurs. You will get a clue on what is happening there.
     
    bvsonline, Jun 22, 2010 IP
  3. gopkris2000

    gopkris2000 Peon

    Messages:
    86
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Is any other tech working in your server? Anyway check /var/log/messages and server /tmp partition, memory usages.
     
    gopkris2000, Jun 22, 2010 IP
  4. FavouritesBlog

    FavouritesBlog Peon

    Messages:
    846
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Check /usr/local/apache/logs/error_log via tail -f in ssh to see what apache is up to. This will also display major tomcat errors causing apache errors.
     
    FavouritesBlog, Jun 22, 2010 IP