Website Running Slow

Posted on 2012-08-20
Last Modified: 2012-08-21
I have a Ubuntu 10.10 web server running tomcat.  On this server two web sites have been hosted for about two years. Recently one of the web sites has slowed down dramatically. Sometimes the pages dont even load.  While one site has slowed down the other remains fine and responds fast. How do I determine the cause of the slow down so I can fix it?
Question by:deklinm
    LVL 5

    Accepted Solution

    Are you the server admin, dev or both?  :)  You've probably started troubleshooting this already, but what kind of content is served by this 2nd site?  Is it a very dynamic, data-driven site?  Or largely static content?  Understanding that the other site is largely impacted, I would ask the same questions.  Are there any obvious resource constraints on the server?  Does the slow site serve static content quickly?  Are there particular functions that suffer the most significant performance penalty, and what do they do?  Are they accessing an RDBMS platform, and what's the status of the data?  Does it exist on the same host?  How's your indexing and maintenance plan?  If you interactively run a similar query to one executed by the application, does it take nearly as long as the "slow" site?  Kind regards!
    LVL 4

    Assisted Solution

    It could be many things:

    Server : Too many Processes running at same time / Low memory/ High CPU utilization/Network or bandwidth issues / disk Issues / Database Issues / Misconfigured Firewall/resource conflicts or race issues.

    But the best place to start with is logs.

    Author Comment

    I figured it old. New browsers plus old code equals slow site.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
    Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now