fpbenchmark icon indicating copy to clipboard operation
fpbenchmark copied to clipboard

bench error

Open 5HT opened this issue 11 years ago • 4 comments

command> =ERROR REPORT==== 10-Jan-2013::18:19:27 === Error in process <0.2795.0> with exit value: {badarg,[{erlang,size,[undefined],[]},{bench_sh__escript__1357__834766__505600,loop_worker,2,[{file,"./bench.sh"},{line,157}]}]}

command> =ERROR REPORT==== 10-Jan-2013::18:19:27 === Error in process <0.2796.0> with exit value: {badarg,[{erlang,size,[undefined],[]},{bench_sh__escript__1357__834766__505600,loop_worker,2,[{file,"./bench.sh"},{line,157}]}]}

вот такие у меня ошибки :)

5HT avatar Jan 10 '13 16:01 5HT

А чего такое bench.sh?

На какой урл натравливаешь? То, что у тебя вываливается, говорит о том, что нет Content-Length или chunked

maxlapshin avatar Jan 10 '13 16:01 maxlapshin

Ну я скрипты просто всегда sh называю, там твой файл. На нодежс натравил ./bench.sh http://localhost:1337/ out.csv

5HT avatar Jan 10 '13 16:01 5HT

Что у тебя отвечает на этом порту?

curl -D - http://localhost:1337/

On Jan 10, 2013, at 8:25 PM, Namdak Tonpa wrote:

./bench.sh http://localhost:1337/ out.csv

— Reply to this email directly or view it on GitHub.

maxlapshin avatar Jan 10 '13 16:01 maxlapshin

maxim@rigdzin:~/synrc/maxbench$ curl -D - http://localhost:1337/ HTTP/1.1 200 OK Content-Type: text/plain Date: Thu, 10 Jan 2013 16:27:57 GMT Connection: keep-alive Transfer-Encoding: chunked

Hello World

5HT avatar Jan 10 '13 16:01 5HT