Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--headful params #20

Open
waitingSunset opened this issue Jun 28, 2024 · 0 comments
Open

--headful params #20

waitingSunset opened this issue Jun 28, 2024 · 0 comments

Comments

@waitingSunset
Copy link

waitingSunset commented Jun 28, 2024

i use
swarm --headful -f locustfile.py --loadgen-list 10.20.254.1,10.20.254.2--processes -1

[swarm.py:545] launching master: locust --master --master-bind-port 5557 --master-bind-host=127.0.0.1 --expect-workers -2 --expect-workers-max-wait 60 --headless -f locustfile.py --exit-code-on-error 0 --headful

[swarm.py:400] workers started ssh -q -R 5557:localhost:5557 -R 5558:localhost:5558 10.20.254.1' PYTHONUNBUFFERED=1 locust --worker --processes -1 --master-port 5557 --headless --expect-workers-max-wait 30 -f - & read; kill -9 $! '
result:
/ERROR/locust.main: Invalid --expect-workers argument (-2), must be a positive number

i think --headful with --processes -1 not replace --headless

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant