Open serg-music opened 2 years ago
v0.8.23 introduced this commit which increases OS limit on connections open by a program to its maximum. This boosts performance quite significantly on some systems but it may be that macos can't properly handle that many connections. I'd try removing that --scale argument from your commandline first and see if it helps (default limit for open connection on mac seems to be 256 and if that's the case then just scaling it on previous versions wouldn't really help as once you reach that limit all new jobs would just fail to open connections and waste your cpu cycles)
removing --scale helped. No more crashes. However, it blocks me from using whole network bandwidth.
The issue blocks my hardware configuration from using --scale.
@serg-music https://stackoverflow.com/questions/7578594/how-to-increase-limits-on-sockets-on-osx-for-load-testing try this, should help.
Expected Behavior
No crash
Actual Behavior
MacOS hangs and reboot after a while of using db1000n
Steps to Reproduce the Problem
Specifications
Cannot reproduce on 0.8.22