This is a discussion on Server is slow within the Linux Web Servers forums, part of the Web Server and Related Forums category; Hello everyone! I got a problem with a website of mine (www.blogfever.de). The site is hosted on virtual ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello everyone!
I got a problem with a website of mine (www.blogfever.de). The site is hosted on virtual server and is shared among 10 users (at least that's what the provider STRATO says). The server runs Apache2 with PHP5 und MySQL5. My problem is that the server often has very long response times, even if the actual script that generates the page only takes 200 ms. Apart from that the overall speed of the website is VERY fluctuant. Sometimes the same page takes less than 100ms, and other times again it takes more than second to generate it. Basically I'd would like to ask how to find out what is responsible for this. The website has approx. 6 requests per second causing an average of 21 MySQL queries per second. The average execution time of all pages lies around 240 ms. Some information about the server: - GenuineIntel, Intel(R) Pentium(R) 4 CPU 2.80GHz - psa v8.1.1_build81070322.17 os_SuSE 10.1 - Linux 2.6.9-023stab044.16-enterprise - min. 512 MB RAM, dynamically up to 1024 MB, the page, however, currently only uses around 400 MB of it. For some hints on how to find the cause of the slow speed I'd be very grateful. Thanks, Mathias K. |
|
|||
|
On 7 Feb, 21:43, "Mathias K." <mformetalh...@yahoo.de> wrote:
> Hello everyone! > > I got a problem with a website of mine (www.blogfever.de). > The site is hosted on virtual server and is shared among > 10 users (at least that's what the provider STRATO says). > The server runs Apache2 with PHP5 und MySQL5. > Without root access to a dedicated server, even if you find the problem you probably won't be able to fix it. > My problem is that the server often has very long > response times, even if the actual script that generates > the page only takes 200 ms. How do you know? How are you measuring 'very long response times'? > > The website has approx. 6 requests per second causing > an average of 21 MySQL queries per second. The average > execution time of all pages lies around 240 ms. > The average is meaningless without knowing how it is calculated and the spread of results. Add code to check the time for server-side generation of every page, the time taken for every query and log it. C. |
| Thread Tools | |
| Display Modes | |
|
|