[Cppcms-users] cppcms gave 0 response in benchmarkng
Brought to you by:
artyom-beilis
|
From: Andy <ang...@ya...> - 2013-05-17 12:53:04
|
I installed cppcms and compiled the "hello world" example in cppcms-1.0.3/examples/hello_world using c++ hello.cpp -lcppcms -o hello I then started the server with ./hello -c config.js I pointed my browser to localhost:8080/hello and saw the "Hello World" message. So far so good. Then I tried to benchmark cppcms using wrk (https://github.com/wg/wrk). I ran wrk -t2 -c10 -d30 http://localhost:8080/hello and got this result: Running 30s test @ http://localhost:8080/hello 2 threads and 10 connections Thread Stats Avg Stdev Max +/- Stdev Latency 0.00us 0.00us 0.00us 100.00% Req/Sec 0.00 0.00 0.00 100.00% 0 requests in 32.00s, 159.23MB read Socket errors: connect 0, read 878747, write 0, timeout 0 Requests/sec: 0.00 Transfer/sec: 4.98MB It reported 0.00 req/sec. I use wrk on other servers and it works fine for those servers. What is causing the problem here? |