httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emma Lovatt" <emma.lov...@ticketline.co.uk>
Subject [users@httpd] ServerLimit
Date Mon, 20 Nov 2006 15:54:28 GMT
Hi guys


I am running 4 x dual 2.8GHz blades with 4Gb RAM load balanced.  These
are running apache 2.2.3, openssl 0.98c and PHP 5.1.6.  They are
configured with MPM prefork.

I have read some conflicting information on how to up the max_clients
directive.

My setup is as default, the Max_Clients is set to 256. I would like to
raise my max_client limit as we regularly would exceed these and I have
read that I would need to raise the server limit in prefork.c.


Here is the part of the prefork.c I think I have to tweak :).

#ifndef DEFAULT_SERVER_LIMIT
#define DEFAULT_SERVER_LIMIT 256
#endif

/* Admin can't tune ServerLimit beyond MAX_SERVER_LIMIT.  We want
 * some sort of compile-time limit to help catch typos.
 */
#ifndef MAX_SERVER_LIMIT
#define MAX_SERVER_LIMIT 200000
#endif

Could someone explain the process to me a little better if possible or
point me in the direction of some docs,  I am really struggling to find
some decent documentation on this.


Thanks in Advance

Em





- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

This e-mail (and any attachments) is confidential and may be privileged. If you are not the
intended recipient do not copy, use, or rely on them.
We do not accept any legal responsibility for the contents of this communication due to the
generally insecure nature of email.
The views and opinions expressed within this email are those of the author and are not necessarily
those of 'Piccadilly Ticketline' or any subsidiary.
If you received this email in error, please notify us immediately. PiccadillyTicketline has
taken every reasonable precaution to ensure that any attachment to this e-mail has been swept
for viruses.
However, Ticketline cannot accept liability for any damage sustained as a result of software
viruses and would advise that you carry out your own virus checks before opening any email
or attachment.

- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

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