www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio D'souza <q...@quikbox.ca>
Subject general/7844: Server dies when MaxClients reached on FreeBSD
Date Sat, 09 Jun 2001 20:12:59 GMT

>Number:         7844
>Category:       general
>Synopsis:       Server dies when MaxClients reached on FreeBSD
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sat Jun 09 13:20:00 PDT 2001
>Originator:     quik@quikbox.ca
>Release:        2.0.16
FreeBSD 4.3-stable with gcc 2.95
I got the following error message in my apache errorlog and the server then ceased to fulfill
page requests:

[error] server reached MaxClients setting, consider raising the MaxClients setting

The relevent sections of my httpd.conf file are pasted below:

<IfModule prefork.c>
StartServers         5
MinSpareServers      5
MaxSpareServers     10
MaxClients          32
MaxRequestsPerChild  0

<IfModule threaded.c>
StartServers         3
MaxClients          20
MinSpareThreads      5
MaxSpareThreads     10
ThreadsPerChild     25
MaxRequestsPerChild  0

I would imagine that installing apache2 from the FreeBSD ports collection and sending many
requests to the server would reproduce the bug.
I cranked up my maxCliebts setting but that isn't a very elegant solution.
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> 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!     ]

View raw message