D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] slow apache



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 06 Mar 2003 1:55 pm,  chris wrote:
> I am having problems getting apache to dish up pages in a reasonable time -
> currently 60 secs

First step is to specify all addresses as IP numbers - that eliminates DNS 
delays. If that solves it, check your /etc/resolv.conf for unreachable DNS 
servers and make sure that the local server you want to reach is specified in 
/etc/hosts

Also compare with loading HTML files as regular files, using file:// not 
http:// - that eliminates problems with the server config, after all, you can 
browse static HTML without apache running at all if the hyperlinks are all 
internal.

One final check is to use something like lynx with IP numbers:
lynx http://127.0.0.1/
That reduces problems due to DNS + X/GUI browsers - although that's less 
common.

> It seems to be doing everything but very slowly, same difference for
> localhost as on local network.
> httpd.conf seems ok
>
> Any suggestions of the obvious to check would be appreciated
>
>
> Chris Edwards

- -- 

Neil Williams
=============
http://www.codehelp.co.uk
http://www.dclug.org.uk

http://www.wewantbroadband.co.uk/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+Z1bxiAEJSii8s+MRAvXzAJkBgNy5RR7NYnLWnUaAA3zH44EHkACfcBd/
igZtz+6U/zZYgLL3Y+Fokik=
=DqOD
-----END PGP SIGNATURE-----


--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly