httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <>
Subject RE: [users@httpd] How many number of users can Apache withstand?. or how to set the maximum users limit on WIN2K server.
Date Thu, 13 Mar 2003 08:29:27 GMT
Plain text please...

>1. How many users it can cope with?

Recall how HTTP works - "users" (i.e. clients) make requests and each
request is a separate transaction with the webserver. The user is not
really connected, as in telnet for example. At the server end there are
many copies of apache running. In 1.3, these are separate daemons, in
2.0 (and on win2k, I think) these are different threads. On windows,
this is controlled by "ThreadsPerChild". Thus the server can handle
multiple simultaneous requests because each is handled by a different
daemon or thread. 

Having said that, a client can request "Keep-Alive" and then the server
will keep open its TCP/IP session while waiting for a subsequent
request. You can limit how long apache will wait by setting
"KeepAliveTimeout". You can also limit how many requests any individual
daemon will serve on a Keep-alive session by setting

The limit to the rate of requests apache can handle is not really
determined by the webserver - it is a limit of your hardware. If apache
receives more requests than the current set of daemons can handle, it
will simply spawn more daemons. Eventually, you will run out of main
memory but that is your problem, not apache's :-) You can limit the
number of daemons by setting "MaxClients".

>2. How will it handle the orphan processes?

That's the great thing about apache. Any problem with any particular
daemon is cleared when that process expires. I'm not too familiar with
the thread model but I guess a similar process occurs - problem threads
are reaped by the parent and their resources are garbage-collected.

>3. How to control the maximum number of user sessions?

Read up on the directives I mentioned above and check out for more details.

Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

-----Original Message-----
From: RAO,VEERABHADRA (HP-Singapore,ex4) []
Sent: Donnerstag, 13. März 2003 03:16
To: ''
Subject: [users@httpd] How many number of users can Apache withstand?.
or how to set the maximum users limit on WIN2K server.
Importance: High


This is Veerabhadra Rao writing to you from Hewlett Packard, Singapore.
I need some clarifications from you regarding the Apache server.

Currently we are analyzing the possibility of using Apache server in one
of our production deployment. Our system follows a 3-tier architecture
such as mentioned below.
We have our servers running on WIN2K. 
A web server running on the default internet port 80. 
Our web forms built on Oracle D2K and deployed on web using forms 6i
server and client side Jinitiator 
We use Oracle 8i database as our backend and is on WIN2K
For testing purposes we used WebDB running on port 80 as the web server.
Now to move to the production, we have couple of choices. As one of the
choice we chose to go with APACHE. Now we have the following questions
regarding the performance offered by APACHE on WIN2K.

1. How many number of users it can cope up with?.. In our business we
expect atleast 500 users connecting to the website at peak timings
working on with our application.

2. How will it handle the orphan processes that are created during the
operation with forms server?.. Incase if there is any orphan process
that gets created during the operation how will Apache handles?..

3. Is there anyway we can control the maximum number of user sessions
that can be handled at any point of time?.

4. Which commercial version of Apache suits our environment and cope
with the number of user sessions and still be stable?..

Kindly reply the above queries to the best of your knowledge.

If possible please give us your contact numbers, so that i can enable my
manager to contact you.

Thanks & Best Regards 
Veerabhadra Rao I S 
DID     : 63744879
Telnet : 8344879 
Email   :

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company. 

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message