What apache version? You need to tune your mpm module resources to support the traffic you expect. Look at mpm_prefork or mom_worker settings depending on which one you are using.
Another problem might be the box. Do you have enough cpu and memory to serve high traffic?
Anyone has an idea??
Further investigation indicates that Apache reuses existing TCP
connection per domain. Thus, the overhead of creating new connections
seems to be the performance issue when it deals with traffic of many
different domains.
Any advice and suggestion will be appreciated.
Thanks,
Jacky
On Wed, Aug 22, 2012 at 12:27 PM, unjc email <unjc.email@xxxxxxxxx> wrote:
> Hello all,
>
> I am having a performance issue with Apache server; I hope you could
> provide some hints and/or advices the proper way to implement the
> solution.
> I need to set up a webserver that acts like the Internet to our
> testing environment. All HTTP requests for various domains would be
> end up hitting this single webserver for the purpose of performance
> testing a proxy server.
> The apache server is configured to bind to a single IP (Listen
> 192.168.1.1:80) with <VirtualHost *:80>. Everything works fine
> functionally, but I found the throughput drops as the number of
> domains used in the traffic increases. If I have only 10 different
> domains in the load traffic, the throughput could reach as high as
> 5000 hits/second; but going to 50 domains would lower the throughput
> to 300 hits/second already, and the similar performance is observed
> even I use over thousands of different domains in the load.
>
> I have added the extra column for the page-serving time in the access
> log and that verified the high latency in the serving time.
>
> Does anyone have any suggestion of how I should configure the Apache
> server to handle multi-domain traffic efficiently?
>
>
>
> Thanks and appreciated,
> Jacky
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx