This is a discussion on apache on redhat 9 first page slow within the Linux Web Servers forums, part of the Web Server and Related Forums category; I have installed redhat 9 on two machines on two different networks and I get the same result. The first ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I have installed redhat 9 on two machines on two different networks
and I get the same result. The first page I access (from LAN) is slow to load >20sec then subsequent pages are very fast unless I wait about 1 or 2 minutes then the first one is slow again. If I access the website from the redhat machine(localhost) then access is very fast even on the first page. Hostname lookups is off. I use php, and postgresql. SSL and Perl are not loaded. Firewall is disabled (since its just on a LAN). There is nothing in the error log. Any suggestions where to start next? Thanks for any help. Ron |
|
|||
|
>I have installed redhat 9 on two machines on two different networks
>and I get the same result. The first page I access (from LAN) is slow >to load >20sec then subsequent pages are very fast unless I wait about >1 or 2 minutes then the first one is slow again. If I access the >website from the redhat machine(localhost) then access is very fast >even on the first page. Hostname lookups is off. I use php, and >postgresql. SSL and Perl are not loaded. Firewall is disabled (since >its just on a LAN). There is nothing in the error log. Any >suggestions where to start next? This could be happening because the client machine has trouble with the DNS lookup. After it finally figures out the domain name, subsequent pages will load quickly because it will have cached the IP address. To test this hypothesis, use the actual numerical IP address in the URL instead of the domain name. -- Brian Borchers borchers@nmt.edu Department of Mathematics http://www.nmt.edu/~borchers/ New Mexico Tech Phone: 505-835-5813 Socorro, NM 87801 FAX: 505-835-5366 -----= Posted via Newsfeeds.Com, Uncensored Usenet News =----- http://www.newsfeeds.com - The #1 Newsgroup Service in the World! -----== Over 100,000 Newsgroups - 19 Different Servers! =----- |
|
|||
|
On 3 May 2004 12:53:16 -0700, ronjrcrappy@yahoo.com (Ron) wrote:
>I have installed redhat 9 on two machines on two different networks >and I get the same result. The first page I access (from LAN) is slow >to load >20sec then subsequent pages are very fast unless I wait about >1 or 2 minutes then the first one is slow again. If I access the >website from the redhat machine(localhost) then access is very fast >even on the first page. Hostname lookups is off. I use php, and >postgresql. SSL and Perl are not loaded. Firewall is disabled (since >its just on a LAN). There is nothing in the error log. Any >suggestions where to start next? > >Thanks for any help. >Ron Wow, I think I have exactly the same issue. I've noticed it while loading both Web pages and FTP access. I'm running RH9 (Enterprise Edition) with Apache; all packages updated constantly. I don't have anything else running on that server (other than the unusual services). On first connect, whether by FTP or HTTP the information takes 20-30 seconds to load. However, later accesses are much faster. I thought at first it was a DNS error. However, I only have three lines in resolve.conf. The server's name and two IP addresses that are both known good name servers. My machine is behind a pretty healthy firewall. However, I seem to get the same delay whether I try to reach it from behind the firewall or outside. I would appreciate any ideas to try. --George |
|
|||
|
In article <c7699l$q3$1@rainbow.nmt.edu>,
borchers@nmt.edu (Brian Borchers) wrote: > >I have installed redhat 9 on two machines on two different networks > >and I get the same result. The first page I access (from LAN) is slow > >to load >20sec then subsequent pages are very fast unless I wait about > >1 or 2 minutes then the first one is slow again. If I access the > >website from the redhat machine(localhost) then access is very fast > >even on the first page. Hostname lookups is off. I use php, and > >postgresql. SSL and Perl are not loaded. Firewall is disabled (since > >its just on a LAN). There is nothing in the error log. Any > >suggestions where to start next? > > This could be happening because the client machine has trouble with > the DNS lookup. After it finally figures out the domain name, > subsequent pages will load quickly because it will have cached the IP > address. To test this hypothesis, use the actual numerical IP address > in the URL instead of the domain name. It could also be the *server*, if you have reverse lookups turned on in Apache, and it's having trouble reaching a DNS server. Look for the "HostNameLookups" directive. -- Dan Wilga dwilga-MUNGE@mtholyoke.edu ** Remove the -MUNGE in my address to reply ** |
|
|||
|
borchers@nmt.edu (Brian Borchers) wrote in message news:<c7699l$q3$1@rainbow.nmt.edu>...
> This could be happening because the client machine has trouble with > the DNS lookup. After it finally figures out the domain name, > subsequent pages will load quickly because it will have cached the IP > address. To test this hypothesis, use the actual numerical IP address > in the URL instead of the domain name. I am using the IP address. Just to test though I put an entry in the hosts file and got the same response. |
|
|||
|
Guys, I seem to also have the same problem. I too am running RH9 and
apache 2.0. All the other computers on the LAN takes forever to find the webserver. The other problem I am having is my index.htm files are not loading up automatically. I'm pertty new to linux so I'm using the GUI to get around. I have included index.htm index.html index.shtm in the http.conf file. Should I be looking out for anything else? Also I'm interested if anyone fix the LAN Slow problem as well Thanks |
| Thread Tools | |
| Display Modes | |
|
|