-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, 31 Jul 2003 15:37:31 GMT,
Benedictum <nospam.RemoveThis@dominus.com> wrote:
> Can you do this without hardcoding the limit? There must be a way to change
> this parameter externally.
>
> "Davide Bianchi" <davideyeahsure.RemoveThis@onlyforfun.net> wrote in message
> news:bgajvm$mvai1$3@ID-18487.news.uni-berlin.de...
>> Etienne <zebreroux.RemoveThis@free.fr> wrote:
>> > I heardt about MaxClients but it doesn't work :'(
>>
>> From the Apache documentation:
>> The MaxClients directive sets the limit on the number of simultaneous
>> requests that can be supported; not more than this number of child server
>> processes will be created. To configure more than 256 clients, you must
>> edit the HARD_SERVER_LIMIT entry in httpd.h and recompile.
>>
>> Any connection attempts over the MaxClients limit will normally be queued,
>> up to a number based on the ListenBacklog directive. Once a child process
>> is freed at the end of a different request, the connection will then be
>> serviced.
>>
>> The MaxRequestsPerChild directive sets the limit on the number of requests
>> that an individual child server process will handle. After
>> MaxRequestsPerChild requests, the child process will die. If
>> MaxRequestsPerChild is 0, then the process will never expire.
>>
>> Davide
>
>
You can set it to anything up to the compile time max, (which is usually
256) That is, if the compile time max is 256, you can set it to any
number less than or equal to that. If you want more than that, you have
to recompile.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/KZ45d90bcYOAWPYRAi8iAKCTqXwhcFvZUXDnN6IeqrTgBTflxwCgyFFM
9ixIRKWjDguwQTT20J029DQ=
=Geut
-----END PGP SIGNATURE-----
--
Jim Richardson <a style='text-decoration: underline;' href="http://www.eskimo.com/~warlock" target="_blank">http://www.eskimo.com/~warlock</a>
Linux, because eventually, you grow up enough to be trusted with a fork()<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: Limit the number of connections on a Apache web server