httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Cicimov <icici...@gmail.com>
Subject Re: [users@httpd] Some VirtualHosts extremely slow, others very fast
Date Thu, 09 Dec 2010 06:15:13 GMT
Check the dns resolution for the xyz host.

Sent from my phone

On Dec 9, 2010 1:24 PM, "Craig A. James" <cjames@emolecules.com> wrote:

We operate one public web site and about 20 private web sites.  They're all
the same server, running the same Apache server instance
(2.2.14-5ubuntu8.3).

Most customers get excellent performance, but two customers get terrible
response times, but only on *some* of the VirtualHosts.  They get excellent
responses from our public site, but the very same page served from a private
site can take over a minute to load.

The VirtualHosts are configured identically except for the "Allow from" and
"ServerName" directives.  As far as I can tell, everything else is identical
(except the specific database it uses, but for these tests we're only
loading static HTML pages).

It appears that "www.ourdomain.com" VirtualHosts always work, but "
xyz.ourdomain.com" VirtualHosts give problems.

Examining TCP/IP traffic using WireShark, it looks like the slow virtual
hosts are dropping ACK packets.  Each TCP/IP conversation starts out fast,
but then there's a 5-second gap in the middle of every HTTP response.  Yet
if the very same user accesses a different VirtualHost, there is no problem
at all.

We've been trying to figure this out for weeks with no luck.  Any ideas
would be greatly appreciated.

Craig

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
 "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Mime
View raw message