httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From daniel.goul...@and.co.uk
Subject RE: [users@httpd] Help me in setting up MaxClients
Date Mon, 25 Jan 2010 14:16:42 GMT
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META boundary="001636c5b63ebaf7b8047dfd8927" alternative; multipart 
Content-Type:>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type 
Content-Type: --001636c5b63ebaf7b8047dfd8927 html; text quoted-printable 
Content-Transfer-Encoding:>
<META name=GENERATOR content="MSHTML 8.00.6001.18876"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=885101314-25012010><FONT color=#0000ff

size=2 face=Arial>You need to increase ServerLimit and MaxClients to 600 for 
example.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=885101314-25012010><FONT color=#0000ff

size=2 face=Arial></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=885101314-25012010><FONT color=#0000ff

size=2 face=Arial>MaxClients is limited by ServerLimit.&nbsp; In turn 
ServerLimit is limited by the physical resources you have at your 
disposal.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=885101314-25012010><FONT color=#0000ff

size=2 face=Arial></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=885101314-25012010><FONT color=#0000ff

size=2 face=Arial>Considering you have a highly thread-capable server with 
plentiful memory 600 should be a safe limit, provided you only load the modules 
that you need.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=885101314-25012010><FONT color=#0000ff

size=2 face=Arial></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=885101314-25012010><FONT color=#0000ff

size=2 face=Arial>Also you could consider using the worker MPM, which will 
require much fewer child processes.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=885101314-25012010><FONT color=#0000ff

size=2 face=Arial></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=885101314-25012010><FONT color=#0000ff

size=2 face=Arial>Danny</FONT></SPAN></DIV><BR>
<BLOCKQUOTE 
style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT:
0px">
  <DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
  <HR tabIndex=-1>
  <FONT size=2 face=Tahoma><B>From:</B> Vikrama Sanjeeva 
  &lt;viki.sanjeeva@gmail.com&gt; [mailto:Vikrama Sanjeeva 
  &lt;viki.sanjeeva@gmail.com&gt;] <BR><B>Sent:</B> 25 January 2010

  13:57<BR><B>To:</B> users@httpd.apache.org<BR><B>Subject:</B>
[users@httpd] 
  Help me in setting up MaxClients<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV dir=ltr>Hello All,<BR><BR>This is regarding production servers. Recently

  Apache server hit MaxClient settings; resulting in crash of sites. However, 
  sites was back to normal after restarting Apache.<BR><BR>I read about 
  MaxClient settings and increase it from 200 to 250 (as I read somewhere that 
  256 is a limit). Since then sites are working fine. But still I see average 
  concurrent request on Apache is 180-200 which sometime goes to 220 as well. 
  This is threatening, as we are planning to put more sites live on same Apache. 
  <BR><BR>Therefore, I am considering to increase MaxClient in order to handle

  "at-least" 600 concurrent request. <BR><BR>I will be grateful if somebody can

  assist me in setting the right values for ServerLimit, MaxClient, 
  MinSpareServers and MaxSpareServers. Also, what maximum values I can have for 
  MaxClients (<I>want to know max concurrent users Apache can 
  handle.</I>)<BR><BR><BR><U><B>Machine Specs are</B></U>:<BR><BR><FONT

  size=1><B>Manufacturer:</B> Sun<BR><B>Model:</B> T5240<BR><B>Operating
System: 
  </B>Solaris 10 10/08 s10s_u6wos_07b SPARC<BR><B>CPU(s):</B> 2x UltraSPARC-T2+

  @1415 MHz; 128 Cores 128 Threads<BR><B>Memory:</B> 32544 
  MB</FONT><BR><BR><BR><U><B>Apache Version</B></U>:<BR><FONT
size=1><B>Server 
  version:</B> Apache/2.2.11 (Unix)<BR><B>Server built:</B>&nbsp;&nbsp;

  Jan&nbsp; 5 2009 22:19:26</FONT><BR><BR><U><B>Existing
MaxClient 
  Settings</B></U>:<BR><FONT size=1><BR>&lt;IfModule 
  prefork.c&gt;<BR>StartServers&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

  8<BR>MinSpareServers&nbsp;&nbsp;&nbsp; 5<BR>MaxSpareServers&nbsp;&nbsp;

  20<BR>MaxClients&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  250<BR>MaxRequestsPerChild&nbsp; 0<BR>&lt;/IfModule&gt;</FONT><BR><BR>Note:
I 
  am not good in Solaris/*.nix commands 
  :(<BR><BR>Bye,<BR>Viki.<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>&nbsp;<BR></DIV><BR>______________________________________________________________________<BR>This

  email has been scanned by the MessageLabs Email Security System.<BR>For more 
  information please visit http://www.messagelabs.com/email 
  <BR>______________________________________________________________________<BR></BLOCKQUOTE><BR>
______________________________________________________________________<BR>
This e-mail and any attached files are intended for the named addressee only. It contains
information, which may be confidential and legally privileged and also protected by copyright.
Unless you are the named addressee (or authorised to receive for the addressee) you may not
copy or use it, or disclose it to anyone else. If you received it in error please notify the
sender immediately and then delete it from your system. Please be advised that the views and
opinions expressed in this e-mail may not reflect the views and opinions of Associated Newspapers
Limited or any of its subsidiary companies. We make every effort to keep our network free
from viruses. However, you do need to check this e-mail and any attachments to it for viruses
as we can take no responsibility for any computer virus which may be transferred by way of
this e-mail. Use of this or any other e-mail facility signifies consent to any interception
we might lawfully carry out to prevent abuse of these faciliti
 es.<BR>
Associated Newspapers Ltd. Registered Office: Northcliffe House, 2 Derry St, Kensington, London,
W8 5TT. Registered No 84121 England.<BR>
</BODY></HTML>

Mime
View raw message