Author: poeml Date: Wed Aug 19 19:11:39 2009 New Revision: 7765 URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=7765&view=rev Log: docs: add a few links about MPMs to the Apache documentation Modified: trunk/docs/tuning.rst Modified: trunk/docs/tuning.rst URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/docs/tuning.rst?rev=7765&r1=7764&r2=7765&view=diff ============================================================================== --- trunk/docs/tuning.rst (original) +++ trunk/docs/tuning.rst Wed Aug 19 19:11:39 2009 _at_@ -15,11 +15,11 @@ MPM ^^^ -In general, it makes sense to use a threaded MPM for Apache. Prefork is less +In general, it makes sense to use a threaded `MPM`_ for Apache. Prefork is less suitable, because the database connection pool would not be shared across the worker children. With prefork, each process would open its own connection to the database. For small installations, this might not matter. However, for a -busy download server, the threaded event MPM or worker MPM are better choices. +busy download server, the threaded `event MPM`_ or `worker MPM`_ are better choices. The following would be a configuration for the event MPM which serves up to 960 connections in parallel, using 64 threads per process. (Values for threads per _at_@ -42,6 +42,14 @@ # at 200 r/s, 20000 r results in a process lifetime of 2 minutes MaxRequestsPerChild 20000 </IfModule> + +Refer to the `Apache MPM documentation`_ for details. + + +.. _`MPM`: http://httpd.apache.org/docs/2.2/mpm.html +.. _`Apache MPM documentation`: http://httpd.apache.org/docs/2.2/mpm.html +.. _`event MPM`: http://httpd.apache.org/docs/2.2/mod/event.html +.. _`worker MPM`: http://httpd.apache.org/docs/2.2/mod/worker.html DBD connection pool _______________________________________________ mirrorbrain-commits mailing list Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/ Note: To remove yourself from this list, send a mail with the content unsubscribe to the address mirrorbrain-commits-request_at_mirrorbrain.orgReceived on Wed Aug 19 2009 - 17:11:43 GMT
This archive was generated by hypermail 2.3.0 : Mon Feb 20 2012 - 23:47:04 GMT