httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] Getting 5000 concurrent connections and 400 requests per second with Apache
Date Tue, 24 Jul 2007 17:28:35 GMT
On 7/24/07, Abhinav Bhagwat <abhinavbhagwat@gmail.com> wrote:
> Hi All,
>
> I want to connect 5000 clients simultaneously to apache. I have increased
> the ulimit and /etc/security/limits.conf limits. I have also modified the
> httpd.conf to serve MaxClients upto 10000 and increase the Timeout to 1500.
> The keepAlive is set to On as i need to send multiple requests on each
> connection. I keep getting socket-timeout and connection resets at the
> client side. I am use httperf at the client side to simulate 5000
> connections at the rate of 400 requests per second. I can easily get IIS do
> this without any configuration changes to it.
>
> Any Suggestions ?

Do some more debugging.

Does the apache error log say anything interesting? What does the
server-status display look like under this load? Have you checked
other system logs for networking problems?

By the way, 1500 is way too high for Timeout. You probably want
Timeout set to well under 60 seconds.

Also, you haven't given any details about what version of apache, what
OS, what kind of content is being served, etc.

Joshua.

---------------------------------------------------------------------
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