Performance Issue, advise needed

redeye

Verified User
Joined
May 11, 2004
Messages
145
I have performance issues on a webserver .

A page is build up very slow. Data traffic is not the problem, cpu load is nearly zero, it happens to all pages, even when there is no sql instructions in it.

I use mod_evasive and mod_bandwidth, but nothing changed when i disabled them

I host around 50 websites.

Can someone advise on tuning/troubleshooting?

Details:

Code:
Name 	Value
Processor Name	Intel(R) Pentium(R) 4 CPU 2.80GHz
Vendor ID	GenuineIntel
Processor Speed (MHz)	2796.078
Processor Name	Intel(R) Pentium(R) 4 CPU 2.80GHz
Vendor ID	GenuineIntel
Processor Speed (MHz)	2796.078
Total Memory	1034628 kB
Free Memory	621184 kB
Total Swap Memory	2031608 kB
Free Swap Memory	1456264 kB
System Uptime	98 Days, 8 Hours and 39 Minutes

Code:
Centos 4.3: Linux ws01.xch.nl 2.6.9-22.0.2.ELsmp #1 SMP Tue Jan 17 07:10:04 CST 2006 i686 i686 i386 GNU/Linux
Apache/1.3.34 (Unix)
mysql  Ver 12.22 Distrib 4.0.26, for pc-linux-gnu (i686)
PHP 4.4.2 (cli) (built: Feb 12 2006 06:23:50)
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
    with Zend Extension Manager v1.0.9, Copyright (c) 2003-2006, by Zend Technologies
    with Zend Optimizer v2.6.2, Copyright (c) 1998-2006, by Zend Technologies

Head of http.conf
Code:
Timeout 300
KeepAlive Off
keepalivetimeout 15
MaxKeepAliveRequests 150
MinSpareServers 15
MaxSpareServers 20
StartServers 10
MaxClients 150
MaxRequestsPerChild 500
 
Last edited:
I'm not sure what you mean by "build up very slow".

Wht's the output of your uptime command when you're having the problem?

Jeff
 
jlasman said:
I'm not sure what you mean by "build up very slow".

Wht's the output of your uptime command when you're having the problem?

Jeff

An example with alot of small images: link

Code:
uptime: 16:06:23 up 99 days,  9:18,  1 user,  load average: 0.28, 0.14, 0.10
 
Loads slowly from here; here's a partial traceroute:
Code:
 9  teliasonera-gw.customer.alter.net (63.65.130.46)  23.349 ms  26.422 ms  22.840 ms
10  nyk-bb1-pos7-3-0.telia.net (213.248.80.2)  84.805 ms  85.026 ms  85.797 ms
11  nyk-bb2-pos0-0-0.telia.net (213.248.80.134)  83.047 ms * *
12  ldn-bb2-pos7-1-0.telia.net (213.248.65.93)  156.754 ms  157.108 ms  153.881ms
13  adm-bb2-pos6-0-0.telia.net (213.248.65.158)  161.252 ms  160.995 ms  160.877 ms
14  213.248.64.114 (213.248.64.114)  169.506 ms  164.843 ms  162.749 ms
15  leaseweb-111753-adm-b3.c.telia.net (213.248.73.162)  171.748 ms 213.248.73.163 (213.248.73.163)  170.105 ms leaseweb-111753-adm-b3.c.telia.net (213.248.73.162)  172.602 ms
Notice the jump in round-trip times from hop 9 to hop 10 to hop 11 to hop 12.

There appear to be some bad/slow nodes somewhere.

Jeff
 
Ok, i will check out the routing, but other servers are fast and only this one is slow :(

Beside that, the websites are slow from other routes with average pings of 11ms.
 
Tried it again just now. Cleared the cache first to make sure the images are reloaded from the server. It's fast. My ping times to your server average about 11ms.
The html code of the homepage appears to contain a lot of overhead. Still, the page loads in about 1.5 seconds.
 
Thank You

Ok, thank you everyone for the input. I think it's clear to me. It's a locale problem with the client.
 
Timeout 300
KeepAlive On
MaxKeepAliveRequests 500
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 10
StartServers 8
MaxClients 450
MaxRequestsPerChild 0

This is my httpd settings, i run a celeron 2.8 with 1024MB.

Make shure you enable KeepAlive as this boosts performance.
 
Back
Top