hello, i'm using an apache server to host 8 virtual hosts. even though this server is local.. 7 out of these 8 virtual hosts open extremly slow.. it takes around 10 seconds to open a page.. though the 8th (which is a completely different site) it opens fairly fast in around 1 or 2 seconds tops.. i tried tailing the error_log and i found nothing .. is there a way i could monitor wht each branch is doing and what's causing it to be so slow? any suggestion ? _________________________________________________________________ Hotmail: Trusted email with Microsoft?s powerful SPAM protection. https://signup.live.com/signup.aspx?id=60969 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20100420/aff2c058/attachment-0002.html>
From: Roland RoLaNd <r_o_l_a_n_d at hotmail.com>> i'm using an apache server to host 8 virtual hosts. > even though this server is local.. 7 out of these 8 virtual hosts open extremly slow.. > it takes around 10 seconds to open a page.. > though the 8th (which is a completely different site) it opens fairly fast in around 1 or 2 seconds tops.. > i tried tailing the error_log and i found nothing .. > is there a way i could monitor wht each branch is doing and what's causing it to be so slow? > any suggestion ?Do you have any link to the outside in your slow pages? On the client side, you could try yslow... JD
On Apr 20, 2010, at 8:28 AM, Roland RoLaNd <r_o_l_a_n_d at hotmail.com> wrote:> hello, > > i'm using an apache server to host 8 virtual hosts. > > even though this server is local.. 7 out of these 8 virtual hosts > open extremly slow.. > it takes around 10 seconds to open a page.. > > though the 8th (which is a completely different site) it opens > fairly fast in around 1 or 2 seconds tops.. > > i tried tailing the error_log and i found nothing .. > is there a way i could monitor wht each branch is doing and what's > causing it to be so slow? > any suggestion ? > >Check DNS resolution for all the domains> > Hotmail: Trusted email with Microsoft?s powerful SPAM protection. Si > gn up now. > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20100420/32083d2d/attachment-0002.html>
Rob Kampen wrote:> > > On Apr 20, 2010, at 8:28 AM, Roland RoLaNd <r_o_l_a_n_d at hotmail.com > <mailto:r_o_l_a_n_d at hotmail.com>> wrote: > >> hello, >> >> i'm using an apache server to host 8 virtual hosts. >> >> even though this server is local.. 7 out of these 8 virtual hosts open >> extremly slow.. >> it takes around 10 seconds to open a page.. >> >> though the 8th (which is a completely different site) it opens fairly >> fast in around 1 or 2 seconds tops.. >> >> i tried tailing the error_log and i found nothing .. >> is there a way i could monitor wht each branch is doing and what's >> causing it to be so slow? >> any suggestion ? >> >> > Check DNS resolution for all the domainsAnd be sure dns lookups are turned off for the client IP in the logs (HostnameLookups off). -- Les Mikesell lesmikesell at gmail.com
> >From: Rob Kampen <rkampen at kampensonline.com> >To: CentOS mailing list <centos at centos.org> >Sent: Tue, April 20, 2010 9:59:57 AM >Subject: Re: [CentOS] Debugging slow apache server? > > > > > >On Apr 20, 2010, at 8:28 AM, Roland RoLaNd <r_o_l_a_n_d at hotmail.com> wrote: > > >>>hello, >> >>i'm using an apache server to host 8 virtual hosts. >> >>even though this server is local.. 7 out of these 8 virtual hosts open extremly slow.. >>it takes around 10 seconds to open a page.. >> >>though the 8th (which is a completely different site) it opens fairly fast in around 1 or 2 seconds tops.. >> >>i tried tailing the error_log and i found nothing .. >>is there a way i could monitor wht each branch is doing and what's causing it to be so slow? >>any suggestion ? >> >> >>Check DNS resolution for all the domains > > >+1 Most "unexplained" delays and bizarre problems in network services can be traced back to broken DNS stuff Fer
+1 What do yo mean by "which is a completely different site"? Other things to consider: * make sure that every virtual host has its own log file * sometimes problems occur using symbolic links, turn FollowSymLinks off * increase the number of spare servers etc (prefork). jobst On Tue, Apr 20, 2010 at 08:59:57AM -0400, Rob Kampen (rkampen at kampensonline.com) wrote:> > > On Apr 20, 2010, at 8:28 AM, Roland RoLaNd <r_o_l_a_n_d at hotmail.com> > wrote: > > >hello, > > > >i'm using an apache server to host 8 virtual hosts. > > > >even though this server is local.. 7 out of these 8 virtual hosts > >open extremly slow.. > >it takes around 10 seconds to open a page.. > > > >though the 8th (which is a completely different site) it opens > >fairly fast in around 1 or 2 seconds tops.. > > > >i tried tailing the error_log and i found nothing .. > >is there a way i could monitor wht each branch is doing and what's > >causing it to be so slow? > >any suggestion ? > > > > > Check DNS resolution for all the domains > > > >Hotmail: Trusted email with Microsoft???s powerful SPAM > >protection. Sign up now. > >_______________________________________________ > >CentOS mailing list > >CentOS at centos.org > >http://lists.centos.org/mailman/listinfo/centos> _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos-- My Carpenter has a 1956 VW Beetle. He still can go to any place in Australia, use any Oil, spark plugs, pertol, tires, wiper blades, etc available today with a car that old. If only software would be like that. | |0| | Jobst Schmalenbach, jobst at barrett.com.au, General Manager | | |0| Barrett Consulting Group P/L & The Meditation Room P/L |0|0|0| +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia