性能测试工具 locust 1.1 如何解决这个警告 System open file limit setting is not high enough for load testing, and the OS wouldnt allow locust to increase it by itself.

jiawei.li · 2020年07月02日 · 最后由 jiawei.li 回复于 2020年08月04日 · 155 次阅读

(locust) D:\locust_api>locust -f hr-Π_3.7.py
[2020-07-02 12:59:19,842] DESKTOP-GJ5P4I8/WARNING/locust.main: System open file limit setting is not high enough for load testing, and the OS wouldnt allow
locust to increase it by itself. See https://docs.locust.io/en/stable/installation.html#increasing-maximum-number-of-open-files-limit for more info.
[2020-07-02 12:59:19,842] DESKTOP-GJ5P4I8/INFO/locust.main: Starting web interface at http://:8089
[2020-07-02 12:59:19,848] DESKTOP-GJ5P4I8/INFO/locust.main: Starting Locust 1.1
[2020-07-02 13:01:34,696] DESKTOP-GJ5P4I8/INFO/locust.runners: Hatching and swarming 10 users at the rate 2 users/s (0 users already running)...

目前 运行完之后 结果是空的 如图

如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
共收到 4 条回复 时间 点赞

没听过 windows 还有这种限制。。

恒温 回复

大佬,这个怎么搞啊

楼主解决了吗?怎么解决的啊

xxijun 回复

没,我降级了,换个版本用

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册