Received: (qmail 71090 invoked by uid 501); 8 Dec 2000 10:32:17 -0000 Message-Id: <20001208103217.71089.qmail@locus.apache.org> Date: 8 Dec 2000 10:32:17 -0000 From: Lemonnier Sophie Reply-To: sophie.lemonnier@alcatel.fr To: submit@bugz.apache.org Subject: Problem to limit the access to clients X-Send-Pr-Version: 3.110 >Number: 6949 >Category: config >Synopsis: Problem to limit the access to clients >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: apache >Arrival-Date: Fri Dec 08 02:40:03 PST 2000 >Closed-Date: Wed Mar 21 22:41:25 PST 2001 >Last-Modified: Wed Mar 21 22:41:25 PST 2001 >Originator: sophie.lemonnier@alcatel.fr >Release: 1.3.12 >Organization: >Environment: apache is running on Solaris 7. it has been compiled on Solaris 2.6 with the gcc compiler Apache 1.3.12 Apache SSL 1.40 Open SSL 0.9.4 SSLeay 0.9.0b tomcat 3.1 >Description: We have a machine which has : - little ressouces - used for applications and for apache as well : we would like to prevent the machine from crashing, having memory problems,because of many connections to apache. Thus, we have modified the httpsd.conf file to limit the number of clients which can connect to apache... It does not work.... >How-To-Repeat: Modify the values in httpsd.conf : StartServers = 2 MinSpareServers = 2 MaxSpareServers = 2 MaxClients =2 Relaunch tomcat and apache. We manage to perform 8 connections to our servlet (and certainly more...) >Fix: No >Release-Note: >Audit-Trail: State-Changed-From-To: open-feedback State-Changed-By: slive State-Changed-When: Fri Dec 8 20:11:22 PST 2000 State-Changed-Why: Your settings are inconsistent. If you have MinSpareClients 2 this means Apache will always try to launch two MORE clients that are currently needed. You probably want this to be 0. In addition, the way to see if these directives are working properly is to count the httpd processes that are running on your system. There should be one running as root, plus the number of child processes that you specify. If you look at it in this way, what do you get? State-Changed-From-To: feedback-closed State-Changed-By: slive State-Changed-When: Wed Mar 21 22:41:25 PST 2001 State-Changed-Why: [This is a standard response.] No response from submitter, assuming issue has been resolved. >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]