ServersMan@VPS
13日に書いたDTIの仮想サーバーサービスServersMan@VPSの続き。
rewriteがうまくいってないっぽいというところで行き詰まっていたのだが、それ以前に.htaccessが効いていない事に気付いたので、/etc/httpd/conf/httpd.confに
を設定することで解決した。
AllowOverride All
一通り落ち着いたところでApacheBenchをやってみたところ、結果は以下の通り。
[yano@vps ~]$ ab -n 100 -c 10 http://localhost/~yano/"Percentage of the requests served within a certain time (ms)"を診ると75%は2秒以内に応答できているようだが、最後の5%は7.5秒以上かかっているというのが気になる。
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient).....done
Server Software: Apache/2.2.3
Server Hostname: localhost
Server Port: 80
Document Path: /~yano/
Document Length: 34657 bytes
Concurrency Level: 10
Time taken for tests: 17.903715 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 3494200 bytes
HTML transferred: 3465700 bytes
Requests per second: 5.59 [#/sec] (mean)
Time per request: 1790.372 [ms] (mean)
Time per request: 179.037 [ms] (mean, across all concurrent requests)
Transfer rate: 190.57 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 6 19.8 0 69
Processing: 68 1738 1806.5 1341 10602
Waiting: 0 1670 1817.4 1192 10597
Total: 69 1744 1802.0 1341 10602
Percentage of the requests served within a certain time (ms)
50% 1341
66% 1723
75% 2041
80% 2349
90% 2732
95% 7503
98% 9350
99% 10602
100% 10602 (longest request)
[yano@vps ~]$