1<?xml version="1.0" encoding="ISO-8859-1"?> 2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 3<html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr"><head><!-- 4 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 5 This file is generated from xml source: DO NOT EDIT 6 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 7 --> 8<title>mpm_netware - Serveur Apache HTTP</title> 9<link href="/style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> 10<link href="/style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> 11<link href="/style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="/style/css/prettify.css" /> 12<script src="/style/scripts/prettify.min.js" type="text/javascript"> 13</script> 14 15<link href="/images/favicon.ico" rel="shortcut icon" /></head> 16<body> 17<div id="page-header"> 18<p class="menu"><a href="/mod/">Modules</a> | <a href="/mod/directives.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="/glossary.html">Glossaire</a> | <a href="/sitemap.html">Plan du site</a></p> 19<p class="apache">Serveur Apache HTTP Version 2.4</p> 20<img alt="" src="/images/feather.gif" /></div> 21<div class="up"><a href="./"><img title="<-" alt="<-" src="/images/left.gif" /></a></div> 22<div id="path"> 23<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">Serveur HTTP</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="../">Version 2.4</a> > <a href="./">Modules</a></div> 24<div id="page-content"> 25<div id="preamble"><h1>Apache MPM netware</h1> 26<div class="toplang"> 27<p><span>Langues Disponibles: </span><a href="/en/mod/mpm_netware.html" hreflang="en" rel="alternate" title="English"> en </a> | 28<a href="/fr/mod/mpm_netware.html" title="Fran�ais"> fr </a></p> 29</div> 30<table class="module"><tr><th><a href="module-dict.html#Description">Description:</a></th><td>Module multi-processus impl�mentant un serveur web bas� 31exclusivement sur les threads et optimis� pour Novell 32NetWare</td></tr> 33<tr><th><a href="module-dict.html#Status">Statut:</a></th><td>MPM</td></tr> 34<tr><th><a href="module-dict.html#ModuleIdentifier">Identificateur�de�Module:</a></th><td>mpm_netware_module</td></tr> 35<tr><th><a href="module-dict.html#SourceFile">Fichier�Source:</a></th><td>mpm_netware.c</td></tr></table> 36<h3>Sommaire</h3> 37 38 <p>Ce module multi-processus (MPM) impl�mente un serveur web bas� 39 exclusivement sur les threads et optimis� pour Novell NetWare.</p> 40 41 <p>Le thread ma�tre est charg� du lancement de threads esclaves qui 42 attendent les connexions et les traitent au fur et � mesure de leur 43 arriv�e. Le serveur HTTP Apache essaie toujours de maintenir 44 plusieurs threads 45 esclaves en <dfn>spare</dfn> (en r�serve) ou inactifs. De cette 46 fa�on, les clients n'ont pas besoin d'attendre le lancement d'un 47 nouveau thread enfant pour que leurs requ�tes soient trait�es.</p> 48 49 <p>Les directives <code class="directive"><a href="/mod/mpm_common.html#startthreads">StartThreads</a></code>, <code class="directive"><a href="/mod/mpm_common.html#minsparethreads">MinSpareThreads</a></code>, <code class="directive"><a href="/mod/mpm_common.html#maxsparethreads">MaxSpareThreads</a></code>, et <code class="directive"><a href="#maxthreads">MaxThreads</a></code> contr�lent 50 la mani�re dont le thread ma�tre cr�e les threads esclaves afin de 51 traiter les requ�tes. En g�n�ral, Apache httpd s'auto-r�gule correctement, 52 et la plupart des sites ne n�cessitent aucune modification des 53 valeurs par d�faut de ces directives. Pour les sites dont le serveur 54 est limit� en m�moire, il peut s'av�rer n�cessaire de diminuer la 55 valeur de la directive <code class="directive"><a href="#maxthreads">MaxThreads</a></code> afin d'�viter une 56 hyper-activit� du serveur (arr�ts de threads inactifs et lancement incessant 57 de nouveau threads). Vous trouverez plus d'informations � 58 propos du contr�le de la cr�ation de processus dans le document <a href="/misc/perf-tuning.html">conseils en mati�re de 59 performances</a>.</p> 60 61 <p>La directive <code class="directive"><a href="/mod/mpm_common.html#maxrequestsperchild">MaxRequestsPerChild</a></code> 62 contr�le la fr�quence � laquelle le serveur recycle ses processus 63 en arr�tant les anciens et en en lan�ant de nouveaux. Sous le 64 syst�me d'exploitation NetWare, il est vivement recommand� de 65 laisser cette directive � 0, ce qui permet aux threads esclaves de 66 continuer � traiter les requ�tes ind�finiment.</p> 67</div> 68<div id="quickview"><h3 class="directives">Directives</h3> 69<ul id="toc"> 70<li><img alt="" src="/images/right.gif" /> <a href="mpm_common.html#listen">Listen</a></li> 71<li><img alt="" src="/images/right.gif" /> <a href="mpm_common.html#listenbacklog">ListenBacklog</a></li> 72<li><img alt="" src="/images/right.gif" /> <a href="mpm_common.html#maxconnectionsperchild">MaxConnectionsPerChild</a></li> 73<li><img alt="" src="/images/right.gif" /> <a href="mpm_common.html#maxmemfree">MaxMemFree</a></li> 74<li><img alt="" src="/images/right.gif" /> <a href="mpm_common.html#maxsparethreads">MaxSpareThreads</a></li> 75<li><img alt="" src="/images/down.gif" /> <a href="#maxthreads">MaxThreads</a></li> 76<li><img alt="" src="/images/right.gif" /> <a href="mpm_common.html#minsparethreads">MinSpareThreads</a></li> 77<li><img alt="" src="/images/right.gif" /> <a href="mpm_common.html#receivebuffersize">ReceiveBufferSize</a></li> 78<li><img alt="" src="/images/right.gif" /> <a href="mpm_common.html#sendbuffersize">SendBufferSize</a></li> 79<li><img alt="" src="/images/right.gif" /> <a href="mpm_common.html#startthreads">StartThreads</a></li> 80<li><img alt="" src="/images/right.gif" /> <a href="mpm_common.html#threadstacksize">ThreadStackSize</a></li> 81</ul> 82<h3>Voir aussi</h3> 83<ul class="seealso"> 84<li><a href="/bind.html">D�finition des adresses et ports 85qu'utilise Apache httpd</a> 86</li> 87</ul><ul class="seealso"><li><a href="#comments_section">Commentaires</a></li></ul></div> 88 89<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 90<div class="directive-section"><h2><a name="MaxThreads" id="MaxThreads">MaxThreads</a> <a name="maxthreads" id="maxthreads">Directive</a></h2> 91<table class="directive"> 92<tr><th><a href="directive-dict.html#Description">Description:</a></th><td>D�finit le nombre maximum de threads esclaves</td></tr> 93<tr><th><a href="directive-dict.html#Syntax">Syntaxe:</a></th><td><code>MaxThreads <var>nombre</var></code></td></tr> 94<tr><th><a href="directive-dict.html#Default">D�faut:</a></th><td><code>MaxThreads 2048</code></td></tr> 95<tr><th><a href="directive-dict.html#Context">Contexte:</a></th><td>configuration du serveur</td></tr> 96<tr><th><a href="directive-dict.html#Status">Statut:</a></th><td>MPM</td></tr> 97<tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mpm_netware</td></tr> 98</table> 99 <p>La directive <code class="directive">MaxThreads</code> d�finit 100 le nombre maximum de threads esclaves que l'on d�sire autoriser. La 101 valeur par d�faut correspondant � la valeur cod�e en dur � la 102 compilation, la valeur de cette directive ne peut donc qu'�tre 103 diminu�e, comme dans l'exemple suivant :</p> 104 105 <div class="example"><p><code> 106 MaxThreads 512 107 </code></p></div> 108 109</div> 110</div> 111<div class="bottomlang"> 112<p><span>Langues Disponibles: </span><a href="/en/mod/mpm_netware.html" hreflang="en" rel="alternate" title="English"> en </a> | 113<a href="/fr/mod/mpm_netware.html" title="Fran�ais"> fr </a></p> 114</div><div class="top"><a href="#page-header"><img src="/images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Commentaires</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div> 115<script type="text/javascript"><!--//--><![CDATA[//><!-- 116var comments_shortname = 'httpd'; 117var comments_identifier = 'http://httpd.apache.org/docs/2.4/mod/mpm_netware.html'; 118(function(w, d) { 119 if (w.location.hostname.toLowerCase() == "httpd.apache.org") { 120 d.write('<div id="comments_thread"><\/div>'); 121 var s = d.createElement('script'); 122 s.type = 'text/javascript'; 123 s.async = true; 124 s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; 125 (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); 126 } 127 else { 128 d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); 129 } 130})(window, document); 131//--><!]]></script></div><div id="footer"> 132<p class="apache">Copyright 2014 The Apache Software Foundation.<br />Autoris� sous <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> 133<p class="menu"><a href="/mod/">Modules</a> | <a href="/mod/directives.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="/glossary.html">Glossaire</a> | <a href="/sitemap.html">Plan du site</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- 134if (typeof(prettyPrint) !== 'undefined') { 135 prettyPrint(); 136} 137//--><!]]></script> 138</body></html>