Re: tools one could to use to troubleshoot for Apache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 08/20/2010 11:16 AM, Agnello George wrote:
> Have a question , Suppose i had a client tell me that  he can access 
> the web page but it takes long time to view  the pages   the website 
> is a static website ( suppose this website does not server dynamic 
> data  or does not connect to a database )... what would one check 
> other than :
>
> the server load  ( cat /proc/loadaverage )  ,
>
>  the Apache logs  ,
>
>  the number of client connection ( netstat -tupln |grep :80 |wc -l )
>
> --
>
> how would i know if it a client side  issue or a server side issue 
> ........

Start by running 'ab' against your server. The 'ab' (Apache Bench) tool 
allows you to find out just how fast or slow your server really is. 
Second, make sure you **do not** have 'HostnameLookups On' in your 
configuration. Turning on hostname lookups is the surest way to make 
your server slow because it does a reverse DNS lookup for each access 
(which can take several seconds depending on where the surfer is coming 
from).

Third, quit putting yahoo groups in the Cc line of your emails. Anyone 
not subscribed to them gets a bounce when they reply to you.

-- 
Benjamin Franz
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux