You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2010/02/15 11:03:56 UTC
DO NOT REPLY [Bug 48744] New: apache have more than ServerLimit
processes
https://issues.apache.org/bugzilla/show_bug.cgi?id=48744
Summary: apache have more than ServerLimit processes
Product: Apache httpd-2
Version: 2.2.14
Platform: HP
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: worker
AssignedTo: bugs@httpd.apache.org
ReportedBy: zdravko.spoljar@styria-it.hr
we have busy web site and for last few weeks we have problem with apache
processes eat all memory. we attempt to control problem by lowering ServerLimit
(documentation states that is max number of apache processes).
ServerLimit is at 75 (confirmed by /server-info as active value), but ps auxw
show around 90-95 processes.
here is part of worker config:
<IfModule mpm_worker_module>
ServerLimit 75
ThreadLimit 30
StartServers 11
MinSpareThreads 45
MaxSpareThreads 95
ThreadsPerChild 25
MaxClients 1500
MaxRequestsPerChild 500
</IfModule>
server is 12core, 8Gb ram. cpu usage is about 20-25% under normal load. at
busier part of day sometimes processes start to eat more memory, and server
locks (no swap configured as this make stuff even more painful). if i grab some
server statistics (ps, netstat, df...) between start of problem and lock-up, i
see there are more apache processes than configured.
is this a bug in ServerLimit or that directive really cannot keep server
processes limited to number? (next i going to use kernel mechanism to keep
apache down in limits, but i'm not sure how apache would like fork() to fail)
because i would rather have apache shot dead (and restarted by cron job) than
dead server (which i need to restart).
additional info: server is using php & proxy modules.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 48744] apache have more than ServerLimit processes
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48744
Dan Poirier <po...@pobox.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Dan Poirier <po...@pobox.com> 2010-02-15 11:32:32 UTC ---
You have a configuration problem, not a bug.
Bugzilla is not the right place to ask for help configuring
your web server.
Please raise your question on the users mailing list at
http://httpd.apache.org/userslist.html (and first read the advice
there about how to ask a question in a way that's likely to get
helpful answers).
If discussion there concludes that there is a bug, by all means
re-open this bug report and update it with the conclusions from the
discussion.
Thanks for helping those who volunteer to work on Apache to use their
time efficiently.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org