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

Neil Williams wrote:
> 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.

Hey DNS isn't that difficult to checkout first - honest.

Especially if "localhost" is "broke" as well.

Something like "dig +search localhost" and "dig -x 127.0.0.1"
should both reply very promptly.

(33msec and 25ms respectively here on my overworked little
desktop box - although he has delusions of grandeur since he
thinks he is a slave of "." in case of root server disaster ;)

The first should return an A record with 127.0.0.1, the second a
PTR record pointing at "localhost.", anything else is just not
RFC compliant (well I think some of them are merely "should"'s).

The usual problem with DNS and slow connections is things trying
to do a reverse lookup (sometimes for tcp wrappers - see
/etc/host.{allow|deny}) for a connection. However for logging
purposes most webservers do these asynchronously - i.e. after
giving you the web page.
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+Z3UFGFXfHI9FVgYRAp1hAKDC82IUnas8jxSJxa4deibYS4YkyACghbvj
xm/lNtjlOTeRRIF/FUFDj9E=
=ZsMo
-----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