myzhan
myzhan
You can complie lua-cjson by youself and get a file named cjson.so. Then put it under the same folder with wrk executable and require("cjson") in lua code. By default, luajit...
The CPU percentage is intentionally normalized by CPU count, to match the behavior of locust. Do you think we need to change this?
Because locust can't make use of multiple cores with gevent, so the CPU percentage collected by locust won't go beyond 100% most of the time.
How can I reproduce this issue?
I can't reproduce while spawning jobs(1 user at 1.0 spawn rate) using OpenJDK.
You can try to print out the messages sent by locust here, https://github.com/myzhan/locust4j/blob/24d6c68e1baf9e10dfe4864beee7a03ef73b6229/src/main/java/com/github/myzhan/locust4j/runtime/Runner.java#L295
你试过了吗?问题是什么?
按照 build 章节装了依赖还是不行吗
你把问题描述清楚吧,这样说不行,没有任何帮助。
这个就是系统上 pcap 依赖没装好。你按照 ld 的提示,装上那些依赖。