D
D
DanLuchinsky2011-07-19 15:07:37
Apache HTTP Server
DanLuchinsky, 2011-07-19 15:07:37

Are virtual hosts slow (Apache 2.2)?

I welcome everyone.
After upgrading Apache from version 1.3 to 2.2, I ran into a problem: any virtual host opens with a delay of 4-5 seconds or every minute (that is, it opens slowly, then, if you update it, it works fine for a minute, then again a delay of several seconds, and so on), or if you close and reopen the browser. Localhost, specified in the config as the “main” host, does not have such a problem, only virtual hosts are buggy.
I googled the same problem for people outside the RuNet, but did not find an adequate solution. Help me please! Configs to look or where?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexey, 2011-07-19
@alexxxst

HostnameLookups Off
?

S
Sergey, 2011-07-19
@butteff

I'm doing nginx as a front end to Apache - a miracle of performance.
It seems that nginx is also available for Windows, do the same, reduce the load on the server.
It is written here why this is very useful, seriously:
www.opennet.ru/base/net/nginx_frontend_apache.txt.html
(read the introduction and see the graphics below, skip the red-eyed for now)
Win7 Pro
x64 someone's religious feelings, but servers should be done on Unix-like systems. Try it, you might like it. ubuntu\debian are very simple OSes.

O
ob1, 2011-07-19
@ob1

It's probably worth trying not to update the old config, but to make a new one based on the example for 2.2. This will at least show if apache configs are to blame.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question