HEX
Server: Apache
System: Linux wp-jo-wordpress-79f99b7d9d-ngh2p 6.12.67-0-virt #1-Alpine SMP PREEMPT_DYNAMIC 2026-01-27 02:08:12 x86_64
User: (1001)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: /opt/bitnami/apache2/manual/mod/worker.html.tr.utf8
<!DOCTYPE html SYSTEM "about:legacy-compat">
<html lang="tr"><head><META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="width=device-width, initial-scale=1" name="viewport">
<!--
        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
              This file is generated from xml source: DO NOT EDIT
        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
      -->
<title>worker - Apache HTTP Sunucusu S&uuml;r&uuml;m 2.4</title>
<link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet">
<link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size">
<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">
<script src="../style/scripts/prettify.min.js">
</script>

<link href="../images/favicon.png" rel="shortcut icon"></head>
<body>
<div id="page-header">
<p class="menu"><a href="../mod/">Mod&uuml;ller</a> | <a href="../mod/quickreference.html">Y&ouml;nergeler</a> | <a href="https://cwiki.apache.org/confluence/display/httpd/FAQ">SSS</a> | <a href="../glossary.html">Terimler</a> | <a href="../sitemap.html">Site Haritası</a> | <a href="https://bz.apache.org/bugzilla/enter_bug.cgi?product=Apache%20httpd-2">Hata bildir</a></p>
<p class="apache">Apache HTTP Sunucusu S&uuml;r&uuml;m 2.4</p>
<img alt="" src="../images/feather.png"></div>
<div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif"></a></div>
<div id="path">
<a href="https://www.apache.org/">Apache</a> &gt; <a href="https://httpd.apache.org/">HTTP Sunucusu</a> &gt; <a href="https://httpd.apache.org/docs/">Belgeleme</a> &gt; <a href="../">S&uuml;r&uuml;m 2.4</a> &gt; <a href="./">Mod&uuml;ller</a></div>
<div id="page-content">
<div id="preamble"><h1>Apache MPM worker</h1>
<button aria-label="Toggle language list" class="lang-toggle"><svg xmlns="http://www.w3.org/2000/svg" stroke-width="2" stroke="currentColor" fill="none" viewBox="0 0 24 24" height="16" width="16"><circle r="10" cy="12" cx="12"/><line y2="12" x2="22" y1="12" x1="2"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/></svg></button>
<div class="toplang">
<p><span>Mevcut Diller: </span><a href="../de/mod/worker.html" hreflang="de" rel="alternate" title="Deutsch">&nbsp;de&nbsp;</a> |
<a href="../en/mod/worker.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
<a href="../fr/mod/worker.html" hreflang="fr" rel="alternate" title="Fran&ccedil;ais">&nbsp;fr&nbsp;</a> |
<a href="../ja/mod/worker.html" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a> |
<a href="../tr/mod/worker.html" title="T&uuml;rk&ccedil;e">&nbsp;tr&nbsp;</a></p>
</div>
<table class="module"><tr><th><a href="module-dict.html#Description">A&ccedil;ıklama:</a></th><td>&Ccedil;ok evreli ve &ccedil;ok s&uuml;re&ccedil;li melez bir HTTP sunucusu oluşturan &ccedil;ok
s&uuml;re&ccedil;lilik mod&uuml;l&uuml;.</td></tr>
<tr><th><a href="module-dict.html#Status">Durum:</a></th><td>MPM</td></tr>
<tr><th><a href="module-dict.html#ModuleIdentifier">Mod&uuml;l&nbsp;Betimleyici:</a></th><td>mpm_worker_module</td></tr>
<tr><th><a href="module-dict.html#SourceFile">Kaynak&nbsp;Dosyası:</a></th><td>worker.c</td></tr></table>
<h3>&Ouml;zet</h3>

    <p>Bu &ccedil;ok s&uuml;re&ccedil;lilik mod&uuml;l&uuml; (MPM) hem &ccedil;ok s&uuml;re&ccedil;li hem de &ccedil;ok evreli
      olabilen melez bir sunucu oluşturur. İstekleri sunmak i&ccedil;in evreleri
      kullanması sebebiyle &ccedil;ok s&uuml;re&ccedil;li bir sunucudan daha az sistem kaynağı
      harcayarak daha &ccedil;ok isteğe hizmet sunabilir. Bununla birlikte, herbiri
      &ccedil;ok sayıda evreye sahip &ccedil;ok sayıda s&uuml;reci canlı tutarak bir &ccedil;ok s&uuml;re&ccedil;li
      sunucu kadar kararlı olur.</p>

    <p>Bu MPM'i denetim altında tutmakta kullanılan en &ouml;nemli y&ouml;nergeler, her
      &ccedil;ocuk s&uuml;re&ccedil; i&ccedil;in konuşlandırılacak evre sayısını belirleyen <code class="directive"><a href="../mod/mpm_common.html#threadsperchild">ThreadsPerChild</a></code> y&ouml;nergesi ile devreye
      sokulacak toplam evre sayısının azamisini belirleyen <code class="directive"><a href="../mod/mpm_common.html#maxrequestworkers">MaxRequestWorkers</a></code> y&ouml;nergesidir.</p>
</div>
<div id="quickview"><h3>Konular</h3>
<ul id="topics">
<li><img alt="" src="../images/down.gif"> <a href="#how-it-works">Nasıl &ccedil;alışır?</a></li>
</ul><h3 class="directives">Y&ouml;nergeler</h3>
<ul id="toc">
<li><img alt="" src="../images/right.gif"> <a href="mpm_common.html#coredumpdirectory">CoreDumpDirectory</a></li>
<li><img alt="" src="../images/right.gif"> <a href="mpm_common.html#enableexceptionhook">EnableExceptionHook</a></li>
<li><img alt="" src="../images/right.gif"> <a href="mod_unixd.html#group">Group</a></li>
<li><img alt="" src="../images/right.gif"> <a href="mpm_common.html#listen">Listen</a></li>
<li><img alt="" src="../images/right.gif"> <a href="mpm_common.html#listenbacklog">ListenBacklog</a></li>
<li><img alt="" src="../images/right.gif"> <a href="mpm_common.html#maxconnectionsperchild">MaxConnectionsPerChild</a></li>
<li><img alt="" src="../images/right.gif"> <a href="mpm_common.html#maxmemfree">MaxMemFree</a></li>
<li><img alt="" src="../images/right.gif"> <a href="mpm_common.html#maxrequestworkers">MaxRequestWorkers</a></li>
<li><img alt="" src="../images/right.gif"> <a href="mpm_common.html#maxsparethreads">MaxSpareThreads</a></li>
<li><img alt="" src="../images/right.gif"> <a href="mpm_common.html#minsparethreads">MinSpareThreads</a></li>
<li><img alt="" src="../images/right.gif"> <a href="mpm_common.html#pidfile">PidFile</a></li>
<li><img alt="" src="../images/right.gif"> <a href="mpm_common.html#receivebuffersize">ReceiveBufferSize</a></li>
<li><img alt="" src="../images/right.gif"> <a href="mpm_common.html#scoreboardfile">ScoreBoardFile</a></li>
<li><img alt="" src="../images/right.gif"> <a href="mpm_common.html#sendbuffersize">SendBufferSize</a></li>
<li><img alt="" src="../images/right.gif"> <a href="mpm_common.html#serverlimit">ServerLimit</a></li>
<li><img alt="" src="../images/right.gif"> <a href="mpm_common.html#startservers">StartServers</a></li>
<li><img alt="" src="../images/right.gif"> <a href="mpm_common.html#threadlimit">ThreadLimit</a></li>
<li><img alt="" src="../images/right.gif"> <a href="mpm_common.html#threadsperchild">ThreadsPerChild</a></li>
<li><img alt="" src="../images/right.gif"> <a href="mpm_common.html#threadstacksize">ThreadStackSize</a></li>
<li><img alt="" src="../images/right.gif"> <a href="mod_unixd.html#user">User</a></li>
</ul>
<h3>Bulunan hatalar</h3><ul class="seealso"><li><a href="https://www.apache.org/dist/httpd/CHANGES_2.4">httpd g&uuml;nl&uuml;ğ&uuml;</a></li><li><a href="https://bz.apache.org/bugzilla/buglist.cgi?bug_status=__open__&amp;list_id=144532&amp;product=Apache%20httpd-2&amp;query_format=specific&amp;order=changeddate%20DESC%2Cpriority%2Cbug_severity&amp;component=mpm_worker">Bilinenler</a></li><li><a href="https://bz.apache.org/bugzilla/enter_bug.cgi?product=Apache%20httpd-2&amp;component=mpm_worker">Hata bildir</a></li></ul><h3>Ayrıca bakınız:</h3>
<ul class="seealso">
<li><a href="../bind.html">Apache HTTP Sunucusunun kullandığı adres ve
  portların ayarlanması</a></li>
</ul></div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif"></a></div>
<div class="section">
<h2 id="how-it-works">Nasıl &ccedil;alışır? <a title="Permanent link" href="#how-it-works" class="permalink">&para;</a></h2>
    <p>&Ccedil;ocuk s&uuml;re&ccedil;leri devreye almaktan tek bir s&uuml;re&ccedil; (ana s&uuml;re&ccedil;) sorumludur.
      Her &ccedil;ocuk s&uuml;re&ccedil; <code class="directive"><a href="../mod/mpm_common.html#threadsperchild">ThreadsPerChild</a></code> y&ouml;nergesinde belirtilen sayıda evre
      konuşlandırır. Bunlardan ayrı olarak, bir dinleyici evre bağlantıları
      dinleyip gelenleri işlenmek &uuml;zere bu sunucu evrelerinden birine
      aktarır.</p>

    <p>Apache HTTP Sunucusu daima, gelen isteklere hizmet sunmaya hazır
      <dfn>yedek</dfn>
      veya boştaki sunucu evrelerinden oluşan bir havuzu canlı tutmaya
      &ccedil;alışır. Bu suretle, istemcilere isteklerinin sunulması i&ccedil;in yeni &ccedil;ocuk
      s&uuml;re&ccedil;lerin &ccedil;atallanmasını, dolayısıyla yeni evrelerin
      konuşlandırılmasını beklemek gerekmez. Başlangı&ccedil;ta &ccedil;alıştırılacak &ccedil;ocuk
      s&uuml;re&ccedil;lerin sayısı <code class="directive"><a href="../mod/mpm_common.html#startservers">StartServers</a></code> y&ouml;nergesinde belirtilir.
      Apache httpd, &ccedil;alışma s&uuml;resi boyunca <code class="directive"><a href="../mod/mpm_common.html#minsparethreads">MinSpareThreads</a></code> ve <code class="directive"><a href="../mod/mpm_common.html#maxsparethreads">MaxSpareThreads</a></code> y&ouml;nergeleri ile belirtilen sınırlar
      dahilinde kalmak &uuml;zere gerektiğinde s&uuml;re&ccedil;leri &ouml;ld&uuml;rerek gerektiğinde
      yenilerini devreye alarak t&uuml;m s&uuml;re&ccedil;lerdeki toplam evre sayısını sabit
      tutmaya &ccedil;alışır. Bu işlem kendiliğinden &ccedil;ok iyi y&uuml;r&uuml;d&uuml;ğ&uuml;nden bu
      y&ouml;nergelere &ouml;ntanımlı değerlerinden farklı değerlerin atanması nadiren
      gerekli olur. Aynı anda hizmet sunulabilecek istemcilerin sayısı (yani,
      t&uuml;m s&uuml;re&ccedil;lerin toplam evre sayısı) <code class="directive"><a href="../mod/mpm_common.html#maxrequestworkers">MaxRequestWorkers</a></code> y&ouml;nergesi ile belirlenir. Etkin &ccedil;ocuk
      s&uuml;re&ccedil;lerin sayısı ise <code class="directive"><a href="../mod/mpm_common.html#maxrequestworkers">MaxRequestWorkers</a></code> y&ouml;nergesindeki değerin <code class="directive"><a href="../mod/mpm_common.html#threadsperchild">ThreadsPerChild</a></code> y&ouml;nergesindeki değere
      b&ouml;l&uuml;nmesi ile elde edilir.</p>

    <p>Bu iki y&ouml;nerge aynı anda etkin olabilecek &ccedil;ocuk s&uuml;re&ccedil;lerin ve her
      &ccedil;ocuk s&uuml;re&ccedil;teki sunucu evreleri sayısının &uuml;st sınırını belirler ve bu
      sınır sadece ana sunucu tamamen durdurulup yeniden başlatılarak
      değiştirilebilir. <code class="directive"><a href="../mod/mpm_common.html#serverlimit">ServerLimit</a></code> y&ouml;nergesinin değeri etkin &ccedil;ocuk s&uuml;re&ccedil;
      sayısının &uuml;st sınırı olup <code class="directive"><a href="../mod/mpm_common.html#maxrequestworkers">MaxRequestWorkers</a></code> y&ouml;nergesindeki değerin <code class="directive"><a href="../mod/mpm_common.html#threadsperchild">ThreadsPerChild</a></code> y&ouml;nergesindeki değere
      b&ouml;l&uuml;nmesi ile elde değere eşit veya bundan k&uuml;&ccedil;&uuml;k olması gerekir.
      <code class="directive"><a href="../mod/mpm_common.html#threadlimit">ThreadLimit</a></code> y&ouml;nergesinin
      değeri ise sunucu evreleri sayısının &uuml;st sınırını belirler ve <code class="directive"><a href="../mod/mpm_common.html#threadsperchild">ThreadsPerChild</a></code> y&ouml;nergesindeki değerden
      b&uuml;y&uuml;k veya ona eşit olması gerekir.</p>

    <p>Sonlandırma sırasında etkin &ccedil;ocuk s&uuml;re&ccedil;lere ek olarak mevcut istemci
      bağlantılarını işleme sokmaya &ccedil;alışan tek bir sunucu evresinden başka
      fazladan bir &ccedil;ocuk s&uuml;re&ccedil; etkin kalabileceği gibi sonlandırılacak s&uuml;re&ccedil;
      sayısının en fazla <code class="directive"><a href="../mod/mpm_common.html#maxrequestworkers">MaxRequestWorkers</a></code> olması gerekirse de ger&ccedil;ekte sayı bundan
      k&uuml;&ccedil;&uuml;k olabilir.  Ş&ouml;yle bir işlemle tek bir &ccedil;ocuk s&uuml;recin sonlandırılması
      iptal edilerek bu gibi durumlara karşı &ouml;nlem alınabilir:</p>

    <ul>
      <li><code class="directive"><a href="../mod/mpm_common.html#maxconnectionsperchild">MaxConnectionsPerChild</a></code>
        y&ouml;nergesinin değeri sıfır yapılır.</li>

      <li><code class="directive"><a href="../mod/mpm_common.html#maxsparethreads">MaxSpareThreads</a></code> ve
        <code class="directive"><a href="../mod/mpm_common.html#maxrequestworkers">MaxRequestWorkers</a></code>
        y&ouml;nergelerinin değerleri birbirine eşitlenir.</li>
    </ul>

    <p><code class="module"><a href="../mod/worker.html">worker</a></code> mod&uuml;l&uuml;n&uuml;n &ouml;ntanımlı s&uuml;re&ccedil;-evre yapılandırması
      genelde ş&ouml;yledir:</p>

    <pre class="prettyprint lang-config">ServerLimit         16
StartServers         2
MaxRequestWorkers  150
MinSpareThreads     25
MaxSpareThreads     75
ThreadsPerChild     25</pre>


    <p>Unix altında 80. portu dinleyebilmek i&ccedil;in ana s&uuml;recin root tarafından
      &ccedil;alıştırılmış olması gerekirse de &ccedil;ocuk s&uuml;re&ccedil;ler ve evreler Apache
      httpd tarafından daha az yetkili bir kullanıcının aidiyetinde
      &ccedil;alıştırılırlar. Apache httpd'nin &ccedil;ocuk s&uuml;re&ccedil;lerinin kullanıcı ve
      gruplarını ayarlamak i&ccedil;in <code class="directive"><a href="../mod/mod_unixd.html#user">User</a></code>
      ve <code class="directive"><a href="../mod/mod_unixd.html#group">Group</a></code> y&ouml;nergeleri
      kullanılır.
      &Ccedil;ocuk s&uuml;re&ccedil;lerin sunacakları i&ccedil;eriği okumaya yetkili olmaları gerekir,
      fakat bu yetkinin m&uuml;mk&uuml;n olduğunca kısıtlı tutulmasına &ccedil;alışılmalıdır.
      Bundan başka, <code class="program"><a href="../programs/suexec.html">suexec</a></code> kullanılmadığı takdirde, bu
      y&ouml;nergeler CGI betikleri tarafından miras alınacak yetkili kullanıcı
      ve grubu da ayarlarlar.</p>

    <p><code class="directive"><a href="../mod/mpm_common.html#maxconnectionsperchild">MaxConnectionsPerChild</a></code>
      y&ouml;nergesi ana sunucunun eski s&uuml;re&ccedil;leri &ouml;ld&uuml;r&uuml;p yenilerini oluşturmayı
      ne kadar sıklıkla yapacağını denetler.</p>

    <p>Bu MPM, g&uuml;rleyen s&uuml;r&uuml; sorunu ortaya &ccedil;ıktığında (genelde &ccedil;ok sayıda
      dinlenen soket varlığında) gelen bağlantılara erişimi dizgileştirmek i&ccedil;in
      <code>mpm-accept</code> muteksini kullanır. Bu muteksin ger&ccedil;eklenimle
      ilgili hususları <code class="directive"><a href="../mod/core.html#mutex">Mutex</a></code> y&ouml;nergesi ile
      yapılandırılabilir. Bu muteks hakkında ek bilgi  i&ccedil;in <a href="../misc/perf-tuning.html">başarımın arttırılması</a>
      belgesine bakınız.</p>

</div>
</div>
<div class="bottomlang">
<p><span>Mevcut Diller: </span><a href="../de/mod/worker.html" hreflang="de" rel="alternate" title="Deutsch">&nbsp;de&nbsp;</a> |
<a href="../en/mod/worker.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
<a href="../fr/mod/worker.html" hreflang="fr" rel="alternate" title="Fran&ccedil;ais">&nbsp;fr&nbsp;</a> |
<a href="../ja/mod/worker.html" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a> |
<a href="../tr/mod/worker.html" title="T&uuml;rk&ccedil;e">&nbsp;tr&nbsp;</a></p>
</div><div id="footer">
<p class="apache">Copyright 2026 The Apache Software Foundation.<br><a href="https://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a> altında lisanslıdır.</p>
<p class="menu"><a href="../mod/">Mod&uuml;ller</a> | <a href="../mod/quickreference.html">Y&ouml;nergeler</a> | <a href="https://cwiki.apache.org/confluence/display/httpd/FAQ">SSS</a> | <a href="../glossary.html">Terimler</a> | <a href="../sitemap.html">Site Haritası</a> | <a href="https://bz.apache.org/bugzilla/enter_bug.cgi?product=Apache%20httpd-2">Hata bildir</a></p></div><script><!--//--><![CDATA[//><!--
if (typeof(prettyPrint) !== 'undefined') {
    prettyPrint();
}
var langToggle = document.querySelector('.lang-toggle');
var topLang = document.querySelector('.toplang');
if (langToggle && topLang) {
    langToggle.addEventListener('click', function() { topLang.classList.toggle('open'); });
}
var qv = document.getElementById('quickview');
if (qv) {
    document.body.appendChild(qv);
    var qvBtn = document.createElement('button');
    qvBtn.className = 'qv-toggle';
    qvBtn.setAttribute('aria-label', 'Toggle page navigation');
    qvBtn.innerHTML = '&#9776;';
    document.body.appendChild(qvBtn);
    qvBtn.addEventListener('click', function() {
        var isOpen = qv.classList.toggle('open');
        if (isOpen) {
            qv.style.top = window.scrollY + 10 + 'px';
        }
    });
    window.addEventListener('scroll', function() { qv.classList.remove('open'); });
}
//--><!]]></script>
</body></html>