<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>2010/09/19 on Yano&#39;s digital garage</title>
    <link>https://www.bravotouring.com/~yano/archives/2010/09/19/</link>
    <description>Recent content in 2010/09/19 on Yano&#39;s digital garage</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 19 Sep 2010 21:52:42 +0900</lastBuildDate>
    <atom:link href="https://www.bravotouring.com/~yano/archives/2010/09/19/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>ServersMan@VPS</title>
      <link>https://www.bravotouring.com/~yano/diary/it/20100919vps.htm</link>
      <pubDate>Sun, 19 Sep 2010 21:52:42 +0900</pubDate>
      <guid>https://www.bravotouring.com/~yano/diary/it/20100919vps.htm</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://www.bravotouring.com/~yano/diary/it/20100913vps.htm&#34;&gt;13日&lt;/a&gt;に書いた&lt;a href=&#34;http://dream.jp/&#34;&gt;DTI&lt;/a&gt;の仮想サーバーサービス&lt;a href=&#34;http://dream.jp/vps/&#34;&gt;ServersMan@VPS&lt;/a&gt;の続き。&lt;/p&gt;&#xA;&lt;p&gt;&lt;span class=&#34;Warning&#34;&gt;rewriteがうまくいってない&lt;/span&gt;っぽいというところで行き詰まっていたのだが、それ以前に&lt;span class=&#34;Path&#34;&gt;.htaccess&lt;/span&gt;が効いていない事に気付いたので、&lt;span class=&#34;Path&#34;&gt;/etc/httpd/conf/httpd.conf&lt;/span&gt;に&lt;blockquote class=&#34;Log&#34;&gt;&lt;Directory /home/*/public_html&gt;&lt;br/&gt;    AllowOverride All&lt;br/&gt;&lt;/Directory&gt;&lt;/blockquote&gt;を設定することで解決した。&lt;/p&gt;&#xA;&lt;p&gt;&lt;public_html&gt;の設定は最初にUserDirディレクティブと一緒にやったはずだったが、何かの契機でundoしてしまったのかなぁ。&lt;/p&gt;&#xA;&lt;p&gt;一通り落ち着いたところで&lt;span class=&#34;Software&#34;&gt;ApacheBench&lt;/span&gt;をやってみたところ、結果は以下の通り。&#xA;&lt;blockquote class=&#34;Log&#34;&gt;[yano@vps ~]$ ab -n 100 -c 10 http://localhost/~yano/&lt;br/&gt;&#xA;This is ApacheBench, Version 2.0.40-dev &lt;$Revision: 1.146 $&gt; apache-2.0&lt;br/&gt;&#xA;Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/&lt;br/&gt;&#xA;Copyright 2006 The Apache Software Foundation, http://www.apache.org/&lt;br/&gt;&#xA;&lt;br/&gt;&#xA;Benchmarking localhost (be patient).....done&lt;br/&gt;&#xA;&lt;br/&gt;&#xA;&lt;br/&gt;&#xA;Server Software:        Apache/2.2.3&lt;br/&gt;&#xA;Server Hostname:        localhost&lt;br/&gt;&#xA;Server Port:            80&lt;br/&gt;&#xA;&lt;br/&gt;&#xA;Document Path:          /~yano/&lt;br/&gt;&#xA;Document Length:        34657 bytes&lt;br/&gt;&#xA;&lt;br/&gt;&#xA;Concurrency Level:      10&lt;br/&gt;&#xA;Time taken for tests:   17.903715 seconds&lt;br/&gt;&#xA;Complete requests:      100&lt;br/&gt;&#xA;Failed requests:        0&lt;br/&gt;&#xA;Write errors:           0&lt;br/&gt;&#xA;Total transferred:      3494200 bytes&lt;br/&gt;&#xA;HTML transferred:       3465700 bytes&lt;br/&gt;&#xA;&lt;span class=&#34;Topics&#34;&gt;Requests per second:    5.59 [#/sec] (mean)&lt;br/&gt;&#xA;Time per request:       1790.372 [ms] (mean)&lt;br/&gt;&#xA;Time per request:       179.037 [ms] (mean, across all concurrent requests)&lt;br/&gt;&lt;/span&gt;&#xA;Transfer rate:          190.57 [Kbytes/sec] received&lt;br/&gt;&#xA;&lt;br/&gt;&#xA;Connection Times (ms)&lt;br/&gt;&#xA;              min  mean[+/-sd] median   max&lt;br/&gt;&#xA;Connect:        0    6  19.8      0      69&lt;br/&gt;&#xA;Processing:    68 1738 1806.5   1341   10602&lt;br/&gt;&#xA;Waiting:        0 1670 1817.4   1192   10597&lt;br/&gt;&#xA;Total:         69 1744 1802.0   1341   10602&lt;br/&gt;&#xA;&lt;br/&gt;&#xA;&lt;span class=&#34;Strong&#34;&gt;Percentage of the requests served within a certain time (ms)&lt;/span&gt;&lt;br/&gt;&#xA;  50%   1341&lt;br/&gt;&#xA;  66%   1723&lt;br/&gt;&#xA;  75%   2041&lt;br/&gt;&#xA;  80%   2349&lt;br/&gt;&#xA;  90%   2732&lt;br/&gt;&#xA;&lt;span class=&#34;Warning&#34;&gt;  95%   7503&lt;br/&gt;&#xA;  98%   9350&lt;br/&gt;&#xA;  99%  10602&lt;br/&gt;&#xA; 100%  10602 (longest request)&lt;br/&gt;&lt;/span&gt;&#xA;[yano@vps ~]$&lt;/blockquote&gt;&#xA;&lt;span class=&#34;Strong&#34;&gt;&#34;Percentage of the requests served within a certain time (ms)&#34;&lt;/span&gt;を診ると75％は2秒以内に応答できているようだが、最後の5%は7.5秒以上かかっているというのが気になる。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
