MLUG: Re: [MLUG] apache speed issues with Fedora 3 x86_64
Re: [MLUG] apache speed issues with Fedora 3 x86_64
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
On Apr 11, 2005 10:36 PM, Kyle Krieg <EMAIL:PROTECTED> wrote:
> I'm running apache 2.0.52-3.1 on my Fedora 3 x86_64 server and some
> pages take forever to load, even on machines that are on the local
> subnet.  I just installed Wordpress for a homepage, and it takes around
> 6 seconds to load.  My photo gallery, which I'm running gallery (which
> I've run for years) loads the photo gallery page in about 5 seconds.
> 
> What tools are out there to pin point what the bottleneck is on my
> system?  Could it be apache?  Could it be my harddrive?  Could it be a
> misconfigured php or apache config file?  I have yet to find anything on
> the web saying apache 2.0.52 is slow.  I'd hate for it to be my hardware
> config, since it's a new system and everything else runs fast.
> 
> I guess I'm looking for tools to help me solve  what's going on behind
> the scenes on my box...
> 
> Probably going to run a network sniff on the machine to see if it's
> something timing out on the network, but wanted to throw it out to the
> masses before I started looking thru lines of sniff....
> 

Time it with a stopwatch.  If it's exactly a 15 or 30 second timeout,
it's doing something like trying to resolve a non-existent domain name
or connect to a non-existent IP address.

A good program to diagnose stuff like this is 'strace'.  I've never
tried running apache under strace. (if I remember right there is a
"no-daemonize" option to apache where it doesn't detach.)  Anyway,
strace prints out every system call a program makes.   You can watch
and see what it's trying to do during the slow request.

Regards,
Mark
EMAIL:PROTECTED
-- 
You think that it is a secret, but it never has been one.
  - fortune cookie
_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members