Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Aug 2005 06:27:46 -0500
From:      Eric Anderson <anderson@centtech.com>
To:        Shane Ambler <Shane@007Marketing.com>
Cc:        FreeBSD Mailing Lists <freebsd-performance@freebsd.org>
Subject:   Re: Slow apache response
Message-ID:  <43031F32.5000502@centtech.com>
In-Reply-To: <BF292765.33046%Shane@007Marketing.com>
References:  <BF292765.33046%Shane@007Marketing.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Shane Ambler wrote:
> I am running a traffic exchange site and have just moved to a dedicated
> server (new server has been running 15 hours).
> 
> Server is a P4 1.8G with 1024MB RAM
> 
> Pages seem to be loading slower than the previous virtual server account but
> looking at top shows idle% to stay above 80
> 
> The mysql backend is located off the server and has not changed in any way
> when the web server changed.
> 
> Wusage reports show upto 10,000 hits an hour for the end of yesterday and up
> to 18,000 hits a few hours ago. (these are the new server stats)
> 
> One thing that has me curious is apache is started with 150 servers (which I
> am fine with) and currently I count 178 instances of apache running - but in
> top all but a couple show their state as lockf which I can't find a
> reference to.
> 
> Apart from apache there is sendmail and ssh running (and the basics such as
> tty's, cron and syslog)
> 
> All pages are php.
> 
> Any ideas on how I can get response times up?

What state are the running httpd processes in (not the ones in lockf)?

Also, did you compile apache from ports, or install via package, or other?

Have you tried bumping up the number of servers to 200?

Can you send the output of:

netstat -m
uname -a

Eric




-- 
------------------------------------------------------------------------
Eric Anderson        Sr. Systems Administrator        Centaur Technology
Anything that works is better than anything that doesn't.
------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43031F32.5000502>