Temat: nginx vs apache
i sesje udalo sie naprostwac.
Zrobilismy kolejny strestest, dociazylismy sie na 3 minuty i zakonczylismy test. Jednak 5 minut po zakonczeniu testu top wciaz pokazuje mase procesow obciazajacych:
12430 vu10002 20 0 130m 8600 3456 R 19 0.2 0:01.99 php-cgi
12471 vu10002 20 0 130m 8716 3316 R 18 0.2 0:00.66 php-cgi
10796 vu10002 20 0 130m 9.9m 4688 R 17 0.3 0:12.75 php-cgi
12310 vu10002 20 0 130m 9916 4500 R 17 0.2 0:02.07 php-cgi
12204 vu10002 20 0 130m 8688 3460 R 17 0.2 0:06.22 php-cgi
12335 vu10002 20 0 130m 9152 3952 R 17 0.2 0:02.10 php-cgi
12397 vu10002 20 0 130m 9.9m 4656 R 17 0.2 0:02.70 php-cgi
12327 vu10002 20 0 194m 9.9m 4640 R 16 0.2 0:03.66 php-cgi
4340 mysql 20 0 1021m 197m 5188 S 16 5.0 3:38.05 mysqld
12133 vu10002 20 0 130m 10m 4824 R 16 0.3 0:03.58 php-cgi
12360 vu10002 20 0 194m 8856 3480 R 16 0.2 0:02.09 php-cgi
12054 vu10002 20 0 138m 31m 16m R 16 0.8 0:05.97 php-cgi
12221 vu10002 20 0 128m 8660 3504 R 15 0.2 0:05.74 php-cgi
12417 vu10002 20 0 128m 8828 3472 R 15 0.2 0:01.43 php-cgi
11471 vu10002 20 0 193m 8228 3556 S 15 0.2 0:07.90 php-cgi
12412 vu10002 20 0 129m 8432 3232 S 15 0.2 0:01.42 php-cgi
12201 vu10002 20 0 193m 8468 3544 S 14 0.2 0:05.69 php-cgi
12454 vu10002 20 0 130m 8364 3264 R 12 0.2 0:00.37 php-cgi
12355 vu10002 20 0 129m 8488 3284 S 11 0.2 0:02.93 php-cgi
12331 vu10002 20 0 127m 7852 3448 S 11 0.2 0:02.15 php-cgi
11495 vu10002 20 0 127m 8200 3544 S 9 0.2 0:07.31 php-cgi
12422 vu10002 20 0 193m 7888 3444 S 8 0.2 0:02.16 php-cgi
11524 vu10002 20 0 128m 8816 3512 R 8 0.2 0:07.30 php-cgi
12263 vu10002 20 0 130m 9968 4640 R 8 0.2 0:03.18 php-cgi
9755 vu10002 20 0 130m 9.9m 4720 R 7 0.2 0:15.65 php-cgi
9572 vu10002 20 0 130m 10m 5216 R 6 0.3 0:16.74 php-cgi
12447 root 20 0 21064 3036 1136 S 6 0.1 0:01.85 htop
12356 vu10002 20 0 130m 9880 4504 R 5 0.2 0:03.12 php-cgi
12466 vu10002 20 0 127m 8096 3096 R 5 0.2 0:00.16 php-cgi
12387 vu10002 20 0 129m 8176 3508 S 5 0.2 0:02.93 php-cgi
12392 vu10002 20 0 130m 9896 4648 R 3 0.2 0:01.58 php-cgi
7591 vu10007 20 0 133m 28m 19m S 1 0.7 0:03.41 php-cgi
12434 vu10002 20 0 193m 7872 3448 S 1 0.2 0:01.45 php-cgi
11375 vu10002 20 0 129m 9324 4624 S 1 0.2 0:09.85 php-cgi
7592 vu10007 20 0 131m 22m 16m S 1 0.6 0:03.24 php-cgi
wedlug licznika gosci, wzrosl ich poziom do okolo 2560 sztuk w trakcie testu. Strona odswierzala sie okolo 15 sek. Nie gubil sie ale zamulal.
Kawalek krotkiego testu:
Benchmarking
http://rwm.org.pl (be patient)
Finished 59 requests
Server Software: Apache
Server Hostname:
http://rwm.org.pl
Server Port: 80
Document Path: /
Document Length: 29642 bytes
Concurrency Level: 10
Time taken for tests: 30.069 seconds
Complete requests: 59
Failed requests: 51
(Connect: 0, Receive: 0, Length: 51, Exceptions: 0)
Write errors: 0
Keep-Alive requests: 0
Total transferred: 1764659 bytes
HTML transferred: 1749260 bytes
Requests per second: 1.96 [#/sec] (mean)
Time per request: 5096.441 [ms] (mean)
Time per request: 509.644 [ms] (mean, across all concurrent requests)
Transfer rate: 57.31 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.4 0 1
Processing: 3829 4823 336.3 4855 5439
Waiting: 3829 4823 336.3 4855 5439
Total: 3830 4823 336.1 4855 5439
Percentage of the requests served within a certain time (ms)
50% 4852
66% 4974
75% 5026
80% 5057
90% 5275
95% 5417
98% 5425
99% 5439
100% 5439 (longest request)
Co moga robic te procesy po tym jak test sie zakoczyl, i czemu zdychaja pomalu przez 20 minut a nie gina odrazu ?