Server is slow

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 ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-07-2008
Mathias K.
 
Posts: n/a
Default Server is slow

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.
  #2 (permalink)  
Old 02-08-2008
C.
 
Posts: n/a
Default Re: Server is slow

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:27 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0