When using processes = -1 in the locust.conf file and 12 or more workers are running, the logfile is getting crushed by all the simultaneous writes. Data is being inserted in the middle of writes from other workers, and a lot of missing newlines.
I'm guessing you wouldn't want workers to write to the csv file at all and only have the master do it? I've added a fix for that, feel free to try it out.
Prerequisites
Description
When using processes = -1 in the locust.conf file and 12 or more workers are running, the logfile is getting crushed by all the simultaneous writes. Data is being inserted in the middle of writes from other workers, and a lot of missing newlines.
Command line
locust
Locustfile contents
Python version
3.10
Locust version
2.31.8
Operating system
Ubuntu 22.04