📄 mpm_common.html.tr.utf8
字号:
<code class="module"><a href="../mod/mpm_netware.html">mpm_netware</a></code> gibidir. <code class="module"><a href="../mod/beos.html">beos</a></code> i莽in <code>MaxSpareThreads 50</code> 枚ntan谋ml谋yken <code class="module"><a href="../mod/mpmt_os2.html">mpmt_os2</a></code> i莽in 枚ntan谋ml谋 de臒er <code>10</code>鈥檇ur.</p> <div class="note"><h3>K谋s谋tlamalar</h3> <p><code class="directive">MaxSpareThreads</code> i莽in de臒er aral谋臒谋 s谋n谋rl谋d谋r. Apache belirtilen de臒eri a艧a臒谋daki kurallara uygun olarak kendili臒inden d眉zeltecektir:</p> <ul> <li><code class="module"><a href="../mod/mpm_netware.html">mpm_netware</a></code> mod眉l眉, de臒erin <code class="directive"><a href="#minsparethreads">MinSpareThreads</a></code> de臒erinden k眉莽眉k olmas谋n谋 gerektirir.</li> <li><code class="module"><a href="../mod/worker.html">worker</a></code> i莽in de臒er, <code class="directive"><a href="#minsparethreads">MinSpareThreads</a></code> ve <code class="directive"><a href="#threadsperchild">ThreadsPerChild</a></code> toplam谋na e艧it veya b眉y眉k olmak zorundad谋r.</li> </ul> </div><h3>Ayr谋ca bak谋n谋z:</h3><ul><li><code class="directive"><a href="#minsparethreads">MinSpareThreads</a></code></li><li><code class="directive"><a href="#startservers">StartServers</a></code></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="directive-section"><h2><a name="MinSpareThreads" id="MinSpareThreads">MinSpareThreads</a> <a name="minsparethreads" id="minsparethreads">Y枚nergesi</a></h2><table class="directive"><tr><th><a href="directive-dict.html#Description">A莽谋klama:</a></th><td>陌steklerin ani art谋艧谋nda devreye girecek bo艧taki evrelerin asgari say谋s谋n谋 belirler.</td></tr><tr><th><a href="directive-dict.html#Syntax">S枚zdizimi:</a></th><td><code>MinSpareThreads <var>number</var></code></td></tr><tr><th><a href="directive-dict.html#Default">脰ntan谋ml谋:</a></th><td><code>Ayr谋nt谋lar i莽in a艧a臒谋daki a莽谋klamaya bak谋n谋z.</code></td></tr><tr><th><a href="directive-dict.html#Context">Ba臒lam:</a></th><td>sunucu geneli</td></tr><tr><th><a href="directive-dict.html#Status">Durum:</a></th><td>MPM</td></tr><tr><th><a href="directive-dict.html#Module">Mod眉l:</a></th><td><code class="module"><a href="../mod/beos.html">beos</a></code>, <code class="module"><a href="../mod/mpm_netware.html">mpm_netware</a></code>, <code class="module"><a href="../mod/mpmt_os2.html">mpmt_os2</a></code>, <code class="module"><a href="../mod/worker.html">worker</a></code></td></tr></table> <p>陌steklerin ani art谋艧谋nda devreye girecek bo艧taki evrelerin asgari say谋s谋. Her MPM bu y枚nerge kar艧谋s谋nda farkl谋 davran谋r.</p> <p><code class="module"><a href="../mod/worker.html">worker</a></code> i莽in <code>MinSpareThreads 75</code> 枚ntan谋ml谋d谋r ve bu mod眉ller bo艧taki evreleri sunucu genelinde izler. E臒er sunucuda bo艧taki evre say谋s谋 yetersizse, sunucu bo艧taki evrelerin say谋s谋 bu s谋n谋r谋n 眉st眉ne 莽谋kana kadar 莽ocuk s眉re莽 olu艧turur.</p> <p><code class="module"><a href="../mod/mpm_netware.html">mpm_netware</a></code> i莽in <code>MinSpareThreads 10</code> 枚ntan谋ml谋d谋r ve tek s眉re莽 kendisi oldu臒undan izleme sunucu genelinde yap谋l谋r.</p> <p><code class="module"><a href="../mod/beos.html">beos</a></code> ve <code class="module"><a href="../mod/mpmt_os2.html">mpmt_os2</a></code> mod眉lleri <code class="module"><a href="../mod/mpm_netware.html">mpm_netware</a></code> gibidir. <code class="module"><a href="../mod/beos.html">beos</a></code> i莽in <code>MinSpareThreads 1</code> 枚ntan谋ml谋 iken <code class="module"><a href="../mod/mpmt_os2.html">mpmt_os2</a></code> i莽in 枚ntan谋ml谋 de臒er <code>5</code>鈥檛ir.</p><h3>Ayr谋ca bak谋n谋z:</h3><ul><li><code class="directive"><a href="#maxsparethreads">MaxSpareThreads</a></code></li><li><code class="directive"><a href="#startservers">StartServers</a></code></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="directive-section"><h2><a name="PidFile" id="PidFile">PidFile</a> <a name="pidfile" id="pidfile">Y枚nergesi</a></h2><table class="directive"><tr><th><a href="directive-dict.html#Description">A莽谋klama:</a></th><td>Ana s眉recin s眉re莽 kimli臒inin (PID) kaydedilece臒i dosyay谋 belirler.</td></tr><tr><th><a href="directive-dict.html#Syntax">S枚zdizimi:</a></th><td><code>PidFile <var>dosya</var></code></td></tr><tr><th><a href="directive-dict.html#Default">脰ntan谋ml谋:</a></th><td><code>PidFile logs/httpd.pid</code></td></tr><tr><th><a href="directive-dict.html#Context">Ba臒lam:</a></th><td>sunucu geneli</td></tr><tr><th><a href="directive-dict.html#Status">Durum:</a></th><td>MPM</td></tr><tr><th><a href="directive-dict.html#Module">Mod眉l:</a></th><td><code class="module"><a href="../mod/beos.html">beos</a></code>, <code class="module"><a href="../mod/mpm_winnt.html">mpm_winnt</a></code>, <code class="module"><a href="../mod/mpmt_os2.html">mpmt_os2</a></code>, <code class="module"><a href="../mod/prefork.html">prefork</a></code>, <code class="module"><a href="../mod/worker.html">worker</a></code></td></tr></table> <p><code class="directive">PidFile</code> y枚nergesi, sunucunun artalan s眉recinin s眉re莽 kimli臒inin kaydedilece臒i dosyay谋 belirler. Dosya ismi mutlak dosya yoluyla belirtilmemi艧se dosya yolunun <code class="directive"><a href="../mod/core.html#serverroot">ServerRoot</a></code> dizinine g枚re belirtildi臒i kabul edilir.</p> <div class="example"><h3>脰rnek</h3><p><code> PidFile /var/run/apache.pid </code></p></div> <p>Sunucuya sinyal g枚nderebilmek 莽o臒unlukla i艧e yarar. B枚ylece <code class="directive"><a href="../mod/core.html#errorlog">ErrorLog</a></code> ve <code class="directive"><a href="../mod/mod_log_config.html#transferlog">TransferLog</a></code> dosyalar谋 kapat谋l谋p yeniden a莽谋l谋r ve yap谋land谋rma dosyalar谋 yeniden okunur. Bu, <code class="directive">PidFile</code> dosyas谋nda belirtilen s眉re莽 kimli臒ine bir SIGHUP (kill -1) sinyali g枚nderilerek yap谋l谋r.</p> <p>G眉nl眉k dosyas谋n谋n yeri ve <a href="../misc/security_tips.html#serverroot">g眉venlik</a> ile ilgili uyar谋lar <code class="directive">PidFile</code> dosyas谋 i莽inde s枚zkonusu olabilir.</p> <div class="note"><h3>Ek Bilgi</h3> <p>Apache 2鈥檇e sunucuyu (yeniden) ba艧lat谋rken veya durdururken sadece <code class="program"><a href="../programs/apachectl.html">apachectl</a></code> beti臒ini kullanman谋z 枚nerilir.</p> </div></div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="directive-section"><h2><a name="ReceiveBufferSize" id="ReceiveBufferSize">ReceiveBufferSize</a> <a name="receivebuffersize" id="receivebuffersize">Y枚nergesi</a></h2><table class="directive"><tr><th><a href="directive-dict.html#Description">A莽谋klama:</a></th><td>TCP al谋m tamponu boyu</td></tr><tr><th><a href="directive-dict.html#Syntax">S枚zdizimi:</a></th><td><code>ReceiveBufferSize <var>bayt-say谋s谋</var></code></td></tr><tr><th><a href="directive-dict.html#Default">脰ntan谋ml谋:</a></th><td><code>ReceiveBufferSize 0</code></td></tr><tr><th><a href="directive-dict.html#Context">Ba臒lam:</a></th><td>sunucu geneli</td></tr><tr><th><a href="directive-dict.html#Status">Durum:</a></th><td>MPM</td></tr><tr><th><a href="directive-dict.html#Module">Mod眉l:</a></th><td><code class="module"><a href="../mod/beos.html">beos</a></code>, <code class="module"><a href="../mod/mpm_netware.html">mpm_netware</a></code>, <code class="module"><a href="../mod/mpm_winnt.html">mpm_winnt</a></code>, <code class="module"><a href="../mod/mpmt_os2.html">mpmt_os2</a></code>, <code class="module"><a href="../mod/prefork.html">prefork</a></code>, <code class="module"><a href="../mod/worker.html">worker</a></code></td></tr></table> <p>Sunucu TCP al谋m tamponu boyunu <var>bayt-say谋s谋</var> ile belirtilen bayta ayarlayacakt谋r.</p> <p><code>0</code> de臒eri atarsan谋z sunucu i艧letim sistemi 枚ntan谋ml谋s谋n谋 kullanacakt谋r.</p></div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="directive-section"><h2><a name="ScoreBoardFile" id="ScoreBoardFile">ScoreBoardFile</a> <a name="scoreboardfile" id="scoreboardfile">Y枚nergesi</a></h2><table class="directive"><tr><th><a href="directive-dict.html#Description">A莽谋klama:</a></th><td>脟ocuk s眉re莽ler i莽in e艧g眉d眉m verisini saklamakta kullan谋lan dosyan谋n yerini belirler.</td></tr><tr><th><a href="directive-dict.html#Syntax">S枚zdizimi:</a></th><td><code>ScoreBoardFile <var>dosya-yolu</var></code></td></tr><tr><th><a href="directive-dict.html#Default">脰ntan谋ml谋:</a></th><td><code>ScoreBoardFile logs/apache_status</code></td></tr><tr><th><a href="directive-dict.html#Context">Ba臒lam:</a></th><td>sunucu geneli</td></tr><tr><th><a href="directive-dict.html#Status">Durum:</a></th><td>MPM</td></tr><tr><th><a href="directive-dict.html#Module">Mod眉l:</a></th><td><code class="module"><a href="../mod/beos.html">beos</a></code>, <code class="module"><a href="../mod/mpm_winnt.html">mpm_winnt</a></code>, <code class="module"><a href="../mod/prefork.html">prefork</a></code>, <code class="module"><a href="../mod/worker.html">worker</a></code></td></tr></table> <p>Apache ana ve 莽ocuk s眉re莽ler aras谋nda ileti艧im i莽in bir 莽etele tutar. Baz谋 mimariler bu ileti艧imi kolayla艧t谋rmak i莽in bir dosya gerektirir. E臒er y枚nerge belirtilmezse Apache 莽eteleyi 枚nce tamamen bellekte olu艧turmay谋 dener (anonim payla艧谋ml谋 bellek kullanarak); bunda ba艧ar谋l谋 olamazsa dosyay谋 diskte olu艧turmaya 莽al谋艧acakt谋r (payla艧谋ml谋 belle臒e e艧lemli dosya kullanarak). Bu y枚nergenin belirtilmesi Apache sunucusunun dosyay谋 daima diskte olu艧turmas谋na sebep olur.</p> <div class="example"><h3>脰rnek</h3><p><code> ScoreBoardFile /var/run/apache_status </code></p></div> <p>Payla艧谋ml谋 belle臒e e艧lemli dosya, 莽eteleye do臒rudan eri艧mesi gereken 眉莽眉nc眉 parti uygulamalar i莽in yararl谋d谋r.</p> <p>E臒er <code class="directive">ScoreBoardFile</code> y枚nergesi ile bir dosya belirtecekseniz, dosyay谋 bir RAM diske yerle艧tirerek h谋z art谋艧谋 sa臒layabilirsiniz. Fakat, g眉nl眉k dosyas谋 yerle艧tirme ve <a href="../misc/security_tips.html">g眉venlik</a> ile ilgili uyar谋lara benzer uyar谋lara kar艧谋 dikkatli olunuz.</p><h3>Ayr谋ca bak谋n谋z:</h3><ul><li><a href="../stopping.html">Sunucuyu Durdurma ve Yeniden Ba艧latma</a> </li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="directive-section"><h2><a name="SendBufferSize" id="SendBufferSize">SendBufferSize</a> <a name="sendbuffersize" id="sendbuffersize">Y枚nergesi</a></h2><table class="directive"><tr><th><a href="directive-dict.html#Description">A莽谋klama:</a></th><td>TCP tamponu boyu</td></tr><tr><th><a href="directive-dict.html#Syntax">S枚zdizimi:</a></th><td><code>SendBufferSize <var>bayt-say谋s谋</var></code></td></tr><tr><th><a href="directive-dict.html#Default">脰ntan谋ml谋:</a></th><td><code>SendBufferSize 0</code></td></tr><tr><th><a href="directive-dict.html#Context">Ba臒lam:</a></th><td>sunucu geneli</td></tr><tr><th><a href="directive-dict.html#Status">Durum:</a></th><td>MPM</td></tr><tr><th><a href="directive-dict.html#Module">Mod眉l:</a></th><td><code class="module"><a href="../mod/beos.html">beos</a></code>, <code class="module"><a href="../mod/mpm_netware.html">mpm_netware</a></code>, <code class="module"><a href="../mod/mpm_winnt.html">mpm_winnt</a></code>, <code class="module"><a href="../mod/mpmt_os2.html">mpmt_os2</a></code>, <code class="module"><a href="../mod/prefork.html">prefork</a></code>, <code class="module"><a href="../mod/worker.html">worker</a></code></td></tr></table> <p>Sunucu TCP g枚nderim tamponu boyunu <var>bayt-say谋s谋</var> ile belirtilen bayta ayarlayacakt谋r. Y眉ksek h谋zl谋 y眉ksek yatakl谋k s眉resi i莽in standart i艧letim sistemi 枚ntan谋ml谋lar谋n谋 artt谋rmak 莽ok yararl谋d谋r (枚rne臒in, k谋talar aras谋 h谋zl谋 borularda oldu臒u gibi 100 ms civar谋nda).</p> <p><code>0</code> de臒eri atarsan谋z sunucu i艧letim sistemi 枚ntan谋ml谋s谋n谋 kullanacakt谋r.</p></div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="directive-section"><h2><a name="ServerLimit" id="ServerLimit">ServerLimit</a> <a name="serverlimit" id="serverlimit">Y枚nergesi</a></h2>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -