<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.stephanschlegel.de/index.php?action=history&amp;feed=atom&amp;title=Apache_-_Konfiguration_und_Performance</id>
	<title>Apache - Konfiguration und Performance - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.stephanschlegel.de/index.php?action=history&amp;feed=atom&amp;title=Apache_-_Konfiguration_und_Performance"/>
	<link rel="alternate" type="text/html" href="https://wiki.stephanschlegel.de/index.php?title=Apache_-_Konfiguration_und_Performance&amp;action=history"/>
	<updated>2026-05-06T15:21:56Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Wikizone</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://wiki.stephanschlegel.de/index.php?title=Apache_-_Konfiguration_und_Performance&amp;diff=18681&amp;oldid=prev</id>
		<title>193.196.133.66: /* Links */</title>
		<link rel="alternate" type="text/html" href="https://wiki.stephanschlegel.de/index.php?title=Apache_-_Konfiguration_und_Performance&amp;diff=18681&amp;oldid=prev"/>
		<updated>2010-04-09T10:42:38Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Links&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 9. April 2010, 10:42 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot; &gt;Zeile 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Sehr guter Artikel zu Performance bezogenen Einstellungen (englisch):&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Sehr guter Artikel zu Performance bezogenen Einstellungen (englisch):&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;http://www.devside.net/articles/apache-performance-tuning&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;http://www.devside.net/articles/apache-performance-tuning&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Übersicht und Links auf andere gute Seiten: &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;http://www.joomlaperformance.com/articles/server_related/how_to_track_down_a_high_server_load_5_16.html&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Allgemeine Tipps zur Performance ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Allgemeine Tipps zur Performance ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>193.196.133.66</name></author>
	</entry>
	<entry>
		<id>https://wiki.stephanschlegel.de/index.php?title=Apache_-_Konfiguration_und_Performance&amp;diff=1933&amp;oldid=prev</id>
		<title>193.196.133.66 am 9. April 2010 um 09:31 Uhr</title>
		<link rel="alternate" type="text/html" href="https://wiki.stephanschlegel.de/index.php?title=Apache_-_Konfiguration_und_Performance&amp;diff=1933&amp;oldid=prev"/>
		<updated>2010-04-09T09:31:01Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 9. April 2010, 09:31 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Zeile 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Links ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Sehr guter Artikel zu Performance bezogenen Einstellungen (englisch):&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;http://www.devside.net/articles/apache-performance-tuning&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Allgemeine Tipps zur Performance ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Allgemeine Tipps zur Performance ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Die Zusammenhänge ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Die Zusammenhänge ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>193.196.133.66</name></author>
	</entry>
	<entry>
		<id>https://wiki.stephanschlegel.de/index.php?title=Apache_-_Konfiguration_und_Performance&amp;diff=1932&amp;oldid=prev</id>
		<title>193.196.133.66: /* Weitere Tipps */</title>
		<link rel="alternate" type="text/html" href="https://wiki.stephanschlegel.de/index.php?title=Apache_-_Konfiguration_und_Performance&amp;diff=1932&amp;oldid=prev"/>
		<updated>2010-04-09T09:05:22Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Weitere Tipps&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 9. April 2010, 09:05 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l49&quot; &gt;Zeile 49:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 49:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Min und MaxSpareThreads sollten durch ThreadsPerChild Teilbarsein. Sonst rundet der Server.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Min und MaxSpareThreads sollten durch ThreadsPerChild Teilbarsein. Sonst rundet der Server.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Den Speicherverbrauch eines Workerprozesses kann man angeblich effektiv mit der &amp;#039;&amp;#039;&amp;#039;ThreadStackSize&amp;#039;&amp;#039;&amp;#039; beeinflussen, auf geringe Kosten der Performance bezogen auf die Requestdauer.&amp;#039;&amp;#039; I reduced my setting down to 65536 bytes and was able to bring down my apache2 process usage from 50MB to just 10MB! And it works quite well with little to no effect on the speed of requests handled!&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Den Speicherverbrauch eines Workerprozesses kann man angeblich effektiv mit der &amp;#039;&amp;#039;&amp;#039;ThreadStackSize&amp;#039;&amp;#039;&amp;#039; beeinflussen, auf geringe Kosten der Performance bezogen auf die Requestdauer.&amp;#039;&amp;#039; I reduced my setting down to 65536 bytes and was able to bring down my apache2 process usage from 50MB to just 10MB! And it works quite well with little to no effect on the speed of requests handled!&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Maybe move to a single child process with 15 threads&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Man kann sich auch bei knappem Speicher überlegen lieber weniger Server und MaxClients zu nehmen und dafür mehr ThreadsPerChild. Spart Speicher geht aber wieder zu lasten der Geschwindigkeit (vor allem bei Prozessoren mit mehrerern Kernen&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>193.196.133.66</name></author>
	</entry>
	<entry>
		<id>https://wiki.stephanschlegel.de/index.php?title=Apache_-_Konfiguration_und_Performance&amp;diff=1931&amp;oldid=prev</id>
		<title>193.196.133.66 am 9. April 2010 um 08:58 Uhr</title>
		<link rel="alternate" type="text/html" href="https://wiki.stephanschlegel.de/index.php?title=Apache_-_Konfiguration_und_Performance&amp;diff=1931&amp;oldid=prev"/>
		<updated>2010-04-09T08:58:26Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Allgemeine Tipps zur Performance ==&lt;br /&gt;
=== Die Zusammenhänge ===&lt;br /&gt;
Es gibt das Prefork MPM und das Worker MPM. Der Hauptunterschied besteht darin daß der Worker MPM mehrere Threads bilden kann. Das ist unter Umständen gut wenn mehrere Prozessor-Kerne am Werk sind.&lt;br /&gt;
&lt;br /&gt;
Prefork bildet einen Thread und spaltet davon Kindprozesse ab. Das braucht weniger Speicher für die Threads. &lt;br /&gt;
&lt;br /&gt;
== Apache2 unter Worker MPM ==&lt;br /&gt;
Unter Worker MPM muß man aufpassen das die Einstellungen zum Speicherangebot des Servers passen. Bei kleinen Servern oder VServern  ist die Standardkonfiguration ein Killer, weil allein die Prozesse des Apache den ganzen Speicher brauchen und kein Platz mehr für andere Tätigkeiten (z.B. CGI-Skripte) bleiben.&lt;br /&gt;
&lt;br /&gt;
Standardkonfiguration Worker und Prefork:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# MaxClients: maximum number of server processes allowed to start&lt;br /&gt;
# MaxRequestsPerChild: maximum number of requests a server process serves&lt;br /&gt;
&amp;lt;IfModule mpm_prefork_module&amp;gt;&lt;br /&gt;
    StartServers         50&lt;br /&gt;
    MinSpareServers      10&lt;br /&gt;
    MaxSpareServers      50&lt;br /&gt;
    MaxClients          250&lt;br /&gt;
    MaxRequestsPerChild   0&lt;br /&gt;
&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# worker MPM&lt;br /&gt;
# StartServers: initial number of server processes to start&lt;br /&gt;
# MaxClients: maximum number of simultaneous client connections&lt;br /&gt;
# MinSpareThreads: minimum number of worker threads which are kept spare&lt;br /&gt;
# MaxSpareThreads: maximum number of worker threads which are kept spare&lt;br /&gt;
# ThreadsPerChild: constant number of worker threads in each server process&lt;br /&gt;
# MaxRequestsPerChild: maximum number of requests a server process serves&lt;br /&gt;
&amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
    StartServers          2&lt;br /&gt;
    MaxClients          150&lt;br /&gt;
    MinSpareThreads      25&lt;br /&gt;
    MaxSpareThreads      75&lt;br /&gt;
    ThreadsPerChild      25&lt;br /&gt;
    MaxRequestsPerChild   0&lt;br /&gt;
&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Für den Worker muß man also versuchen die Werte so einzustellen, daß nicht zuviel Speicher verschwendet wird, aber trotzdem die erwartete Last gut abgearbeitet wird und noch Reserven zur Verfügung stehen. Wenn die Werte zu hoch gesetzt sind riskiert man außerdem daß die threads gar nicht genutzt werden könnnen, weil die Prozessorleistung zu niedrig ist und der Speicherverbrauch zu hoch.&lt;br /&gt;
&lt;br /&gt;
Die wichtigsten Werte sind hierbei: &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;MaxClients&amp;#039;&amp;#039;&amp;#039; - Dieser Wert gibt an, wieviel Clients sich maximal zur gleichen Zeit verbinden dürfen&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;ThreadsPerChild&amp;#039;&amp;#039;&amp;#039; - Gibt an wieviel Threads in einem Serverprozess laufen. (Sollte nicht niedriger sein als MinSpareThreads)&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;MaxRequestsPerChild&amp;#039;&amp;#039;&amp;#039; - Wenn gesetzt wird ein Serverprozess nach der angegebenen Zahl beendet und wenn benötigt ein neuer gestartet. Gerade bei vielen Skripten wichtig, um zu verhindern daß ein Serverprozess zu lange auf ein Skript wartet und nicht anderswo genutzt werden kann.&lt;br /&gt;
&lt;br /&gt;
=== Weitere Tipps ===&lt;br /&gt;
* Die &amp;#039;&amp;#039;&amp;#039;KeepAliveTimeout&amp;#039;&amp;#039;&amp;#039; kann man u.U. ebenfalls etwas heruntersetzten (z.B. von 15 auf 10 oder sogar 5s). Dann muß der Browser zwar evtl. eine neue Verbindung aufbauen, dafür wird bei langsamen Verbindungen die Verbindung nicht blockiert. Ganz auschalten ist aber auch nicht sinnvoll, dann ist der Server dauernd beschäftigt, neue Verbindungen aufzubauen, was natürlich auch wieder Zeit benötigt.&lt;br /&gt;
* Min und MaxSpareThreads sollten durch ThreadsPerChild Teilbarsein. Sonst rundet der Server.&lt;br /&gt;
* Den Speicherverbrauch eines Workerprozesses kann man angeblich effektiv mit der &amp;#039;&amp;#039;&amp;#039;ThreadStackSize&amp;#039;&amp;#039;&amp;#039; beeinflussen, auf geringe Kosten der Performance bezogen auf die Requestdauer.&amp;#039;&amp;#039; I reduced my setting down to 65536 bytes and was able to bring down my apache2 process usage from 50MB to just 10MB! And it works quite well with little to no effect on the speed of requests handled!&amp;#039;&amp;#039;&lt;br /&gt;
* Maybe move to a single child process with 15 threads.&lt;/div&gt;</summary>
		<author><name>193.196.133.66</name></author>
	</entry>
</feed>