summaryrefslogtreecommitdiff
path: root/docs/manual/misc/perf-tuning.html.tr.utf8
diff options
context:
space:
mode:
Diffstat (limited to 'docs/manual/misc/perf-tuning.html.tr.utf8')
-rw-r--r--docs/manual/misc/perf-tuning.html.tr.utf850
1 files changed, 17 insertions, 33 deletions
diff --git a/docs/manual/misc/perf-tuning.html.tr.utf8 b/docs/manual/misc/perf-tuning.html.tr.utf8
index 537c486f..2436f8e3 100644
--- a/docs/manual/misc/perf-tuning.html.tr.utf8
+++ b/docs/manual/misc/perf-tuning.html.tr.utf8
@@ -9,7 +9,7 @@
<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.js" type="text/javascript">
+<script src="../style/scripts/prettify.min.js" type="text/javascript">
</script>
<link href="../images/favicon.ico" rel="shortcut icon" /></head>
@@ -142,12 +142,10 @@
<code>.cgi</code> dosyalarına yapılan istekler hariç DNS sorguları
iptal edilmektedir:</p>
- <pre class="prettyprint lang-config">
-HostnameLookups off
+ <pre class="prettyprint lang-config">HostnameLookups off
&lt;Files ~ "\.(html|cgi)$"&gt;
HostnameLookups on
-&lt;/Files&gt;
- </pre>
+&lt;/Files&gt;</pre>
<p>Yine de bazı CGI’lerin DNS isimlerine ihtiyacı olursa bu CGI’lerin
@@ -167,12 +165,10 @@ HostnameLookups off
bağın üzerinde bazı sınamalar yapmak için ek bir sistem çağrısından
başka istenen her dosya için de ayrı bir çağrı yapacaktır.</p>
- <pre class="prettyprint lang-config">
-DocumentRoot /siteler/htdocs
+ <pre class="prettyprint lang-config">DocumentRoot /siteler/htdocs
&lt;Directory /&gt;
Options SymLinksIfOwnerMatch
-&lt;/Directory&gt;
- </pre>
+&lt;/Directory&gt;</pre>
<p>Bu durumda <code>/index.html</code> için bir istek yapıldığında
@@ -183,16 +179,14 @@ DocumentRoot /siteler/htdocs
yinelenecektir. Amacınız gerçekten sembolik bağları güvenlik
açısından sınamaksa bunu şöyle yapabilirsiniz:</p>
- <pre class="prettyprint lang-config">
-DocumentRoot /siteler/htdocs
+ <pre class="prettyprint lang-config">DocumentRoot /siteler/htdocs
&lt;Directory /&gt;
Options FollowSymLinks
&lt;/Directory&gt;
&lt;Directory /siteler/htdocs&gt;
Options -FollowSymLinks +SymLinksIfOwnerMatch
-&lt;/Directory&gt;
- </pre>
+&lt;/Directory&gt;</pre>
<p>Böylece <code class="directive"><a href="../mod/core.html#documentroot">DocumentRoot</a></code> altındaki
@@ -216,12 +210,10 @@ DocumentRoot /siteler/htdocs
her dosya bileşeni için bu <code>.htaccess</code> dosyalarını açmaya
çalışacaktır.</p>
- <pre class="prettyprint lang-config">
-DocumentRoot /siteler/htdocs
+ <pre class="prettyprint lang-config">DocumentRoot /siteler/htdocs
&lt;Directory /&gt;
AllowOverride all
-&lt;/Directory&gt;
- </pre>
+&lt;/Directory&gt;</pre>
<p>Bu durumda <code>/index.html</code> sayfasına yapılan bir istek için
@@ -248,9 +240,7 @@ DocumentRoot /siteler/htdocs
<p>Yukarıdaki gibi bir dosya ismi kalıbı kullanmak yerine, aşağıdaki
gibi seçenekleri tam bir liste halinde belirtin:</p>
- <pre class="prettyprint lang-config">
-DirectoryIndex index.cgi index.pl index.shtml index.html
- </pre>
+ <pre class="prettyprint lang-config">DirectoryIndex index.cgi index.pl index.shtml index.html</pre>
<p>Buradaki sıralama öncelik sırasını belirler; yani,
@@ -578,8 +568,7 @@ DirectoryIndex index.cgi index.pl index.shtml index.html
bağlantılar denenebilir. Gerçekte çalışan kod bu olmasa da meramımızı
anlatmak için kodun şöyle bir şey olduğunu varsayabiliriz:</p>
- <pre class="prettyprint lang-c">
- for (;;) {
+ <pre class="prettyprint lang-c"> for (;;) {
for (;;) {
fd_set accept_fds;
@@ -599,8 +588,7 @@ DirectoryIndex index.cgi index.pl index.shtml index.html
if (new_connection != -1) break;
}
process_the(new_connection);
- }
- </pre>
+ }</pre>
<p>Bu özet gerçeklenim bir takım açlık sorunlarına sebep olur. Bu
@@ -638,8 +626,7 @@ DirectoryIndex index.cgi index.pl index.shtml index.html
bir iç döngüde sıraya sokmaktır. Döngü aşağıda örneklenmiştir (farklar
vurgulanmıştır):</p>
- <pre class="prettyprint lang-c">
- for (;;) {
+ <pre class="prettyprint lang-c"> for (;;) {
<strong>accept_mutex_on ();</strong>
for (;;) {
fd_set accept_fds;
@@ -661,8 +648,7 @@ DirectoryIndex index.cgi index.pl index.shtml index.html
}
<strong>accept_mutex_off ();</strong>
process the new_connection;
- }
- </pre>
+ }</pre>
<p><code>accept_mutex_on</code> ve <code>accept_mutex_off</code> <a id="serialize" name="serialize">işlevleri</a> bir karşılıklı red
@@ -763,8 +749,7 @@ DirectoryIndex index.cgi index.pl index.shtml index.html
<code>lingering_close</code> adında bir işlevle gerçekler. Bu işlev
kabaca şöyle görünür:</p>
- <pre class="prettyprint lang-c">
- void lingering_close (int s)
+ <pre class="prettyprint lang-c"> void lingering_close (int s)
{
char junk_buffer[2048];
@@ -786,8 +771,7 @@ DirectoryIndex index.cgi index.pl index.shtml index.html
}
close (s);
- }
- </pre>
+ }</pre>
<p>Bağlantı sonunda bu doğal olarak biraz daha masrafa yol açar, fakat
@@ -1026,7 +1010,7 @@ var comments_identifier = 'http://httpd.apache.org/docs/2.4/misc/perf-tuning.htm
}
})(window, document);
//--><!]]></script></div><div id="footer">
-<p class="apache">Copyright 2013 The Apache Software Foundation.<br /><a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a> altında lisanslıdır.</p>
+<p class="apache">Copyright 2014 The Apache Software Foundation.<br /><a href="http://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üller</a> | <a href="../mod/directives.html">Yönergeler</a> | <a href="http://wiki.apache.org/httpd/FAQ">SSS</a> | <a href="../glossary.html">Terimler</a> | <a href="../sitemap.html">Site Haritası</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!--
if (typeof(prettyPrint) !== 'undefined') {
prettyPrint();